]> git.pld-linux.org Git - packages/perl-XML-Twig.git/blame - perl-XML-Twig.spec
- updated to 3.49
[packages/perl-XML-Twig.git] / perl-XML-Twig.spec
CommitLineData
74672428 1#
2# Conditional build:
d895041c 3%bcond_without tests # do not perform "make test"
52ac888f 4#
74672428 5%include /usr/lib/rpm/macros.perl
cdbb91ba 6%define pdir XML
7%define pnam Twig
2e6b8a37 8Summary: XML::Twig - a perl module for processing huge XML documents in tree mode
f2548b04 9Summary(pl.UTF-8): XML::Twig - przetwarzanie dużych dokumentów XML w trybie drzewa
74672428 10Name: perl-XML-Twig
b3e5c2d9 11Version: 3.49
ad3ac1e5 12Release: 1
74672428 13License: Artistic
14Group: Development/Languages/Perl
33028086 15Source0: http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
b3e5c2d9 16# Source0-md5: afb5786e15cfe7823add6756382e7df7
33028086 17URL: http://search.cpan.org/dist/XML-Twig/
c2dce81e 18%if %{with tests}
b3e5c2d9
JB
19BuildRequires: perl-Encode >= 2.42_01
20BuildRequires: perl-IO-CaptureOutput >= 1.1102
21BuildRequires: perl-IO-stringy >= 2.110
22BuildRequires: perl-Scalar-List-Utils >= 1.23
23BuildRequires: perl-Test >= 1.25_02
24BuildRequires: perl-Test-Pod >= 1.45
25BuildRequires: perl-Tie-IxHash >= 1.22
cf180378 26BuildRequires: perl-Unicode-Map8
27BuildRequires: perl-Unicode-String
b3e5c2d9
JB
28BuildRequires: perl-XML-Filter-BufferText >= 1.01
29BuildRequires: perl-XML-Handler-YAWriter >= 0.23
c2dce81e 30BuildRequires: perl-XML-Parser >= 2.23
b3e5c2d9
JB
31BuildRequires: perl-XML-SAX-Writer >= 0.53
32BuildRequires: perl-XML-Simple >= 2.18
33BuildRequires: perl-XML-XPathEngine
c2dce81e 34%endif
cdc14367 35BuildRequires: perl-devel >= 1:5.8.0
5836090e 36BuildRequires: rpm-perlprov >= 4.1-13
c2dce81e 37Requires: perl-XML-Parser >= 2.23
74672428 38BuildArch: noarch
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
5b7aded6 41%define _noautoreq_perl XML::Twig::Elt
f2548b04 42
74672428 43%description
dd9426a0
CM
44This module provides a way to process XML documents. It is build on
45top of XML::Parser.
74672428 46
47The module offers a tree interface to the document, while allowing you
48to output the parts of it that have been completely processed.
49
221f4673
JR
50%description -l pl.UTF-8
51Ten moduł udostępnia sposób na przetwarzanie dokumentów XML. Jest
e75676b3
JB
52zbudowany w oparciu o XML::Parser.
53
dd9426a0
CM
54Moduł oferuje drzewiasty interfejs do dokumentu, pozwalając
55przekazywać na wyjście części, które zostały już całkowicie
56przetworzone.
74672428 57
58%prep
59%setup -q -n %{pdir}-%{pnam}-%{version}
60
61%build
b3e5c2d9 62%{__perl} Makefile.PL -y \
f0ddaddb 63 INSTALLDIRS=vendor
74672428 64%{__make}
d895041c 65
30a191db 66%{?with_tests:%{__make} test}
74672428 67
68%install
69rm -rf $RPM_BUILD_ROOT
70
d895041c 71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
74672428 73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
e8a6aee0 79%attr(755,root,root) %{_bindir}/xml_*
33028086 80%{perl_vendorlib}/XML/Twig.pm
8d08b1e6
JB
81%dir %{perl_vendorlib}/XML/Twig
82%{perl_vendorlib}/XML/Twig/*.pm
33028086
JB
83%{_mandir}/man1/xml_*.1p*
84%{_mandir}/man3/XML::Twig*.3pm*
This page took 0.072549 seconds and 4 git commands to generate.