]> git.pld-linux.org Git - packages/perl-Tie-IxHash.git/blobdiff - perl-Tie-IxHash.spec
- spaces -> tabs
[packages/perl-Tie-IxHash.git] / perl-Tie-IxHash.spec
index bfa5812cc37db32b223fd23180f9379406410dca..0e2108422f455e719fb61b22d4c72c325143cf1f 100644 (file)
@@ -1,52 +1,51 @@
-%define                perl_sitelib    %(eval "`perl -V:installsitelib`"; echo $installsitelib)
-Summary:       Tie-IxHash perl module
-Summary(pl):   Modu³ perla Tie-IxHash
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Tie
+%define        pnam    IxHash
+Summary:       Tie::IxHash - ordered associative arrays for Perl
+Summary(pl):   Tie::IxHash - uporz±dkowane tablica asocjacyjne dla Perla
 Name:          perl-Tie-IxHash
 Version:       1.21
-Release:       3
-Copyright:     GPL
+Release:       10
+License:       GPL
 Group:         Development/Languages/Perl
-Group(pl):     Programowanie/Jêzyki/Perl
-Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/Tie/Tie-IxHash-%{version}.tar.gz
-BuildRequires: perl >= 5.005_03-10
-%requires_eq   perl
-Requires:      %{perl_sitearch}
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 4.0.2-104
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Tie-IxHash perl module. 
+This Perl module implements Perl hashes that preserve the order in
+which the hash elements were added. The order is not affected when
+values corresponding to existing keys in the IxHash are changed. The
+elements can also be set to any arbitrary supplied order. The familiar
+perl array operations can also be performed on the IxHash.
 
 %description -l pl
-Modu³ perla Tie-IxHash.
+Ten modu³ Perla jest implementacj± haszy, które zachowuj± kolejno¶æ, w
+jakiej elementy by³y dodawane. Kolejno¶æ nie ulega zmianie kiedy
+modyfikowane s± warto¶ci odpowiadaj±ce istniej±cym kluczom w obiekcie
+IxHash. Elementy mog± byæ tak¿e ustawiane w zadanej kolejno¶ci. Znane
+operacje na tablicach perlowych mog± byæ tak¿e wykonywane na typie
+IxHash.
 
 %prep
-%setup -q -n Tie-IxHash-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
-make
+%{__perl} Makefile.PL
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Tie/IxHash
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv .packlist.new .packlist
-)
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        Changes README
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {Changes,README}.gz
-
+%doc Changes README
 %{perl_sitelib}/Tie/IxHash.pm
-%{perl_sitearch}/auto/Tie/IxHash
-
 %{_mandir}/man3/*
This page took 0.13831 seconds and 4 git commands to generate.