]> git.pld-linux.org Git - packages/perl-File-CounterFile.git/blobdiff - perl-File-CounterFile.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-File-CounterFile.git] / perl-File-CounterFile.spec
index 1f3fc7f780a5d560493df9d9ce38af3a5e2a8548..fbc3835cb9ef0f712b1b2c68571ed1ed5a1331f9 100644 (file)
@@ -1,44 +1,38 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
-%define        pdir    File
-%define        pnam    CounterFile
-Summary:       File::CounterFile Perl module
-Summary(cs):   Modul File::CounterFile pro Perl
-Summary(da):   Perlmodul File::CounterFile
-Summary(de):   File::CounterFile Perl Modul
-Summary(es):   Módulo de Perl File::CounterFile
-Summary(fr):   Module Perl File::CounterFile
-Summary(it):   Modulo di Perl File::CounterFile
-Summary(ja):   File::CounterFile Perl ¥â¥¸¥å¡¼¥ë
-Summary(ko):   File::CounterFile ÆÞ ¸ðÁÙ
-Summary(nb):   Perlmodul File::CounterFile
-Summary(pl):   Modu³ Perla File::CounterFile
-Summary(pt):   Módulo de Perl File::CounterFile
-Summary(pt_BR):        Módulo Perl File::CounterFile
-Summary(ru):   íÏÄÕÌØ ÄÌÑ Perl File::CounterFile
-Summary(sv):   File::CounterFile Perlmodul
-Summary(uk):   íÏÄÕÌØ ÄÌÑ Perl File::CounterFile
-Summary(zh_CN):        File::CounterFile Perl Ä£¿é
+%bcond_without tests # do not perform "make test"
+
+%define                pdir    File
+%define                pnam    CounterFile
+Summary:       File::CounterFile - persistent counter class
+Summary(pl.UTF-8):     File::CounterFile - klasa trwałych liczników
 Name:          perl-File-CounterFile
 Version:       1.04
-Release:       1
-License:       GPL
+Release:       2
+# 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: df77e2dbc80aa3ec9647a570bb5e0cf8
+URL:           http://search.cpan.org/dist/File-CounterFile/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-File::CounterFile - Persistent counter class.
-
-%description -l pl
-Modu³ perla File::CounterFile.
+The File::CounterFile Perl module implements a persistent counter
+class. Each counter is represented by a separate file in the file
+system. File locking is applied, so multiple processes might try to
+access the same counters at the same time without risk of counter
+destruction.
+
+%description -l pl.UTF-8
+Moduł Perla File::CounterFile stanowi implementację klasy trwałych
+liczników. Każdy z liczników jest reprezentowany przez osobny plik w
+systemie plików. Można stosować są blokady plików, aby z tych samych
+liczników mogło korzystać jednocześnie wiele procesów, bez ryzyka
+uszkodzenia licznika.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -46,13 +40,16 @@ Modu
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
+
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.489469 seconds and 4 git commands to generate.