55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
Name: perl-Pod-LaTeX
|
|
Version: 0.61
|
|
Release: 305
|
|
Summary: A module to convert documentation in the POD format into Latex
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: https://metacpan.org/release/Pod-LaTeX
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TJ/TJENNESS/Pod-LaTeX-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl-interpreter perl-generators perl(File::Spec) perl(Module::Build)
|
|
BuildRequires: perl(strict) perl(warnings) perl(base) perl(Carp) perl(deprecate)
|
|
BuildRequires: perl(if) perl(Pod::ParseUtils) >= 0.3 perl(Pod::Select) perl(vars) perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(deprecate)
|
|
Requires: perl(Pod::ParseUtils) >= 0.3
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::ParseUtils\\)$
|
|
|
|
%description
|
|
Pod::LaTeX is a module to convert documentation in the POD format into
|
|
LaTeX.The pod2latex command uses this module for translation.
|
|
'Pod::LaTeX' is a derived class from Pod::Select.
|
|
|
|
%package help
|
|
Summary: Help doctment for the %{name} package
|
|
|
|
%description help
|
|
Help doctment for the %{name} package.
|
|
|
|
%prep
|
|
%autosetup -n Pod-LaTeX-%{version} -p1
|
|
|
|
%build
|
|
perl Build.PL installdirs=vendor
|
|
./Build
|
|
|
|
%install
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%files
|
|
%{_bindir}/*
|
|
%{perl_vendorlib}/*
|
|
|
|
%files help
|
|
%doc ChangeLog README
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Wed Apr 15 2020 wangyue<wangyue92@huawei.com> - 0.61-305
|
|
- Package init
|