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