66 lines
1.7 KiB
RPMSpec
66 lines
1.7 KiB
RPMSpec
%global perl_package_name Pod-Checker
|
|
|
|
Name: perl-Pod-Checker
|
|
Epoch: 4
|
|
Version: 1.73
|
|
Release: 398
|
|
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
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc CHANGES README
|
|
%{_bindir}/*
|
|
%{perl_vendorlib}/*
|
|
|
|
%files help
|
|
%{_mandir}/man{1/*,3/*}
|
|
|
|
%changelog
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 4:1.73-398
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:change mod of files
|
|
|
|
* 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
|