Package init
This commit is contained in:
commit
9df43eb3e7
BIN
Devel-PPPort-3.42.tar.gz
Normal file
BIN
Devel-PPPort-3.42.tar.gz
Normal file
Binary file not shown.
55
perl-Devel-PPPort.spec
Normal file
55
perl-Devel-PPPort.spec
Normal file
@ -0,0 +1,55 @@
|
||||
Name: perl-Devel-PPPort
|
||||
Version: 3.42
|
||||
Release: 4
|
||||
Summary: Perl Pollution Portability header generator
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Devel-PPPort
|
||||
Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Devel-PPPort-%{version}.tar.gz
|
||||
BuildRequires: findutils gcc make perl-devel perl-generators perl-interpreter perl(ExtUtils::MakeMaker) perl(strict) perl(vars)
|
||||
# For tests:
|
||||
BuildRequires: perl(Config) perl(DynaLoader) perl(File::Path) perl(Tie::Hash) perl(utf8)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Perl's API has changed over time, gaining new features, new functions,
|
||||
increasing its flexibility, and reducing the impact on the C name space
|
||||
environment (reduced pollution). The header file written by this module,
|
||||
typically ppport.h, attempts to bring some of the newer Perl API features
|
||||
to older versions of Perl, so that you can worry less about keeping track
|
||||
of old releases, but users can still reap the benefit.
|
||||
|
||||
%package help
|
||||
Summary: Doc files for %{name}
|
||||
Buildarch: noarch
|
||||
|
||||
%description help
|
||||
The %{name}-help package contains doc files for %{name}.
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%prep
|
||||
%setup -q -n Devel-PPPort-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find '%{buildroot}' -type f -name '*.bs' -exec rm -f {} \;
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes HACKERS soak
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/Devel*
|
||||
|
||||
%files help
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.42-4
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user