perl-HTML-Tree-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. %define perl_bootstrap 1
  2. Name: perl-HTML-Tree
  3. Version: 5.03
  4. Release: 9%{?_dist_release}
  5. Summary: HTML tree handling modules for Perl
  6. Group: Development/Libraries
  7. License: GPL+ or Artistic
  8. URL: http://search.cpan.org/dist/HTML-Tree/
  9. Source0: http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/HTML-Tree-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl(base)
  13. BuildRequires: perl(Carp)
  14. BuildRequires: perl(constant)
  15. BuildRequires: perl(Encode)
  16. BuildRequires: perl(Exporter)
  17. BuildRequires: perl(HTML::Entities)
  18. BuildRequires: perl(HTML::Parser) >= 3.46
  19. BuildRequires: perl(HTML::Tagset) >= 3.02
  20. BuildRequires: perl(LWP::UserAgent)
  21. BuildRequires: perl(Module::Build)
  22. BuildRequires: perl(Scalar::Util)
  23. BuildRequires: perl(Test::Exception)
  24. BuildRequires: perl(Test::Fatal)
  25. BuildRequires: perl(Test::More)
  26. BuildRequires: perl(Test::Pod) >= 1.00
  27. BuildRequires: perl(URI::file)
  28. %if !%{defined perl_bootstrap}
  29. # HTML::FormatText (perl-HTML-Format) has BR: perl(HTML::TreeBuilder) from this package
  30. BuildRequires: perl(HTML::FormatText)
  31. %endif
  32. BuildRequires: perl(Test::LeakTrace)
  33. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  34. Requires: perl(HTML::Parser) >= 3.46
  35. Requires: perl(HTML::Tagset) >= 3.02
  36. %description
  37. This distribution contains a suite of modules for representing,
  38. creating, and extracting information from HTML syntax trees; there is
  39. also relevant documentation. These modules used to be part of the
  40. libwww-perl distribution, but are now unbundled in order to facilitate
  41. a separate development track.
  42. %prep
  43. %setup -q -n HTML-Tree-%{version}
  44. %build
  45. perl Build.PL installdirs=vendor
  46. ./Build
  47. %install
  48. ./Build install destdir="%{buildroot}" create_packlist=0
  49. %{_fixperms} %{buildroot}
  50. %check
  51. ./Build test
  52. %files
  53. %doc Changes README TODO
  54. %{_bindir}/htmltree
  55. %{perl_vendorlib}/HTML
  56. %{_mandir}/man3/HTML::*3*
  57. %changelog
  58. * Sun Dec 07 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 5.03-9
  59. - Inital package for Vine Linux
  60. * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.03-8
  61. - Perl 5.20 re-rebuild of bootstrapped packages
  62. * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.03-7
  63. - Perl 5.20 rebuild
  64. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.03-6
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  66. * Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.03-5
  67. - Perl 5.18 re-rebuild of bootstrapped packages
  68. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.03-4
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  70. * Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1:5.03-3
  71. - Perl 5.18 rebuild
  72. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.03-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  74. * Mon Nov 12 2012 Petr Šabata <contyk@redhat.com> - 1:5.03-1
  75. - 5.03 bump
  76. * Tue Oct 16 2012 Petr Pisar <ppisar@redhat.com> - 1:5.02-6
  77. - Do not build-require Test::LeakTrace on RHEL >= 7
  78. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.02-5
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  80. * Tue Jul 17 2012 Paul Howarth <paul@city-fan.org> - 1:5.02-4
  81. - Don't BR: perl(Test::LeakTrace) when bootstrapping
  82. - Don't use macros for commands
  83. - Don't need to remove empty directories from the buildroot
  84. - Drop explicit provides for perl(HTML::Tree) now that CPAN and RPM versions
  85. are back in sync
  86. * Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1:5.02-3
  87. - Perl 5.16 re-rebuild of bootstrapped packages
  88. * Mon Jul 09 2012 Petr Pisar <ppisar@redhat.com> - 1:5.02-2
  89. - Perl 5.16 rebuild
  90. - Break dependency cycle with perl-HTML-FormatText during bootstrap
  91. * Mon Jul 2 2012 Tom Callaway <spot@fedoraproject.org> - 1:5.02-1
  92. - update to 5.02
  93. * Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1:4.2-5
  94. - Perl 5.16 rebuild
  95. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.2-4
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  97. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1:4.2-3
  98. - Perl mass rebuild
  99. * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1:4.2-2
  100. - Perl mass rebuild
  101. * Tue Jun 28 2011 Tom Callaway <spot@fedoraproject.org> - 1:4.2-1
  102. - update to 4.2
  103. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:4.1-3
  104. - Perl mass rebuild
  105. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.1-2
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  107. * Wed Dec 1 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1:4.1-1
  108. - update to 4.1
  109. * Mon Oct 18 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:3.40-1
  110. - update, adjust specfile to use Build.PL
  111. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:3.23-11
  112. - Mass rebuild with perl-5.12.0
  113. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:3.23-10
  114. - rebuild against perl 5.10.1
  115. * Mon Sep 28 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.23-9
  116. - apply Jeff Fearn's fix for the missing close tag bug (bz 535587)
  117. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.23-8
  118. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  119. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.23-7
  120. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  121. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.23-6
  122. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  123. * Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.23-5
  124. - fix source url
  125. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.23-4
  126. - Rebuild for perl 5.10 (again)
  127. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-3
  128. - rebuild for new perl
  129. * Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-2
  130. - license tag fix
  131. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-1
  132. - bump to 3.23
  133. * Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.21-1
  134. - bump to 3.21
  135. * Tue Jul 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.20-2
  136. - bump epoch to ensure clean upgrades
  137. * Fri Jul 7 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.20-1
  138. - bump to 3.20
  139. * Mon Jan 16 2006 Ralf Corsépius <rc040203@freenet.de> - 3.1901-2
  140. - BR: perl(Test::Pod).
  141. * Mon Jan 16 2006 Ralf Corsépius <rc040203@freenet.de> - 3.1901-1
  142. - Spec cleanup.
  143. - Filter Provides: perl(main).
  144. - Upstream update.
  145. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  146. - rebuilt
  147. * Tue Jan 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:3.18-2
  148. - Don't install htmltree into %%{_bindir} but include it in docs.
  149. * Sat Dec 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.18-0.fdr.1
  150. - First build.