parent
7755de2d0f
commit
e11c4ad931
@ -0,0 +1 @@
|
|||||||
|
/curry-1.001000.tar.gz
|
@ -1,3 +0,0 @@
|
|||||||
# perl-curry
|
|
||||||
|
|
||||||
This modules creates automatic curried method call closures for any class or object.
|
|
@ -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 <jplesnik@redhat.com> - 1.001000-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue