#
# Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
-%define pdir XML
-%define pnam Mini
+%define pdir XML
+%define pnam Mini
Summary: XML::Mini - Perl implementation of the XML::Mini XML create/parse interface
-Summary(pl): XML::Mini - implementacja perlowa interfejsu tworz±cego/analizuj±cego XML
+Summary(pl.UTF-8): XML::Mini - implementacja perlowa interfejsu tworzącego/analizującego XML
Name: perl-XML-Mini
-Version: 1.2.8
-Release: 2
+Version: 1.38
+Release: 1
License: GPL v2+
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: ca3a9dffd09f6675c4ed5fd9318ec8fa
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 0262295a6812f4ea1a4c13aefa9067c4
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
and create valid XML output with a tree-based hierarchy of elements.
The MiniXML API has both Perl and PHP implementations.
-%description -l pl
-XML::Mini to zbiór klas Perla pozwalaj±cych na dostêp do danych XML
-oraz tworzenie poprawnego wyj¶cia w XML-u z drzewiast± hierarchi±
-elementów. API MiniXML ma implementacje w Perlu i PHP.
+%description -l pl.UTF-8
+XML::Mini to zbiór klas Perla pozwalających na dostęp do danych XML
+oraz tworzenie poprawnego wyjścia w XML-u z drzewiastą hierarchią
+elementów. API MiniXML ma implementacje w Perlu i PHP.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
INSTALLDIRS=vendor
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT