perl-HTML-Parser-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. %define name perl-HTML-Parser
  2. %define real_name HTML-Parser
  3. %define __find_provides /usr/lib/rpm/find-provides.perl
  4. %define __find_requires /usr/lib/rpm/find-requires.perl
  5. %define rel 2
  6. Summary: A Perl module for parsing HTML.
  7. Name: %{name}
  8. Version: 3.56
  9. Release: %{rel}%{?_dist_release}
  10. License: GPL or Artistic
  11. Group: Development/Libraries
  12. Source: ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/HTML/%{real_name}-%{version}.tar.gz
  13. Url: http://search.cpan.org/~gaas/HTML-Parser/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Requires: perl >= 5.8.6, perl-HTML-Tagset >= 3.03
  16. BuildRequires: perl >= 5.8.6, perl-HTML-Tagset >= 3.03
  17. %description
  18. The HTML-Parser module for perl to parse and extract information from
  19. HTML documents, including the HTML::Entities, HTML::HeadParser,
  20. HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
  21. %prep
  22. %setup -q -n %{real_name}-%{version}
  23. %build
  24. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
  25. make
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. # make install
  29. make DESTDIR=$RPM_BUILD_ROOT install
  30. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  31. find $RPM_BUILD_ROOT/usr -type f -print |
  32. sed "s@^$RPM_BUILD_ROOT@@g" |
  33. grep -v perllocal.pod |
  34. grep -v "\.packlist" > perl-HTML-Parser-%{version}-filelist
  35. if [ "$(cat perl-HTML-Parser-%{version}-filelist)X" = "X" ] ; then
  36. echo "ERROR: EMPTY FILE LIST"
  37. exit -1
  38. fi
  39. %check
  40. make test
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files -f perl-HTML-Parser-%{version}-filelist
  44. %defattr(-,root,root)
  45. %dir %{perl_vendorarch}/HTML
  46. %dir %{perl_vendorarch}/auto/HTML
  47. %changelog
  48. * Fri Apr 25 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 3.56-2vl5
  49. - build on perl-5.10.0-1vl5
  50. * Tue Jul 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.56-0vl1
  51. - new upstream release
  52. - changed Group to Development/Libraries
  53. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 3.41-0vl1
  54. - new upstream release
  55. - build on perl-5.8.6-0vl1
  56. - fix typo changelog: 3.34-0vl1 and 3.34-0vl2
  57. - update Url value
  58. - using perl_sitearch macro
  59. * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 3.34-0vl2
  60. - built on perl-5.8.2
  61. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 3.34-0vl1
  62. - new upstream version
  63. - built on perl-5.8.1
  64. * Wed Apr 16 2003 Satoshi MACHINO <machino@vinelinux.org> 3.27-0vl1
  65. - New upstream version
  66. - build on perl-5.8.0
  67. -- changed Requires, Buildrequires
  68. * Tue Oct 08 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  69. - 3.26-14vl2
  70. - Fix Requires, Buildrequires
  71. * Mon Oct 07 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  72. - 3.26-14vl1
  73. - first build for Vine Linux
  74. - add define __find_provides / __find_requires
  75. - modefy files list (dir)
  76. * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
  77. - automated release bump and build
  78. * Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
  79. - properly claim directories owned by package so they are removed when package is removed
  80. * Mon Jun 3 2002 Chip Turner <cturner@redhat.com>
  81. - fix for Makefile.PL sometimes prompting for input
  82. * Wed Mar 27 2002 Chip Turner <cturner@redhat.com>
  83. - update to 3.26, move to vendor_perl
  84. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  85. - automated rebuild
  86. * Thu Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.25-2
  87. - imported from mandrake. tweaked man path.
  88. * Tue Jul 03 2001 FraníÐis Pons <fpons@mandrakesoft.com> 3.25-1mdk
  89. - 3.25.
  90. * Wed Jun 20 2001 Christian Belisle <cbelisle@mandrakesoft.com> 3.18-3mdk
  91. - Fixed distribution tag.
  92. - Updated Requires.
  93. - Added an option to %makeinstall.
  94. * Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 3.18-2mdk
  95. - Rebuild against the latest perl.
  96. * Tue Feb 27 2001 FraníÐis Pons <fpons@mandrakesoft.com> 3.18-1mdk
  97. - 3.18.
  98. * Tue Jan 30 2001 FraníÐis Pons <fpons@mandrakesoft.com> 3.15-1mdk
  99. - 3.15.
  100. * Tue Dec 05 2000 FraníÐis Pons <fpons@mandrakesoft.com> 3.14-1mdk
  101. - 3.14.
  102. * Thu Oct 12 2000 FraníÐis Pons <fpons@mandrakesoft.com> 3.13-1mdk
  103. - 3.13.
  104. * Tue Aug 29 2000 FraníÐis Pons <fpons@mandrakesoft.com> 3.11-1mdk
  105. - 3.11.
  106. * Thu Aug 03 2000 FraníÐis Pons <fpons@mandrakesoft.com> 3.10-2mdk
  107. - macroszifications.
  108. - add doc.
  109. * Tue Jul 18 2000 FraníÐis Pons <fpons@mandrakesoft.com> 3.10-1mdk
  110. - removed perllocal.pod from files.
  111. - 3.10.
  112. * Tue Jun 27 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 3.08-1mdk
  113. - update to 3.08
  114. * Wed May 17 2000 David BAUDENS <baudens@mandrakesoft.com> 3.05-4mdk
  115. - Fix build for i486
  116. - Use %%{_tmppath} for BuildRoot
  117. * Fri Mar 31 2000 Pixel <pixel@mandrakesoft.com> 3.05-3mdk
  118. - rebuild, new group, cleanup
  119. * Tue Feb 29 2000 Jean-Michel Dault <jmdault@netrevolution.com> 3.0.5-1mdk
  120. - upgrade to 3.05
  121. * Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
  122. - final cleanup for Mandrake 7
  123. * Thu Dec 30 1999 Jean-Michel Dault <jmdault@netrevolution.com>
  124. -updated to 3.02
  125. * Sun Aug 29 1999 Jean-Michel Dault <jmdault@netrevolution.com>
  126. - bzip2'd sources
  127. - updated to 2.23
  128. * Tue May 11 1999 root <root@alien.devel.redhat.com>
  129. - Spec file was autogenerated.