perl-XML-Grove-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. %define _use_internal_dependency_generator 0
  2. %define module XML-Grove
  3. Summary: A Perl module providing simple access to the information set of parsed XML, HTML, or SGML instances.
  4. Name: perl-%{module}
  5. Version: 0.46alpha
  6. Release: 28%{?_dist_release}
  7. License: distributable
  8. Group: Development/Libraries
  9. URL: http://search.cpan.org/~kmacleod/XML-Grove/
  10. Source0: %{module}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: perl-libxml-perl
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Distribution: Vine Linux
  17. Vendor: Project Vine
  18. %description
  19. XML::Grove is a tree-based object model for accessing the information
  20. set of parsed or stored XML, HTML, or SGML instances. XML::Grove
  21. objects are Perl hashes and arrays where you access the properties of
  22. the objects using normal Perl syntax.
  23. %prep
  24. %setup -q -n %{module}-%{version}
  25. %build
  26. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  27. make
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make DESTDIR=$RPM_BUILD_ROOT install
  31. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  32. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  33. find $RPM_BUILD_ROOT/usr -type f -print |
  34. sed "s@^$RPM_BUILD_ROOT@@g" |
  35. grep -v perllocal.pod |
  36. grep -v "\.packlist" > XML-Grove-%{version}-filelist
  37. if [ "$(cat XML-Grove-%{version}-filelist)X" = "X" ] ; then
  38. echo "ERROR: EMPTY FILE LIST"
  39. exit -1
  40. fi
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files -f XML-Grove-%{version}-filelist
  44. %defattr(-,root,root)
  45. %changelog
  46. * Sun Nov 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.46alpha-28
  47. - rebuilt with perl 5.16.3
  48. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.46alpha-27
  49. - rebuild with perl-5.12.3
  50. * Fri Aug 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-26
  51. - applied new versioning policy
  52. - rebuilt with perl-5.10.0
  53. - changed Group to Development/Libraries
  54. * Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-25vl6
  55. - changed Group to Development/Languages
  56. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 0.46alpha-25vl5
  57. - build on perl-5.8.6-0vl1
  58. * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl4
  59. - rebuilt on perl-5.8.2
  60. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl3
  61. - rebuilt on perl-5.8.1
  62. * Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl2
  63. - build on perl-5.8.0
  64. * Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl1
  65. - build for VineLinux
  66. * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
  67. - automated release bump and build
  68. * Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
  69. - properly claim directories owned by package so they are removed when package is removed
  70. * Sat Jan 26 2002 Jeff Johnson <jbj@redhat.com>
  71. - add internal provides.
  72. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  73. - automated rebuild
  74. * Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.46alpha-2
  75. - imported from mandrake
  76. * Mon Jun 18 2001 Till Kamppeter <till@mandrakesoft.com> 0.46alpha-1mdk
  77. - Newly introduced for Foomatic.