[packages/perl-Sub-Exporter-Progressive] - pl, tests BR

qboosh qboosh at pld-linux.org
Thu Jun 20 15:40:07 CEST 2013


commit 2f1adba17d80a513203890339c7ad89d30314049
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jun 20 15:40:26 2013 +0200

    - pl, tests BR

 perl-Sub-Exporter-Progressive.spec | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)
---
diff --git a/perl-Sub-Exporter-Progressive.spec b/perl-Sub-Exporter-Progressive.spec
index 2d53b90..77ba1df 100644
--- a/perl-Sub-Exporter-Progressive.spec
+++ b/perl-Sub-Exporter-Progressive.spec
@@ -6,6 +6,7 @@
 %define		pnam	Exporter-Progressive
 %include	/usr/lib/rpm/macros.perl
 Summary:	Sub::Exporter::Progressive - Only use Sub::Exporter if you need it
+Summary(pl.UTF-8):	Sub::Exporter::Progressive - użycie Sub::Exporter tylko w razie potrzeby
 Name:		perl-Sub-Exporter-Progressive
 Version:	0.001010
 Release:	1
@@ -15,24 +16,41 @@ Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Sub/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	0350d9e12549112ae1f618cbff3ecbd9
 URL:		http://search.cpan.org/dist/Sub-Exporter-Progressive/
+%if %{with tests}
+BuildRequires:	perl-Test-Simple >= 0.88
+%endif
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Sub::Exporter is an incredibly powerful module, but with that power comes
-great responsibility, er- as well as some runtime penalties.  This module
-is a Sub::Exporter wrapper that will let your users just use Exporter
-if all they are doing is picking exports, but use Sub::Exporter if your
-users try to use Sub::Exporter's more advanced features features, like
-renaming exports, if they try to use them.
+Sub::Exporter is an incredibly powerful module, but with that power
+comes great responsibility, er- as well as some runtime penalties.
+This module is a Sub::Exporter wrapper that will let your users just
+use Exporter if all they are doing is picking exports, but use
+Sub::Exporter if your users try to use Sub::Exporter's more advanced
+features features, like renaming exports, if they try to use them.
 
 Note that this module will export @EXPORT, @EXPORT_OK and
 %EXPORT_TAGS package variables for Exporter to work.  Additionally, if
 your package uses advanced Sub::Exporter features like currying, this module
 will only ever use Sub::Exporter, so you might as well use it directly.
 
+%description -l pl.UTF-8
+Sub::Exporter to zaskakująco potężny moduł, ale wraz z mocą wiąże się
+odpowiedzialność - tzn. pewne narzuty w czasie działania. Niniejszy
+moduł obudowuje Sub::Exporter w ten sposób, że użyje modułu Exporter
+do samego pobierania eksportów, ale modułu Sub::Exporter w przypadku
+próby użycia bardziej zaawansowanych możliwości, takich jak zmiana
+nazw eksportów.
+
+Uwaga: ten moduł eksportuje zmienne pakietu @EXPORT, @EXPORT_OK oraz
+%EXPORT_TAGS, aby mógł działać Exporter. Ponadto, jeśli używający go
+pakiet wykorzystuje zaawansowane możliwości modułu Sub::Exporter,
+takie jak curry, ten moduł będzie używał wyłącznie modułu
+Sub::Exporter, więc równie dobrze można używać go bezpośrednio.
+
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
@@ -55,5 +73,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_vendorlib}/Sub/Exporter/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Sub/Exporter/Progressive.pm
+%{_mandir}/man3/Sub::Exporter::Progressive.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Sub-Exporter-Progressive.git/commitdiff/2f1adba17d80a513203890339c7ad89d30314049



More information about the pld-cvs-commit mailing list