]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blob - perl-XML-LibXSLT.spec
- massive attack: source-md5
[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 # Source0-md5:  1fc25bedd58fbf9f3faf0d4936632645
13 BuildRequires:  libxslt-devel >= 1.0.6
14 BuildRequires:  perl-XML-LibXML >= 1.30
15 BuildRequires:  perl-devel >= 5.6.1
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 Requires:       libxslt >= 1.0.6
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This module is an interface to the gnome project's libxslt. This is an
22 extremely good XSLT engine, highly compliant and also very fast. I
23 have tests showing this to be more than twice as fast as Sablotron.
24
25 %description -l pl
26 Ten modu³ jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
27 dobry silnik XSLT, o du¿ej zgodno¶ci ze standardem, a tak¿e bardzo
28 szybki. Wed³ug testów jest ponad dwa razy szybszy od Sablotrona.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor 
36 %{__make} OPTIMIZE="%{rpmcflags}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44 install example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes README
52 %{perl_vendorarch}/XML/LibXSLT.pm
53 %{perl_vendorarch}/XML/benchmark.pl
54 %dir %{perl_vendorarch}/auto/XML/LibXSLT
55 %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.bs
56 %attr(755,root,root) %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.so
57 %{_mandir}/man3/*
58 %{_examplesdir}/%{name}-%{version}
This page took 0.097017 seconds and 4 git commands to generate.