]> git.pld-linux.org Git - packages/perl-SGMLS.git/blobdiff - perl-SGMLS.spec
- tabs in preamble
[packages/perl-SGMLS.git] / perl-SGMLS.spec
index 803d65ddc29e054b0f1e165e18e647f0dfc25c08..0d2b1b4479facfe321ad0d7533d1edbe48b9788a 100644 (file)
@@ -1,14 +1,20 @@
+#
+# Conditional build:
+%bcond_with    tests   # perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
-Summary:       SGMLS - postprocessing the output from the sgmls and nsgmls parsers
-#Summary(pl):  
+Summary:       SGMLS - postprocessing the output from the SGMLS and NSGMLS parsers
+Summary(pl.UTF-8):     SGMLS - przetwarzanie wyjścia z analizatorów składni: SGMLS i NSGMLS
 Name:          perl-SGMLS
 Version:       1.03ii
-Release:       10
-License:       GPL
+Release:       14
+License:       GPL v2
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/SGMLS/SGMLSpm-%{version}.tar.gz
+# Source0-md5: 5bcb197fd42e67d51c739b1414d514a7
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.6
+BuildRequires: perl-devel >= 1:5.8.0
+Obsoletes:     perl-SGMLSpm
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -16,8 +22,10 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This distribution contains SGMLS.pm, a perl5 class library for parsing
 the output from James Clark's SGMLS and NSGMLS parsers.
 
-# %description -l pl
-# TODO
+%description -l pl.UTF-8
+Pakiet ten zawiera bibliotekę klas Perla 5 SGMLS.pm służącą do
+przetwarzania wyjścia z analizatorów składniowych SGMLS i NSGMLS
+Jamesa Clarka.
 
 %prep
 %setup -q -n SGMLSpm
@@ -33,6 +41,8 @@ touch Makefile.PL
        INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.056541 seconds and 4 git commands to generate.