Import
This commit is contained in:
parent
ec6511f7b6
commit
229f09e4ca
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/experimental-0.003.tar.gz
|
50
perl-experimental.spec
Normal file
50
perl-experimental.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
Name: perl-experimental
|
||||||
|
Version: 0.003
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Experimental features made easy
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/experimental/
|
||||||
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/experimental-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(Module::Build::Tiny) >= 0.019
|
||||||
|
# Run-time:
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
# feature is optional
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Tests:
|
||||||
|
BuildRequires: perl(File::Find)
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.89
|
||||||
|
# Optional tests:
|
||||||
|
BuildRequires: perl(Test::Script) >= 1.05
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
This pragma provides an easy and convenient way to enable or disable
|
||||||
|
experimental features.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n experimental-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL --installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed May 29 2013 Petr Pisar <ppisar@redhat.com> 0.003-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user