Init package
This commit is contained in:
parent
c31c8edffe
commit
601117e43d
BIN
HTML-Tree-5.07.tar.gz
Normal file
BIN
HTML-Tree-5.07.tar.gz
Normal file
Binary file not shown.
64
perl-HTML-Tree.spec
Normal file
64
perl-HTML-Tree.spec
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
Name: perl-HTML-Tree
|
||||||
|
Version: 5.07
|
||||||
|
Release: 1
|
||||||
|
Summary: HTML tree handling modules for Perl
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/HTML-Tree
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/K/KE/KENTNL/HTML-Tree-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
|
BuildRequires: perl(Encode)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(HTML::Entities)
|
||||||
|
BuildRequires: perl(HTML::Parser) >= 3.46
|
||||||
|
BuildRequires: perl(HTML::Tagset) >= 3.02
|
||||||
|
BuildRequires: perl(integer)
|
||||||
|
BuildRequires: perl(lib)
|
||||||
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(Test::Fatal)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(URI::file)
|
||||||
|
BuildRequires: perl(vars)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(HTML::Parser) >= 3.46
|
||||||
|
Requires: perl(HTML::Tagset) >= 3.02
|
||||||
|
|
||||||
|
%description
|
||||||
|
This distribution contains a suite of modules for representing,
|
||||||
|
creating, and extracting information from HTML syntax trees; there is
|
||||||
|
also relevant documentation. These modules used to be part of the
|
||||||
|
libwww-perl distribution, but are now unbundled in order to facilitate
|
||||||
|
a separate development track.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n HTML-Tree-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir="%{buildroot}" create_packlist=0
|
||||||
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README TODO
|
||||||
|
%{_bindir}/htmltree
|
||||||
|
%{perl_vendorlib}/HTML
|
||||||
|
%{_mandir}/man1/*1*
|
||||||
|
%{_mandir}/man3/HTML::*3*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon May 30 2022 misaka00251 <misaka00251@misakanet.cn> - 5.07-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
Loading…
x
Reference in New Issue
Block a user