3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: XML::Mini - Perl implementation of the XML::Mini XML create/parse interface
9 Summary(pl.UTF-8): XML::Mini - implementacja perlowa 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 # Source0-md5: 0262295a6812f4ea1a4c13aefa9067c4
17 URL: http://search.cpan.org/dist/XML-Mini/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 XML::Mini is a set of Perl classes that allow you to access XML data
25 and create valid XML output with a tree-based hierarchy of elements.
26 The MiniXML API has both Perl and PHP implementations.
28 %description -l pl.UTF-8
29 XML::Mini to zbiór klas Perla pozwalających na dostęp do danych XML
30 oraz tworzenie poprawnego wyjścia w XML-u z drzewiastą hierarchią
31 elementów. API MiniXML ma implementacje w Perlu i PHP.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/%{pdir}/*.pm
56 %{perl_vendorlib}/%{pdir}/%{pnam}