]> git.pld-linux.org Git - packages/perl-XML-Mini.git/blobdiff - perl-XML-Mini.spec
- updated to 1.38
[packages/perl-XML-Mini.git] / perl-XML-Mini.spec
index 2f468d7235fb6c9d04c2dd32ba6435bc3eec5e27..a1a31d23bc06da47b9e589aaa62e26be64a8a2c7 100644 (file)
@@ -1,22 +1,21 @@
 #
 # 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
-Summary:       XML::Mini - Perl implementation of the XML::Mini XML create/parse interface.
-#Summary(pl):  
+%define                pdir    XML
+%define                pnam    Mini
+Summary:       XML::Mini - Perl implementation of the XML::Mini XML create/parse interface
+Summary(pl.UTF-8):     XML::Mini - implementacja perlowa interfejsu tworzącego/analizującego XML
 Name:          perl-XML-Mini
-Version:       1.2.7
+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
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 0262295a6812f4ea1a4c13aefa9067c4
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{!?_without_tests:1}0
-%endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,8 +24,10 @@ XML::Mini is a set of Perl classes that allow you to access XML data
 and create valid XML output with a tree-based hierarchy of elements.
 The MiniXML API has both Perl and PHP implementations.
 
-# %description -l pl
-# TODO
+%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}
@@ -36,7 +37,7 @@ The MiniXML API has both Perl and PHP implementations.
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,6 +50,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc Changes
 %{perl_vendorlib}/%{pdir}/*.pm
 %{perl_vendorlib}/%{pdir}/%{pnam}
 %{_mandir}/man3/*
This page took 0.064486 seconds and 4 git commands to generate.