perl-HTML-Parser-vl.spec 5.2 KB

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