]> git.pld-linux.org Git - packages/perl-SGMLS.git/blobdiff - perl-SGMLS.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-SGMLS.git] / perl-SGMLS.spec
index 55e92faea449c0ba1f9fae241e3da1a6f1283239..c1f34178177ccf518e82dff2ea410de06aace131 100644 (file)
@@ -1,15 +1,20 @@
-%include       /usr/lib/rpm/macros.perl
+#
+# Conditional build:
+%bcond_with    tests   # perform "make test"
+
+%define                pdir    SGMLS
 Summary:       SGMLS - postprocessing the output from the SGMLS and NSGMLS parsers
-Summary(pl):   SGMLS - przetwarzanie wyj¶cia z analizatorów sk³adni: SGMLS i NSGMLS
+Summary(pl.UTF-8):     SGMLS - przetwarzanie wyjścia z analizatorów składni: SGMLS i NSGMLS
 Name:          perl-SGMLS
 Version:       1.03ii
-Release:       12
-License:       GPL
+Release:       15
+License:       GPL v2
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/SGMLS/SGMLSpm-%{version}.tar.gz
-# Source0-md5: 5bcb197fd42e67d51c739b1414d514a7
+# Source0-md5: 5bcb197fd42e67d51c739b1414d514a7
+URL:           http://search.cpan.org/dist/SGMLS-/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.6
 Obsoletes:     perl-SGMLSpm
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -18,9 +23,9 @@ 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
-Pakiet ten zawiera bibliotekê klas Perla 5 SGMLS.pm s³u¿±c± do
-przetwarzania wyj¶cia z analizatorów sk³adniowych SGMLS i NSGMLS
+%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
@@ -37,6 +42,8 @@ touch Makefile.PL
        INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.028191 seconds and 4 git commands to generate.