]> git.pld-linux.org Git - packages/perl-Array-Unique.git/blobdiff - perl-Array-Unique.spec
- updated to 0.08
[packages/perl-Array-Unique.git] / perl-Array-Unique.spec
index 3e6f04b6a1542b42412cf405ac8241173a3cb099..6d4eeae7ea27b86cc7caa3632cb2dd266408688b 100644 (file)
@@ -1,61 +1,52 @@
 #
 # 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    Array
-%define        pnam    Unique
-Summary:       %{pdir}::%{pnam} perl module
-Summary(cs):   Modul %{pdir}::%{pnam} pro Perl
-Summary(da):   Perlmodul %{pdir}::%{pnam}
-Summary(de):   %{pdir}::%{pnam} Perl Modul
-Summary(es):   Módulo de Perl %{pdir}::%{pnam}
-Summary(fr):   Module Perl %{pdir}::%{pnam}
-Summary(it):   Modulo di Perl %{pdir}::%{pnam}
-Summary(ja):   %{pdir}::%{pnam} Perl ¥â¥¸¥å¡¼¥ë
-Summary(ko):   %{pdir}::%{pnam} ÆÞ ¸ðÁÙ
-Summary(no):   Perlmodul %{pdir}::%{pnam}
-Summary(pl):   Modu³ perla %{pdir}::%{pnam}
-Summary(pt_BR):        Módulo Perl %{pdir}::%{pnam}
-Summary(pt):   Módulo de Perl %{pdir}::%{pnam}
-Summary(ru):   íÏÄÕÌØ ÄÌÑ Perl %{pdir}::%{pnam}
-Summary(sv):   %{pdir}::%{pnam} Perlmodul
-Summary(uk):   íÏÄÕÌØ ÄÌÑ Perl %{pdir}::%{pnam}
-Summary(zh_CN):        %{pdir}::%{pnam} Perl Ä£¿é
-Name:          perl-%{pdir}-%{pnam}
-Version:       0.03
-Release:       2
-License:       GPL/Artistic
+%define                pdir    Array
+%define                pnam    Unique
+Summary:       Array::Unique - tieable array that allows only unique values
+Summary(pl.UTF-8):     Array::Unique - macierz pozwalająca jedynie na unikalne wartości
+Name:          perl-Array-Unique
+Version:       0.08
+Release:       1
+License:       GPL or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 076d841a59620d2a672a287f32f53673
+Source0:       http://www.cpan.org/modules/by-module/Array/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: e3fc4333a97c360348b8c7d0b6b94e83
+URL:           http://search.cpan.org/dist/Array-Unique/
+%{?with_tests:BuildRequires:   perl-Tie-IxHash}
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.005
-%{!?_without_tests:BuildRequires:      perl-Tie-IxHash}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Array::Compare is a Perl module which allows you to compare two arrays.
+Array::Compare is a Perl module lets you create an array which will
+allow only one occurence of any value. Attempt to put in an already
+existing value has no effect.
 
-%description -l pl
-Array::Compare jest rozszerzeniem Perla, umo¿liwiaj±cym porównywanie
-dwóch tablic
+%description -l pl.UTF-8
+Array::Compare jest rozszerzeniem Perla umożliwiającym tworzenie
+tablic akceptujących jedynie pojedyncze wystąpienia poszczególnych
+wartości. Proba dopisania do tablicy istniejącej już w niej wartości
+będzie ignorowana.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       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
@@ -63,6 +54,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_vendorlib}/%{pdir}/%{pnam}.pm
-%{perl_vendorlib}/%{pdir}/%{pnam}
-%{_mandir}/man3/*.3pm*
+%{perl_vendorlib}/Array/Unique.pm
+%{_mandir}/man3/*
This page took 0.085353 seconds and 4 git commands to generate.