]> git.pld-linux.org Git - SPECS.git/blob - perl-XML-Filter-XSLT.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-XML-Filter-XSLT.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    XML
6 %define         pnam    Filter-XSLT
7 Summary:        XML::Filter::XSLT - XSLT as a SAX filter
8 Summary(pl.UTF-8):      XML::Filter::XSLT - XSLT jako filtr SAX
9 Name:           perl-XML-Filter-XSLT
10 Version:        0.03
11 Release:        1
12 License:        unknown
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  8128f541da6a5a2ee6a3f4764c0652b5
16 URL:            http://search.cpan.org/dist/XML-Filter-XSLT/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-XML-LibXSLT >= 1.31
21 BuildRequires:  perl-XML-SAX >= 0.03
22 BuildRequires:  perl-XML-SAX-Writer >= 0.20
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 It is a simple XSLT SAX2 filter. It uses any available XSLT processor
29 on your system that we can use in some SAXy way. Currently this is
30 just XML::LibXSLT (which we use to build a DOM tree), but we expect
31 more processors will be added over time.
32
33 %description -l pl.UTF-8
34 Jest to prosty filtr XSLT dla SAX2. Korzysta z dowolnego dostępnego w
35 systemie procesora XSLT, z którego potrafi korzystać w jakiś
36 SAX-opodobny sposób. Aktualnie jest to po prostu XML::LibXSLT (używany
37 do tworzenia drzewa DOM), lecz oczekuje się dodania za jakiś czas
38 większej liczby procesorów.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %{perl_vendorlib}/XML/*/*
62 %{_mandir}/man3/*
This page took 0.240398 seconds and 3 git commands to generate.