perl-XML-LibXSLT-vl.spec 5.2 KB

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