3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: XML::Mini - Perl implementation of the XML::Mini XML create/parse interface
9 Summary(pl): XML::Mini - perlowa implementacja interfejsu tworz±cego/analizuj±cego XML
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires: perl-devel >= 5.6
17 BuildRequires: rpm-perlprov >= 4.0.2-104
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 XML::Mini is a set of Perl classes that allow you to access XML data
23 and create valid XML output with a tree-based hierarchy of elements.
24 The MiniXML API has both Perl and PHP implementations.
27 XML::Mini to zbiór klas Perla pozwalaj±cych na dostêp do danych XML
28 oraz tworzenie poprawnego wyj¶cia w XML z drzewiast± hierarchi±
29 elementów. API MiniXML ma implementacje w Perlu i PHP.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{!?_without_tests:%{__make} test}
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{perl_sitelib}/%{pdir}/*.pm
53 %{perl_sitelib}/%{pdir}/%{pnam}