SPECS: perl-Sub-Exporter.spec - pl - generic URL

qboosh qboosh at pld-linux.org
Sun Jun 3 01:28:58 CEST 2007


Author: qboosh                       Date: Sat Jun  2 23:28:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- generic URL

---- Files affected:
SPECS:
   perl-Sub-Exporter.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Sub-Exporter.spec
diff -u SPECS/perl-Sub-Exporter.spec:1.1 SPECS/perl-Sub-Exporter.spec:1.2
--- SPECS/perl-Sub-Exporter.spec:1.1	Sun May 27 02:28:36 2007
+++ SPECS/perl-Sub-Exporter.spec	Sun Jun  3 01:28:53 2007
@@ -7,46 +7,38 @@
 %define	pdir	Sub
 %define	pnam	Exporter
 Summary:	Sub::Exporter - a sophisticated exporter for custom-built routines
-#Summary(pl):
+Summary(pl.UTF-8):	Sub::Exporter - wymyślny eksporter dla własnych funkcji
 Name:		perl-Sub-Exporter
 Version:	0.974
 Release:	1
 # 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:	http://www.cpan.org/modules/by-module/Sub/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	916be83adf51eb8a0412f98e72605c88
+URL:		http://search.cpan.org/dist/Sub-Exporter/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
-BuildRequires:	perl(Data::OptList) >= 0.1
-BuildRequires:	perl(Params::Util) >= 0.14
-BuildRequires:	perl(Sub::Install) >= 0.92
+BuildRequires:	perl-Data-OptList >= 0.1
+BuildRequires:	perl-Params-Util >= 0.14
+BuildRequires:	perl-Sub-Install >= 0.92
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-ACHTUNG! If you're not familiar with Exporter or exporting, read
-Sub::Exporter::Tutorial first!
-
 The biggest benefit of Sub::Exporter over existing exporters
 (including the ubiquitous Exporter.pm) is its ability to build new
 coderefs for export, rather than to simply export code identical to
 that found in the exporting package.
 
-If your module's consumers get a routine that works like this:
-
-use Data::Analyze qw(analyze); my $value = analyze($data, $tolerance,
-$passes);
-
-and they constantly pass only one or two different set of values for
-the non-$data arguments, your code can benefit from Sub::Exporter. By
-writing a simple generator, you can let them do this, instead:
-
-
-
-# %description -l pl # TODO
+%description -l pl.UTF-8
+Największą zaletą modułu Sub::Exporter w stosunku do istniejących
+wcześniej eksporterów (wraz z wszechobecnym Exporter.pm) jest
+możliwość budowania nowych coderefów do exportowania zamiast zwykłego
+eksportowania kodu identycznego do tego, jaki można znaleźć w
+eksportowanym pakiecie.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -71,7 +63,6 @@
 %defattr(644,root,root,755)
 %doc Changes README
 %{perl_vendorlib}/Sub/*.pm
-#%%{perl_vendorlib}/Sub/Exporter
 %{_mandir}/man3/*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -80,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/06/02 23:28:53  qboosh
+- pl
+- generic URL
+
 Revision 1.1  2007/05/27 00:28:36  agaran
 - initial, 0.974, rel 1, builds here
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Sub-Exporter.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list