perl-XML-LibXML-Common-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Name: perl-XML-LibXML-Common
  2. Version: 0.13
  3. Release: 9%{?_dist_release}
  4. Summary: XML-LibXML-Common Perl module
  5. Group: Development/Libraries
  6. License: GPL or Artistic
  7. URL: http://search.cpan.org/dist/XML-LibXML-Common/
  8. Source0: http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl >= 2:5.8.0
  11. BuildRequires: libxml2-devel >= 2.4.20
  12. Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version)
  13. %description
  14. %{summary}.
  15. %prep
  16. %setup -q -n XML-LibXML-Common-%{version}
  17. %build
  18. CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
  19. make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
  20. %install
  21. rm -rf $RPM_BUILD_ROOT
  22. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  23. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  24. find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  25. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  26. chmod -R u+w $RPM_BUILD_ROOT/*
  27. %check || :
  28. make test
  29. %clean
  30. rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc Changes LICENSE README
  34. %{perl_vendorarch}/XML/
  35. %{perl_vendorarch}/auto/XML/
  36. %{_mandir}/man3/*.3*
  37. %changelog
  38. * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13-9
  39. - rebuilt with perl-5.10.0-2
  40. - applied new versioning policy
  41. * Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13-8vl2
  42. - changed Group to Development/Languages
  43. * Sun Apr 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13-8vl1
  44. - rebuilt for Vine Linux
  45. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.13-8.2.1
  46. - bump again for double-long bug on ppc(64)
  47. * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.13-8.2
  48. - rebuild for new perl-5.8.8
  49. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  50. - rebuilt for new gcc
  51. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  52. - rebuilt for new gcj
  53. * Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-8
  54. - #155911
  55. - Bring up to date with current Fedora.Extras perl spec template.
  56. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  57. - rebuilt
  58. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  59. - rebuilt
  60. * Fri Feb 27 2004 Chip Turner <cturner@redhat.com> - 0.13-1
  61. - Specfile autogenerated.