2022-10-24 10:50:10 +00:00
|
|
|
%define mod_name HTML-Tagset
|
|
|
|
|
Name: perl-%{mod_name}
|
2019-11-19 11:52:07 +08:00
|
|
|
Version: 3.20
|
2022-10-24 10:50:10 +00:00
|
|
|
Release: 38
|
2019-11-19 11:52:07 +08:00
|
|
|
Summary: HTML::Tagset - data tables useful in parsing HTML
|
|
|
|
|
License: GPL+ or Artistic
|
2022-10-24 10:50:10 +00:00
|
|
|
URL: https://metacpan.org/release/%{mod_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{mod_name}-%{version}.tar.gz
|
2019-11-19 11:52:07 +08:00
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl-generators perl-interpreter perl(:VERSION) >= 5.4
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(strict) perl(vars)
|
|
|
|
|
BuildRequires: perl(Test) perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module contains data tables useful in dealing with HTML.
|
|
|
|
|
It provides no functions or methods.
|
|
|
|
|
|
|
|
|
|
%package help
|
2022-10-24 10:50:10 +00:00
|
|
|
Summary: Documentation for perl-%{mod_name}
|
2019-11-19 11:52:07 +08:00
|
|
|
|
|
|
|
|
%description help
|
2022-10-24 10:50:10 +00:00
|
|
|
Documentation for perl-%{mod_name}.
|
2019-11-19 11:52:07 +08:00
|
|
|
|
|
|
|
|
%prep
|
2022-10-24 10:50:10 +00:00
|
|
|
%autosetup -n %{mod_name}-%{version} -p1
|
2019-11-19 11:52:07 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{perl_vendorlib}/HTML/
|
|
|
|
|
%exclude %{_libdir}/perl5/perllocal.pod
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{_mandir}/man3/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-10-24 10:50:10 +00:00
|
|
|
* Mon Oct 24 2022 yangmingtai <yangmingtai@huawei.com> - 3.20-38
|
|
|
|
|
- define mod_name to opitomize the specfile
|
|
|
|
|
|
2019-11-19 11:52:07 +08:00
|
|
|
* Tue Oct 22 2019 Zaiwang Li <lizaiwang1@huawei.com> - 3.20-37
|
|
|
|
|
- Init Package.
|
|
|
|
|
|