]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blame - perl-XML-LibXSLT.spec
- version 1.66
[packages/perl-XML-LibXSLT.git] / perl-XML-LibXSLT.spec
CommitLineData
7ff8afcf
JB
1#
2# Conditional build:
cecd49da 3%bcond_without tests # do not perform "make test"
7ff8afcf 4#
fb5d03ab 5%include /usr/lib/rpm/macros.perl
2efa69b2 6%define pdir XML
7%define pnam LibXSLT
5175f4f6 8Summary: XML::LibXSLT - interface to the GNOME libxslt library
029f25b5 9Summary(pl.UTF-8): XML::LibXSLT - interfejs do biblioteki libxslt z GNOME
45747143 10Name: perl-XML-LibXSLT
50ada92c 11Version: 1.66
12Release: 1
cecd49da 13# same as perl
14License: GPL v1+ or Artistic
fb5d03ab 15Group: Development/Languages/Perl
f57bde80 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
50ada92c 17# Source0-md5: cfabf853c7139fb21948a31bc77e6ac7
fb5d03ab 18BuildRequires: libxslt-devel >= 1.0.6
a9be23ab 19BuildRequires: perl-XML-LibXML >= 1.60
7ff8afcf 20BuildRequires: perl-devel >= 1:5.8.0
937b6662 21BuildRequires: rpm-perlprov >= 4.1-13
fb5d03ab 22Requires: libxslt >= 1.0.6
e28af720 23Requires: perl-XML-LibXML >= 1.57
c0862bd2 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
fb5d03ab 25
26%description
7e8382de 27This module is an interface to the GNOME project's libxslt. This is an
5c42f054 28extremely good XSLT engine, highly compliant and also very fast. I
29have tests showing this to be more than twice as fast as Sablotron.
a59d1efb 30
101963ed
JR
31%description -l pl.UTF-8
32Ten moduł jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
33dobry silnik XSLT, o dużej zgodności ze standardem, a także bardzo
34szybki. Według testów jest ponad dwa razy szybszy od Sablotrona.
fb5d03ab 35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
937b6662 40%{__perl} Makefile.PL \
1a626922 41 INSTALLDIRS=vendor
7ff8afcf 42%{__make} \
bac92549 43 CC="%{__cc}" \
7ff8afcf
JB
44 OPTIMIZE="%{rpmcflags}"
45
46%{?with_tests:%{__make} test}
fb5d03ab 47
48%install
49rm -rf $RPM_BUILD_ROOT
fb5d03ab 50
7ff8afcf
JB
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
fb5d03ab 53
e0e5e0b5 54install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
fb5d03ab 55install example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56
fb5d03ab 57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
5f661dc9 62%doc Changes README
937b6662 63%{perl_vendorarch}/XML/LibXSLT.pm
64%{perl_vendorarch}/XML/benchmark.pl
65%dir %{perl_vendorarch}/auto/XML/LibXSLT
66%{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.bs
67%attr(755,root,root) %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.so
fb5d03ab 68%{_mandir}/man3/*
69%{_examplesdir}/%{name}-%{version}
This page took 0.097064 seconds and 4 git commands to generate.