perl-perlfaq/perl-perlfaq.spec

63 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:13:02 -04:00
%global perl_package_name perlfaq
Name: perl-perlfaq
Version: 5.20180915
2019-12-25 16:02:58 +08:00
Release: 5
2019-09-30 11:13:02 -04:00
Summary: Frequently asked questions about Perl
License: (GPL+ or Artistic) and Public Domain
URL: https://metacpan.org/release/perlfaq
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{perl_package_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gcc git make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Test::Simple)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Conflicts: perl < 4:5.22.0-347
%description
The perlfaq comprises several documents that answer the most commonly asked
questions about Perl and Perl programming.
%package_help
%prep
%autosetup -n %{perl_package_name}-%{version} -S git
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} -c $RPM_BUILD_ROOT
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
2019-12-25 16:02:58 +08:00
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.20180915-5
- Type:NA
- ID:NA
- SUG:NA
- DESC:modify email adress
* Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 5.20180915-4
2019-09-30 11:13:02 -04:00
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise help package
2019-12-25 16:02:58 +08:00
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.20180915-3
2019-09-30 11:13:02 -04:00
- Package Init