Package init
This commit is contained in:
commit
7c59615799
BIN
experimental-0.020.tar.gz
Normal file
BIN
experimental-0.020.tar.gz
Normal file
Binary file not shown.
54
perl-experimental.spec
Normal file
54
perl-experimental.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
Name: perl-experimental
|
||||||
|
Version: 0.020
|
||||||
|
Release: 2
|
||||||
|
Summary: Experimental features made easy
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: http://search.cpan.org/dist/experimental/
|
||||||
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/experimental-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: make git perl-generators perl-interpreter
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
|
BuildRequires: perl(strict) perl(warnings)
|
||||||
|
BuildRequires: perl(Carp) perl(feature) perl(version)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.89
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(feature)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This pragma provides an easy and convenient way to enable or disable
|
||||||
|
experimental features.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documents for %{name}
|
||||||
|
Buildarch: noarch
|
||||||
|
Requires: man info
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Man pages and other related documents for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n experimental-%{version} -p1 -S git
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%license LICENSE
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 14 2019 guiyao <guiyao@huawei.com> - 0.020-2
|
||||||
|
- Package Init
|
||||||
Loading…
x
Reference in New Issue
Block a user