114 Star 0 Fork 3

src-openEuler / perl-HTML-Tagset

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-HTML-Tagset.spec 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
Mingtai 提交于 2022-10-24 10:50 . define mod_name to opitomize the specfile
%define mod_name HTML-Tagset
Name: perl-%{mod_name}
Version: 3.20
Release: 38
Summary: HTML::Tagset - data tables useful in parsing HTML
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{mod_name}-%{version}.tar.gz
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
Summary: Documentation for perl-%{mod_name}
%description help
Documentation for perl-%{mod_name}.
%prep
%autosetup -n %{mod_name}-%{version} -p1
%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
* Mon Oct 24 2022 yangmingtai <yangmingtai@huawei.com> - 3.20-38
- define mod_name to opitomize the specfile
* Tue Oct 22 2019 Zaiwang Li <lizaiwang1@huawei.com> - 3.20-37
- Init Package.
1
https://gitee.com/src-openeuler/perl-HTML-Tagset.git
git@gitee.com:src-openeuler/perl-HTML-Tagset.git
src-openeuler
perl-HTML-Tagset
perl-HTML-Tagset
openEuler-22.03-LTS

搜索帮助