]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blob - perl-XML-LibXSLT.spec
- should be ready for perl-5.8.0; release++
[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.53
8 Release:        2
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.1-13
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         INSTALLDIRS=vendor 
35 %{__make} OPTIMIZE="%{rpmcflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43 install example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes README
51 %{perl_vendorarch}/XML/LibXSLT.pm
52 %{perl_vendorarch}/XML/benchmark.pl
53 %dir %{perl_vendorarch}/auto/XML/LibXSLT
54 %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.bs
55 %attr(755,root,root) %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.so
56 %{_mandir}/man3/*
57 %{_examplesdir}/%{name}-%{version}
This page took 0.028951 seconds and 4 git commands to generate.