]> git.pld-linux.org Git - packages/perl-XML-Checker.git/blobdiff - perl-XML-Checker.spec
- bcond_with(out) is followed by one \t, then bcond's name.
[packages/perl-XML-Checker.git] / perl-XML-Checker.spec
index a09e78886bb1dea28e85d39a513428941b1c334f..59d4d382438de9b6b3bec29533bc1b0f77eb83d9 100644 (file)
@@ -1,25 +1,28 @@
-
+#
 # Conditional build:
-%bcond_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    Checker
-Summary:       A perl module for validating XML
+%define                pdir    XML
+%define                pnam    Checker
+Summary:       XML::Checker - a Perl module for validating XML
+Summary(pl):   XML::Checker - modu³ Perla do sprawdzania poprawno¶ci XML-a
 Name:          perl-XML-Checker
 Version:       0.13
 Release:       1
-License:       Same as Perl itself
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 6fddcc489b4d9a5063e3a34d72400da9
-BuildRequires: perl-devel >= 5.8.0
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires: perl-XML-Parser >= 2.30
-BuildRequires: perl(XML::DOM) >= 1.29
+BuildRequires: perl-XML-DOM >= 1.29
 BuildRequires: perl-libxml >= 0.07
 %endif
+Obsoletes:     perl-libxml-enno
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,14 +31,19 @@ XML::Checker can be used in different ways to validate XML. See the
 manual pages of XML::Checker::Parser and XML::DOM::ValParser for more
 information.
 
+%description -l pl
+XML::Checker mo¿e byæ u¿ywany w ró¿ny sposób do sprawdzania
+poprawno¶ci XML-a. Wiêcej informacji znajduje siê w stronach manuala
+XML::Checker::Parser i XML::DOM::ValParser.
+
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-
 %{__make}
+
 %{?with_tests:%{__make} test}
 
 %install
This page took 0.063167 seconds and 4 git commands to generate.