packages: perl-HTML-Tree/perl-HTML-Tree.spec - package htmltree script - ex...
qboosh
qboosh at pld-linux.org
Sat Dec 3 12:05:07 CET 2011
Author: qboosh Date: Sat Dec 3 11:05:07 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- package htmltree script
- explicit versioned HTML-Parser runtime dependency (HTML-Tagset is autodetected)
---- Files affected:
packages/perl-HTML-Tree:
perl-HTML-Tree.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: packages/perl-HTML-Tree/perl-HTML-Tree.spec
diff -u packages/perl-HTML-Tree/perl-HTML-Tree.spec:1.49 packages/perl-HTML-Tree/perl-HTML-Tree.spec:1.50
--- packages/perl-HTML-Tree/perl-HTML-Tree.spec:1.49 Mon Nov 28 10:16:31 2011
+++ packages/perl-HTML-Tree/perl-HTML-Tree.spec Sat Dec 3 12:05:02 2011
@@ -14,13 +14,16 @@
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0: http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: a145ad037ac54b6192c0046383d267da
+URL: http://search.cpan.org/dist/HTML-Tree/
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: perl-HTML-Parser >= 3.46
-# do not change to BuildRequires
+BuildRequires: perl-HTML-Tagset >= 3.02
+# HTML::FormatText used in HTML::Element by default; don't use as BuildRequires (loop)
Requires: perl-HTML-Format
+Requires: perl-HTML-Parser >= 3.46
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,20 +53,30 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# for external HTML::TreeBuilder subclasses
install -d $RPM_BUILD_ROOT%{perl_vendorlib}/HTML/TreeBuilder
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/HTML/Tree/*.pod
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README Changes
-%{perl_vendorlib}/HTML/*.pm
+%attr(755,root,root) %{_bindir}/htmltree
+%{perl_vendorlib}/HTML/AsSubs.pm
+%{perl_vendorlib}/HTML/Element.pm
+%{perl_vendorlib}/HTML/Parse.pm
+%{perl_vendorlib}/HTML/Tree.pm
+%{perl_vendorlib}/HTML/TreeBuilder.pm
%dir %{perl_vendorlib}/HTML/Element
-%{perl_vendorlib}/HTML/Element/*.pm
-%{_mandir}/man3/*
-
+%{perl_vendorlib}/HTML/Element/traverse.pm
%dir %{perl_vendorlib}/HTML/TreeBuilder
+%{_mandir}/man3/HTML::AsSubs.3pm*
+%{_mandir}/man3/HTML::Element*.3pm*
+%{_mandir}/man3/HTML::Parse.3pm*
+%{_mandir}/man3/HTML::Tree*.3pm*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -71,6 +84,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2011/12/03 11:05:02 qboosh
+- package htmltree script
+- explicit versioned HTML-Parser runtime dependency (HTML-Tagset is autodetected)
+
Revision 1.49 2011/11/28 09:16:31 arekm
- up to 4.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-HTML-Tree/perl-HTML-Tree.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list