commit 782ecfc7c794e2218dcb1f8143cc640bbe1692f9 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Feb 3 06:21:15 2012 +0100 initial import (rhbz#781706) .gitignore | 1 + perl-String-CamelCase.spec | 45 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 47 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..1069289 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/String-CamelCase-0.02.tar.gz diff --git a/perl-String-CamelCase.spec b/perl-String-CamelCase.spec new file mode 100644 index 0000000..198d90c --- /dev/null +++ b/perl-String-CamelCase.spec @@ -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@xxxxxxxxx> 0.02-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..11ce9c5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +74885aa8756fda9ff039c350214a4c09 String-CamelCase-0.02.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel