[packages/perl-List-UtilsBy] - updated to 0.10 - pl

qboosh qboosh at pld-linux.org
Tue Nov 29 18:36:52 CET 2016


commit d45ba9d2546ae4a34892e958f5c3121d7c7c7117
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 29 18:37:16 2016 +0100

    - updated to 0.10
    - pl

 perl-List-UtilsBy.spec | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/perl-List-UtilsBy.spec b/perl-List-UtilsBy.spec
index 3cfdacb..346ac6f 100644
--- a/perl-List-UtilsBy.spec
+++ b/perl-List-UtilsBy.spec
@@ -6,34 +6,45 @@
 %define		pnam	UtilsBy
 %include	/usr/lib/rpm/macros.perl
 Summary:	List::UtilsBy - higher-order list utility functions
+Summary(pl.UTF-8):	List::UtilsBy - funkcje narzędziowe do list wyższego poziomu
 Name:		perl-List-UtilsBy
-Version:	0.08
+Version:	0.10
 Release:	1
-# same as perl
+# same as perl 5
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	df0226ccd6f8ebf8b5965e408dca8662
+# Source0-md5:	2b4e2ffdfa99ab3eba8e221545c67522
 URL:		http://search.cpan.org/dist/List-UtilsBy/
-BuildRequires:	perl-Module-Build
+BuildRequires:	perl-Module-Build >= 0.4004
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Exporter) >= 5.57
+BuildRequires:	perl-Test-Simple >= 0.88
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This module provides a number of list utility functions, all of which
 take an initial code block to control their behaviour. They are
-variations on similar core perl or List::Util functions of similar
+variations on similar core Perl or List::Util functions of similar
 names, but which use the block to control their behaviour. For
 example, the core Perl function sort takes a list of values and
 returns them, sorted into order by their string value. The sort_by
 function sorts them according to the string value returned by the
 extra function, when given each value.
 
- my @names_sorted = sort @names;
-
- my @people_sorted = sort_by { $_->name } @people;
+%description -l pl.UTF-8
+Ten moduł udostępnia sporo funkcji narzędziowych do list,
+przyjmujących początkowy blok kodu sterujący ich zachowaniem. Są to
+warianty podobnych funkcji podstawowych Perla lub List::Util o
+podobnych nazwach, ale wykorzystujące blok do sterowania zachowaniem.
+Na przykład, funkcja podstawowa Perla sort przyjmuje listę wartości i
+je zwraca w kolejności posortowanej według wartości jako łańcuchów.
+Funkcja sort_by sortuje wartości według wartości łańcucha zwracanej
+przez dodatkową funkcję, której przekazywana jest każda wartość.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -57,5 +68,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_vendorlib}/List/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/List/UtilsBy.pm
+%{_mandir}/man3/List::UtilsBy.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-List-UtilsBy.git/commitdiff/d45ba9d2546ae4a34892e958f5c3121d7c7c7117



More information about the pld-cvs-commit mailing list