]> git.pld-linux.org Git - packages/perl-POE-Filter-XML.git/blob - perl-POE-Filter-XML.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-POE-Filter-XML.git] / perl-POE-Filter-XML.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    POE
6 %define         pnam    Filter-XML
7 Summary:        POE::Filter::XML - a POE Filter for parsing XML
8 Summary(pl.UTF-8):      POE::Filter::XML - filtr POE do analizy XML-a
9 Name:           perl-POE-Filter-XML
10 Version:        0.38
11 Release:        1
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/POE/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  12a32a62f5da5131e2b40773e4b7cefc
16 URL:            http://search.cpan.org/dist/POE-Filter-XML/
17 BuildRequires:  perl-ExtUtils-AutoInstall >= 0.32
18 BuildRequires:  perl-Module-Build
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-Filter-Template
23 BuildRequires:  perl-POE >= 1:0.3401
24 BuildRequires:  perl-PXR
25 BuildRequires:  perl-XML-SAX >= 0.14
26 BuildRequires:  perl-XML-SAX-Expat
27 %endif
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 POE::Filter::XML provides POE with a completely encapsulated XML
33 parsing strategy for POE::Wheels that will be dealing with XML
34 streams.
35
36 POE::Filter::XML relies upon XML::SAX and XML::SAX::ParserFactory to
37 acquire a parser for parsing XML.
38
39 %description -l pl.UTF-8
40 POE::Filter::XML udostępnia POE z całkowicie obudowaną strategią
41 analizy XML-a dla POE::Wheels, obsługującą strumienie XML.
42
43 POE::Filter::XML polega na modułach XML::SAX i XML::SAX::ParserFactory
44 w celu uzyskania analizatora XML-a.
45
46 %prep
47 %setup -q -n %{pdir}-%{pnam}-%{version}
48
49 %build
50 %{__perl} Build.PL \
51         destdir=$RPM_BUILD_ROOT \
52         installdirs=vendor
53 ./Build
54
55 %{?with_tests:./Build test}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 ./Build install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc ChangeLog
68 %{perl_vendorlib}/POE/Filter/XML.pm
69 %{perl_vendorlib}/POE/Filter/XML
70 %{_mandir}/man3/*
This page took 0.231577 seconds and 4 git commands to generate.