parent
a0ac30fad8
commit
782ecfc7c7
@ -0,0 +1 @@
|
|||||||
|
/String-CamelCase-0.02.tar.gz
|
@ -0,0 +1,45 @@
|
|||||||
|
Name: perl-String-CamelCase
|
||||||
|
Version: 0.02
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Convert underscore_text to CamelCase and back
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/String-CamelCase/
|
||||||
|
Source0: http://www.cpan.org/authors/id/H/HI/HIO/String-CamelCase-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module exports two functions to convert underscore_text to CamelCase and
|
||||||
|
back again.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n String-CamelCase-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jan 13 2012 Iain Arnell <iarnell@gmail.com> 0.02-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue