Package init
This commit is contained in:
parent
6ffd18e019
commit
d8ba2f4b34
BIN
Pod-LaTeX-0.61.tar.gz
Normal file
BIN
Pod-LaTeX-0.61.tar.gz
Normal file
Binary file not shown.
54
perl-Pod-LaTeX.spec
Normal file
54
perl-Pod-LaTeX.spec
Normal file
@ -0,0 +1,54 @@
|
||||
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
|
||||
4
perl-Pod-LaTeX.yaml
Normal file
4
perl-Pod-LaTeX.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: metacpan
|
||||
src_repo: Pod-LaTeX
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user