perl-XML-Grove-vl.spec 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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: 26%{?_dist_release}
  7. License: distributable
  8. Group: Development/Libraries
  9. Source0: %{module}-%{version}.tar.bz2
  10. URL: http://search.cpan.org/~kmacleod/XML-Grove/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: perl >= 5.8.2
  13. BuildRequires: perl-libxml-perl
  14. BuildArch: noarch
  15. %description
  16. XML::Grove is a tree-based object model for accessing the information
  17. set of parsed or stored XML, HTML, or SGML instances. XML::Grove
  18. objects are Perl hashes and arrays where you access the properties of
  19. the objects using normal Perl syntax.
  20. %prep
  21. %setup -q -n %{module}-%{version}
  22. %build
  23. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  24. make
  25. #make test || /bin/true
  26. %clean
  27. rm -rf $RPM_BUILD_ROOT
  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. %files -f XML-Grove-%{version}-filelist
  42. %defattr(-,root,root)
  43. %changelog
  44. * Fri Aug 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-26
  45. - applied new versioning policy
  46. - rebuilt with perl-5.10.0
  47. - changed Group to Development/Libraries
  48. * Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-25vl6
  49. - changed Group to Development/Languages
  50. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 0.46alpha-25vl5
  51. - build on perl-5.8.6-0vl1
  52. * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl4
  53. - rebuilt on perl-5.8.2
  54. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl3
  55. - rebuilt on perl-5.8.1
  56. * Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl2
  57. - build on perl-5.8.0
  58. * Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl1
  59. - build for VineLinux
  60. * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
  61. - automated release bump and build
  62. * Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
  63. - properly claim directories owned by package so they are removed when package is removed
  64. * Sat Jan 26 2002 Jeff Johnson <jbj@redhat.com>
  65. - add internal provides.
  66. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  67. - automated rebuild
  68. * Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.46alpha-2
  69. - imported from mandrake
  70. * Mon Jun 18 2001 Till Kamppeter <till@mandrakesoft.com> 0.46alpha-1mdk
  71. - Newly introduced for Foomatic.