]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blob - perl-XML-LibXSLT.spec
- massive attack: change CPAN URLs
[packages/perl-XML-LibXSLT.git] / perl-XML-LibXSLT.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    XML
3 %define pnam    LibXSLT
4 Summary:        XML::LibXSLT - Interface to the Gnome libxslt library
5 Summary(pl):    XML::LibXSLT - Interfejs do biblioteki libxslt z Gnome
6 Name:           perl-%{pdir}-%{pnam}
7 Version:        1.52
8 Release:        1
9 License:        GPL/Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  libxslt-devel >= 1.0.6
13 BuildRequires:  perl-XML-LibXML >= 1.30
14 BuildRequires:  perl-devel >= 5.6.1
15 BuildRequires:  rpm-perlprov >= 4.0.2-56
16 Requires:       libxslt >= 1.0.6
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This module is an interface to the gnome project's libxslt. This is an
21 extremely good XSLT engine, highly compliant and also very fast. I
22 have tests showing this to be more than twice as fast as Sablotron.
23
24 %description -l pl
25 Ten modu³ jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
26 dobry silnik XSLT, o du¿ej zgodno¶ci ze standardem, a tak¿e bardzo
27 szybki. Wed³ug testów jest ponad dwa razy szybszy od Sablotrona.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 perl Makefile.PL
34 %{__make} OPTIMIZE="%{rpmcflags}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42 install example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc Changes README
50 %{perl_sitearch}/XML/LibXSLT.pm
51 %{perl_sitearch}/XML/benchmark.pl
52 %dir %{perl_sitearch}/auto/XML/LibXSLT
53 %{perl_sitearch}/auto/XML/LibXSLT/LibXSLT.bs
54 %attr(755,root,root) %{perl_sitearch}/auto/XML/LibXSLT/LibXSLT.so
55 %{_mandir}/man3/*
56 %{_examplesdir}/%{name}-%{version}
This page took 0.112681 seconds and 4 git commands to generate.