45 lines
1.1 KiB
RPMSpec
45 lines
1.1 KiB
RPMSpec
Name: perl-SGMLSpm
|
|
Summary: Perl library for parsing the output of nsgmls
|
|
Version: 1.03ii
|
|
Release: 46
|
|
License: GPLv2+
|
|
URL: https://metacpan.org/release/DMEGG/SGMLSpm-1.03ii
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DM/DMEGG/SGMLSpm-%{version}.tar.gz
|
|
|
|
BuildRequires: perl-interpreter perl-generators
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) openjade
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML
|
|
documents into new formats.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -p1 -n SGMLSpm
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
mkdir -p -m 755 %{buildroot}{%{_bindir},%{perl_vendorlib}}
|
|
%{__make} install_system BINDIR=%{buildroot}%{_bindir} PERL5DIR=%{buildroot}%{perl_vendorlib}
|
|
|
|
%files
|
|
%doc COPYING
|
|
%{_bindir}/sgmlspl
|
|
%{perl_vendorlib}/skel.pl
|
|
%{perl_vendorlib}/SGMLS*
|
|
|
|
%files help
|
|
%doc README
|
|
|
|
%changelog
|
|
* Thu Dec 10 2020 shixuantong<shixuantong@huawei.com> - 1.03ii-46
|
|
- update url in spec
|
|
|
|
* Wed Dec 4 2019 caomeng<caomeng5@huawei.com> - 1.03ii-45
|
|
- Package init |