]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blob - perl-XML-LibXSLT.spec
- pl descriptions
[packages/perl-XML-LibXSLT.git] / perl-XML-LibXSLT.spec
1 %include        /usr/lib/rpm/macros.perl
2
3 %define pdir    XML
4 %define pnam    LibXSLT
5
6 Summary:        XML-LibXSLT perl module
7 Summary(pl):    Modu³ perla XML-LibXSLT
8 Name:           perl-%{pdir}-%{pnam}
9 Version:        1.31
10 Release:        1
11 License:        GPL
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
20
21 %description
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.
25
26 %description -l pl
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.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 perl Makefile.PL
36 %{__make} OPTIMIZE="%{rpmcflags}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
41
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43
44 install example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45
46 gzip -9nf Changes README
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc *.gz
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
58 %{_mandir}/man3/*
59 %{_examplesdir}/%{name}-%{version}
This page took 0.032453 seconds and 4 git commands to generate.