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