From e11c4ad931b1bb20edfa7d5b26df0266fc89f34b Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 24 Jan 2018 07:37:05 +0100 Subject: [PATCH] Initial import --- .gitignore | 1 + README.md | 3 --- perl-curry.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 perl-curry.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e76f3b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/curry-1.001000.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index d3d6ce8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# perl-curry - -This modules creates automatic curried method call closures for any class or object. \ No newline at end of file diff --git a/perl-curry.spec b/perl-curry.spec new file mode 100644 index 0000000..2741aef --- /dev/null +++ b/perl-curry.spec @@ -0,0 +1,45 @@ +Name: perl-curry +Version: 1.001000 +Release: 1%{?dist} +Summary: Create automatic curried method call closures for any class or object +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/curry/ +Source0: http://www.cpan.org/authors/id/M/MS/MSTROUT/curry-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Scalar::Util) +# Tests +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This modules creates automatic curried method call closures for any class +or object. + +%prep +%setup -q -n curry-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jan 22 2018 Jitka Plesnikova - 1.001000-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..d352b43 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (curry-1.001000.tar.gz) = 1d934ceb64a73784484ac73a529f9f6cdd3cbcaff7175515ddce75bbc7933f2f3105f3a4ef12e33eb82db5792c435e32aae12f64b3e334064db4305910e86d14