auto-import perl-HTML-Tree-3.18-2 on branch devel from

perl-HTML-Tree-3.18-2.src.rpm See
    http://bugzilla.fedora.us/show_bug.cgi?id=1362 (A: Jose).
This commit is contained in:
Ville Skyttä 2005-02-13 19:36:38 +00:00
parent 71ec6bee20
commit b8a2f603dc
3 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1 @@
HTML-Tree-3.18.tar.gz

65
perl-HTML-Tree.spec Normal file
View File

@ -0,0 +1,65 @@
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
Name: perl-HTML-Tree
Version: 3.18
Release: 2
Epoch: 0
Summary: HTML tree handling modules for Perl
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/HTML-Tree/
Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Tree-3.18.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1 perl(HTML::Parser)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This distribution contains a suite of modules for representing,
creating, and extracting information from HTML syntax trees; there is
also relevent 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}
%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' htmltree
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README TODO htmltree
%{perl_vendorlib}/HTML
%{_mandir}/man3/HTML::*3*
%changelog
* Tue Jan 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:3.18-2
- Don't install htmltree into %%{_bindir} but include it in docs.
* Sat Dec 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.18-0.fdr.1
- First build.

View File

@ -0,0 +1 @@
6a9e4e565648c9772e7d8ec6d4392497 HTML-Tree-3.18.tar.gz