Package init
This commit is contained in:
commit
e750a4fca3
BIN
Pod-Checker-1.73.tar.gz
Normal file
BIN
Pod-Checker-1.73.tar.gz
Normal file
Binary file not shown.
58
perl-Pod-Checker.spec
Normal file
58
perl-Pod-Checker.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
%global perl_package_name Pod-Checker
|
||||||
|
|
||||||
|
Name: perl-Pod-Checker
|
||||||
|
Epoch: 4
|
||||||
|
Version: 1.73
|
||||||
|
Release: 397
|
||||||
|
Summary: Check pod documents for syntax errors
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: http://search.cpan.org/dist/Pod-Checker
|
||||||
|
Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/%{perl_package_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: gcc findutils make
|
||||||
|
BuildRequires: perl-interpreter perl-generators
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) perl(Config) perl(Cwd)
|
||||||
|
BuildRequires: perl(File::Basename) perl(File::Spec) perl(base)
|
||||||
|
BuildRequires: perl(Carp) perl(Exporter) perl(Pod::Simple) >= 3.28
|
||||||
|
BuildRequires: perl(Pod::Simple::Methody) perl(strict) perl(warnings)
|
||||||
|
BuildRequires: perl(FileHandle) perl(Test::More) perl(vars)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(perl -V:version | tr -d "[a-z=';]"))
|
||||||
|
Requires: perl(Pod::Simple) >= 3.28
|
||||||
|
|
||||||
|
%description
|
||||||
|
podchecker will perform syntax checking of Perl5 POD format documentation.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Pod-Checker-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 UNINST=0
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc CHANGES README
|
||||||
|
%{_bindir}/*
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man{1/*,3/*}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 4:1.73-397
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:revise requires
|
||||||
|
|
||||||
|
* Wed Sep 04 2019 openEuler Buildtam <buildteam@openeuler.org> - 4:1.73-396
|
||||||
|
- Package Init
|
||||||
Loading…
x
Reference in New Issue
Block a user