perl-libxml-enno-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. %define _use_internal_dependency_generator 0
  2. Summary: A collection of Perl modules for XML parsing and validation.
  3. Name: perl-libxml-enno
  4. Version: 1.02
  5. Release: 30%{?_dist_release}
  6. License: distributable
  7. Group: Development/Libraries
  8. Source0: libxml-enno-%{version}.tar.gz
  9. Url: http://www.cpan.org
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root/
  11. BuildRequires: perl >= 5.8.2
  12. Requires: perl >= 5.8.2
  13. Provides: perl(XML::Handler::DOM)
  14. BuildRequires: perl-Parse-Yapp
  15. BuildRequires: perl-libwww-perl
  16. BuildRequires: perl-DateManip
  17. BuildArch: noarch
  18. %description
  19. libxml-enno contains the modules XML::DOM, XML::XQL, XML::Checker and
  20. several other packages used for parsing XML from Perl.
  21. # Provide perl-specific find-{provides,requires}.
  22. %define __find_provides /usr/lib/rpm/find-provides.perl
  23. %define __find_requires /usr/lib/rpm/find-requires.perl
  24. %prep
  25. %setup -q -n libxml-enno-%{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 DESTDIR=$RPM_BUILD_ROOT install
  32. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  33. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  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" > libxml-enno-%{version}-filelist
  38. if [ "$(cat libxml-enno-%{version}-filelist)X" = "X" ] ; then
  39. echo "ERROR: EMPTY FILE LIST"
  40. exit -1
  41. fi
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. #check
  45. #make test || /bin/true
  46. %files -f libxml-enno-%{version}-filelist
  47. %defattr(-,root,root)
  48. %changelog
  49. * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-30
  50. - applied new versioning policy
  51. - rebuilt with perl-5.10.0-2
  52. * Sun Sep 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-29vl6
  53. - changed Group to Development/Libraries
  54. - installed files to vendor_perl dir
  55. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 1.02-29vl5
  56. - build on perl-5.8.6-0vl1
  57. * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl4
  58. - built on perl-5.8.2
  59. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl3
  60. - built on perl-5.8.1
  61. * Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl2
  62. - build on perl-5.8.0
  63. * Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl1
  64. - build for VineLinux
  65. * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
  66. - automated release bump and build
  67. * Mon Aug 5 2002 Chip Turner <cturner@redhat.com>
  68. - updated description
  69. * Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
  70. - properly claim directories owned by package so they are removed when package is removed
  71. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  72. - automated rebuild
  73. * Fri Dec 7 2001 root <root@redhat.com>
  74. - Spec file was autogenerated.