commit fd09d4474962fa3fd74ede5571cfbd7a2c9bf5be Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Thu May 3 16:21:21 2012 +0200 Initial packaging. .gitignore | 1 + perl-CPS.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0c8dd86 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CPS-0.14.tar.gz diff --git a/perl-CPS.spec b/perl-CPS.spec new file mode 100644 index 0000000..f88bd9a --- /dev/null +++ b/perl-CPS.spec @@ -0,0 +1,56 @@ +Name: perl-CPS +Version: 0.14 +Release: 2%{?dist} +Summary: CPS Perl module +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CPS/ +Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/CPS-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::Identity) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Refcount) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The functions in this module implement or assist the writing of +programs, or parts of them, in Continuation Passing Style (CPS). +Briefly, CPS is a style of writing code where the normal call/return +mechanism is replaced by explicit "continuations", values passed in to +functions which they should invoke, to implement return behavior. For +more detail on CPS, see the SEE ALSO section. + +%prep +%setup -q -n CPS-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes examples LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu May 3 2012 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 0.14-2 +- fix things mentioned in review #816131 + +* Wed Apr 25 2012 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 0.14-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..5a6920c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +24f2b31705d09a82c7a95f7cb8c6dc69 CPS-0.14.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