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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Name: perl-XML-LibXML-Common
  2. Version: 0.13
  3. Release: 10%{?_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. * Sun May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13-10
  39. - rebuild with perl-5.12.3
  40. * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13-9
  41. - rebuilt with perl-5.10.0-2
  42. - applied new versioning policy
  43. * Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13-8vl2
  44. - changed Group to Development/Languages
  45. * Sun Apr 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13-8vl1
  46. - rebuilt for Vine Linux
  47. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.13-8.2.1
  48. - bump again for double-long bug on ppc(64)
  49. * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.13-8.2
  50. - rebuild for new perl-5.8.8
  51. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  52. - rebuilt for new gcc
  53. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  54. - rebuilt for new gcj
  55. * Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.13-8
  56. - #155911
  57. - Bring up to date with current Fedora.Extras perl spec template.
  58. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  59. - rebuilt
  60. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  61. - rebuilt
  62. * Fri Feb 27 2004 Chip Turner <cturner@redhat.com> - 0.13-1
  63. - Specfile autogenerated.