perl-XML-LibXSLT-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
  2. Name: perl-XML-LibXSLT
  3. # NOTE: also update perl-XML-LibXML to a compatible version. See below why.
  4. Version: 1.70
  5. Release: 1%{?_dist_release}
  6. Summary: Perl module for interfacing to GNOME's libxslt
  7. #'
  8. Group: Development/Libraries
  9. License: GPL+ or Artistic
  10. URL: http://search.cpan.org/dist/XML-LibXSLT/
  11. Source0: http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXSLT-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: libxslt-devel >= 1.1.18, gdbm-devel
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. # the package shares code with perl-XML-LibXML, we have to require a compatible version
  17. # see https://bugzilla.redhat.com/show_bug.cgi?id=469480
  18. # for testing is needed the same version of XML::LibXML
  19. BuildRequires: perl(XML::LibXML) >= 1.70
  20. Requires: perl(XML::LibXML) >= 1.70
  21. Distribution: Vine
  22. Vendor: Project Vine
  23. Packager: munepi
  24. %description
  25. This module is a fast XSLT library, based on the Gnome libxslt engine
  26. that you can find at http://www.xmlsoft.org/XSLT/
  27. %prep
  28. %setup -q -n XML-LibXSLT-%{version}
  29. %build
  30. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  31. %__make %{?_smp_mflags}
  32. %install
  33. %__rm -rf $RPM_BUILD_ROOT
  34. %__make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  35. find $RPM_BUILD_ROOT -type f -name .packlist -exec %__rm -f {} ';'
  36. find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec %__rm -f {} ';'
  37. find $RPM_BUILD_ROOT -type d -depth -exec %__rmdir {} 2>/dev/null ';'
  38. %__chmod -R u+w $RPM_BUILD_ROOT/*
  39. %check
  40. %__make test
  41. %clean
  42. %__rm -rf $RPM_BUILD_ROOT
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes README benchmark.pl example
  46. %{perl_vendorarch}/auto/*
  47. %{perl_vendorarch}/XML
  48. %exclude %{perl_vendorarch}/XML/benchmark.pl
  49. %{_mandir}/man3/*.3*
  50. %changelog
  51. * Thu Aug 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 1.70-1
  52. - initial build
  53. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.70-4
  54. - Mass rebuild with perl-5.12.0
  55. * Thu Mar 11 2010 Paul Howarth <paul@city-fan.org> - 1.70-3
  56. - rebuild for new gdbm
  57. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.70-2
  58. - rebuild against perl 5.10.1
  59. * Fri Nov 20 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.70-1
  60. - update to fix 539102
  61. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.68-4
  62. - rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  63. * Wed Mar 18 2009 Stepan Kasal <skasal@redhat.com> - 1.68-3
  64. - patch to fix a refcounting bug leading to segfaults (#490781)
  65. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.68-2
  66. - rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  67. * Sat Dec 20 2008 Paul Howarth <paul@city-fan.org> - 1.68-1
  68. - update to 1.68
  69. - relax hard version requirement on XML::LibXML, which is at 1.69 upstream
  70. but 1.67 or above will suffice (care will still have to be taken to keep
  71. the packages in sync, particularly when XML::LibXML is updated)
  72. - specify $RPM_OPT_FLAGS once rather than twice
  73. - drop historical perl version requirement, which is met even by EL-3
  74. - explicitly buildreq ExtUtils::MakeMaker rather than just perl-devel
  75. * Mon Nov 3 2008 Stepan Kasal <skasal@redhat.com> - 1.66-2
  76. - require XML::LibXML of the same version
  77. * Fri Aug 8 2008 Zing <zing@fastmail.fm> - 1.66-1
  78. - update to 1.66
  79. * Sat May 31 2008 Zing <zing@fastmail.fm> - 1.63-6
  80. - rpm check stage barfs on || :
  81. * Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.63-5
  82. - rebuild for new perl (again)
  83. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.63-4
  84. - Autorebuild for GCC 4.3
  85. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.63-3
  86. - rebuild for new perl
  87. * Sat Jan 19 2008 Zing <zing@fastmail.fm> - 1.63-2
  88. - build requires gdbm-devel
  89. * Fri Jan 18 2008 Zing <zing@fastmail.fm> - 1.63-1
  90. - update to 1.63
  91. * Sat Aug 11 2007 Zing <zing@fastmail.fm> - 1.62-2
  92. - require perl-devel
  93. * Tue Aug 7 2007 Zing <zing@fastmail.fm> - 1.62-1
  94. - update to 1.62
  95. - Conform to Fedora Licensing Guideline
  96. * Fri Sep 8 2006 Zing <zing@fastmail.fm> - 1.58-3
  97. - rebuild for FE6
  98. * Tue Feb 14 2006 Zing <shishz@hotpop.com> - 1.58-2
  99. - rebuild for FE5
  100. * Wed Aug 17 2005 Zing <shishz@hotpop.com> - 1.58-1
  101. - new upstream
  102. - use dist macro
  103. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  104. - rebuilt
  105. * Sat Mar 5 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.57-3
  106. - Drop pre-FC2 LD_RUN_PATH hack.
  107. - Install benchmark.pl only as %%doc.
  108. * Fri Feb 26 2005 Zing <shishz@hotpop.com> - 1.57-2
  109. - QA from Ville Skyttä
  110. - BuildRequires XML::LibXML >= 1.57
  111. - BuildRequires libxslt-devel
  112. - put benchmark.pl in %%doc
  113. * Fri Feb 25 2005 Zing <shishz@hotpop.com> - 1.57-1
  114. - First build.