Package init
This commit is contained in:
commit
f2d11a98b7
BIN
Pod-Simple-3.35.tar.gz
Normal file
BIN
Pod-Simple-3.35.tar.gz
Normal file
Binary file not shown.
52
perl-Pod-Simple.spec
Normal file
52
perl-Pod-Simple.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: perl-Pod-Simple
|
||||
Epoch: 1
|
||||
Version: 3.35
|
||||
Release: 418
|
||||
Summary: The framework for parsing Pod
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Pod-Simple
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/Pod-Simple-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl coreutils make findutils perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(vars)
|
||||
BuildRequires: perl(strict) perl(Carp) perl(Config) perl(Cwd) perl(Encode) perl(File::Basename) perl(File::Spec)
|
||||
BuildRequires: perl(Getopt::Long) perl(integer) perl(overload) perl(Pod::Escapes) perl(Symbol) perl(Text::Wrap) perl(warnings)
|
||||
BuildRequires: perl(base) perl(Data::Dumper) perl(File::Find) perl(File::Path) perl(lib) perl(Test) perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Pod::Simple is a Perl library for parsing text in the Pod ("plain old documentation")
|
||||
markup language that is typically used for writing documentation for Perl and for Perl
|
||||
modules. The Pod format is explained in perlpod; the most common formatter is called
|
||||
perldoc.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Pod-Simple-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:3.35:418
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user