]> git.pld-linux.org Git - packages/perl-List-MoreUtils.git/blobdiff - perl-List-MoreUtils.spec
- x32 rebuild
[packages/perl-List-MoreUtils.git] / perl-List-MoreUtils.spec
index 0fc9cac9c64c205176b4d0abb3b3e1d0bf5af487..198ef630c55ece180633ff781fe4720763812d17 100644 (file)
@@ -6,18 +6,24 @@
 %define                pdir    List
 %define                pnam    MoreUtils
 Summary:       List::MoreUtils - provide the stuff missing in List::Util
-Summary(pl):   List::MoreUtils - dostarczenie elementów brakuj±cych w List::Util
+Summary(pl.UTF-8):     List::MoreUtils - dostarczenie elementów brakujących w List::Util
 Name:          perl-List-MoreUtils
-Version:       0.07
-Release:       1
+Version:       0.403
+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: a48ad3a3701c71f9e6ea1f37ed8033a9
+Source0:       http://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ea3a04e59fdc599389370d1d6ddde7bc
 URL:           http://search.cpan.org/dist/List-MoreUtils/
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.86
+BuildRequires: perl-ExtUtils-CBuilder >= 0.27
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Exporter-Tiny >= 0.038
+BuildRequires: perl-Test-Simple >= 0.90
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,16 +36,16 @@ better performance as everything is implemented in C. The pure-Perl
 implementation of these functions only serves as a fallback in case
 the C portions of this module couldn't be compiled on this machine.
 
-%description -l pl
-List::MoreUtils dostarcza prostych, ale czêsto potrzebnych funkcji do
-operacji na listach - elementy, które nie zostan± do³±czone do
+%description -l pl.UTF-8
+List::MoreUtils dostarcza prostych, ale często potrzebnych funkcji do
+operacji na listach - elementy, które nie zostaną dołączone do
 List::Util.
 
-Wszystkie z funkcji s± mo¿liwe do implementowania w jednej linijce
-kodu Perla. U¿ywanie funkcji z tego modu³u mo¿e jednak daæ odrobinê
-wiêksz± wydajno¶æ jako, ¿e ca³o¶æ zosta³a napisana w C. Implementacja
-napisana w Perlu s³u¿y w sytuacjach wyj±tkowych w przypadkach, gdy
-elementy modu³u napisane w C nie mog± zostaæ skompilowane na maszynie.
+Wszystkie z funkcji są możliwe do implementowania w jednej linijce
+kodu Perla. Używanie funkcji z tego modułu może jednak dać odrobinę
+większą wydajność jako, że całość została napisana w C. Implementacja
+napisana w Perlu służy w sytuacjach wyjątkowych w przypadkach, gdy
+elementy modułu napisane w C nie mogą zostać skompilowane na maszynie.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -49,6 +55,7 @@ elementy modu
        INSTALLDIRS=vendor
 
 %{__make} \
+       CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
@@ -65,5 +72,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_vendorarch}/List/*.pm
-%{_mandir}/man3/*
+%dir %{perl_vendorarch}/List
+%{perl_vendorarch}/List/MoreUtils.pm
+%{perl_vendorarch}/List/MoreUtils
+%dir %{perl_vendorarch}/auto/List/MoreUtils
+%attr(755,root,root) %{perl_vendorarch}/auto/List/MoreUtils/MoreUtils.so
+%{_mandir}/man3/List::MoreUtils*.3pm*
This page took 0.053009 seconds and 4 git commands to generate.