perl-XML-LibXSLT-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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: 2%{?_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. * Sun Apr 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 1.7.0-2
  52. - rebuilt with perl-5.12.3
  53. * Thu Aug 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 1.70-1
  54. - initial build
  55. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.70-4
  56. - Mass rebuild with perl-5.12.0
  57. * Thu Mar 11 2010 Paul Howarth <paul@city-fan.org> - 1.70-3
  58. - rebuild for new gdbm
  59. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.70-2
  60. - rebuild against perl 5.10.1
  61. * Fri Nov 20 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.70-1
  62. - update to fix 539102
  63. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.68-4
  64. - rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  65. * Wed Mar 18 2009 Stepan Kasal <skasal@redhat.com> - 1.68-3
  66. - patch to fix a refcounting bug leading to segfaults (#490781)
  67. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.68-2
  68. - rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  69. * Sat Dec 20 2008 Paul Howarth <paul@city-fan.org> - 1.68-1
  70. - update to 1.68
  71. - relax hard version requirement on XML::LibXML, which is at 1.69 upstream
  72. but 1.67 or above will suffice (care will still have to be taken to keep
  73. the packages in sync, particularly when XML::LibXML is updated)
  74. - specify $RPM_OPT_FLAGS once rather than twice
  75. - drop historical perl version requirement, which is met even by EL-3
  76. - explicitly buildreq ExtUtils::MakeMaker rather than just perl-devel
  77. * Mon Nov 3 2008 Stepan Kasal <skasal@redhat.com> - 1.66-2
  78. - require XML::LibXML of the same version
  79. * Fri Aug 8 2008 Zing <zing@fastmail.fm> - 1.66-1
  80. - update to 1.66
  81. * Sat May 31 2008 Zing <zing@fastmail.fm> - 1.63-6
  82. - rpm check stage barfs on || :
  83. * Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.63-5
  84. - rebuild for new perl (again)
  85. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.63-4
  86. - Autorebuild for GCC 4.3
  87. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.63-3
  88. - rebuild for new perl
  89. * Sat Jan 19 2008 Zing <zing@fastmail.fm> - 1.63-2
  90. - build requires gdbm-devel
  91. * Fri Jan 18 2008 Zing <zing@fastmail.fm> - 1.63-1
  92. - update to 1.63
  93. * Sat Aug 11 2007 Zing <zing@fastmail.fm> - 1.62-2
  94. - require perl-devel
  95. * Tue Aug 7 2007 Zing <zing@fastmail.fm> - 1.62-1
  96. - update to 1.62
  97. - Conform to Fedora Licensing Guideline
  98. * Fri Sep 8 2006 Zing <zing@fastmail.fm> - 1.58-3
  99. - rebuild for FE6
  100. * Tue Feb 14 2006 Zing <shishz@hotpop.com> - 1.58-2
  101. - rebuild for FE5
  102. * Wed Aug 17 2005 Zing <shishz@hotpop.com> - 1.58-1
  103. - new upstream
  104. - use dist macro
  105. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  106. - rebuilt
  107. * Sat Mar 5 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.57-3
  108. - Drop pre-FC2 LD_RUN_PATH hack.
  109. - Install benchmark.pl only as %%doc.
  110. * Fri Feb 26 2005 Zing <shishz@hotpop.com> - 1.57-2
  111. - QA from Ville Skyttä
  112. - BuildRequires XML::LibXML >= 1.57
  113. - BuildRequires libxslt-devel
  114. - put benchmark.pl in %%doc
  115. * Fri Feb 25 2005 Zing <shishz@hotpop.com> - 1.57-1
  116. - First build.