1 %include /usr/lib/rpm/macros.perl
6 Summary: XML-LibXSLT perl module
7 Summary(pl): Modu³ perla XML-LibXSLT
8 Name: perl-%{pdir}-%{pnam}
12 Group: Development/Languages/Perl
13 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
14 BuildRequires: rpm-perlprov >= 4.0.2-56
15 BuildRequires: perl-devel >= 5.6.1
16 BuildRequires: perl-XML-LibXML >= 1.30
17 BuildRequires: libxslt-devel >= 1.0.6
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Requires: libxslt >= 1.0.6
22 This module is an interface to the gnome project's libxslt. This is an
23 extremely good XSLT engine, highly compliant and also very fast.
24 I have tests showing this to be more than twice as fast as Sablotron.
27 Ten modu³ jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
28 dobry silnik XSLT, o du¿ej zgodno¶ci ze standardem, a tak¿e bardzo
29 szybki. Wed³ug testów jest ponad dwa razy szybszy od Sablotrona.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__make} OPTIMIZE="%{rpmcflags}"
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
44 install example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 gzip -9nf Changes README
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_sitearch}/XML/LibXSLT.pm
55 %dir %{perl_sitearch}/auto/XML/LibXSLT
56 %{perl_sitearch}/auto/XML/LibXSLT/LibXSLT.bs
57 %attr(755,root,root) %{perl_sitearch}/auto/XML/LibXSLT/LibXSLT.so
59 %{_examplesdir}/%{name}-%{version}