SPECS: perl-ex-override.spec - pl, generic URL

qboosh qboosh at pld-linux.org
Sun Aug 20 14:40:35 CEST 2006


Author: qboosh                       Date: Sun Aug 20 12:40:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, generic URL

---- Files affected:
SPECS:
   perl-ex-override.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-ex-override.spec
diff -u SPECS/perl-ex-override.spec:1.1 SPECS/perl-ex-override.spec:1.2
--- SPECS/perl-ex-override.spec:1.1	Mon Jul 31 23:58:27 2006
+++ SPECS/perl-ex-override.spec	Sun Aug 20 14:40:30 2006
@@ -7,7 +7,7 @@
 %define	pdir	ex
 %define	pnam	override
 Summary:	ex::override - Perl pragma to override core functions
-#Summary(pl):	
+Summary(pl):	ex::override - możliwość przeciążania głównych funkcji Perla
 Name:		perl-ex-override
 Version:	1.1
 Release:	1
@@ -16,25 +16,35 @@
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	1247bd4ec9dae4cb2f250fd5af990668
+URL:		http://search.cpan.org/dist/ex-override/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-"ex::override" is an easy way to override core perl functions.
+"ex::override" is an easy way to override core Perl functions:
 
   use ex::override
     length => \&mylength,
     open   => \&myopen;
 
-Overriding a core function happens at compile time.  Arguments are passed
-to "ex::override" in a name based, or hash style.  The key is the name
-of the core function to override, the value is your subroutine to replace
-the core's.
+Overriding a core function happens at compile time. Arguments are
+passed to "ex::override" in a name based, or hash style. The key is
+the name of the core function to override, the value is your
+subroutine to replace the core's.
 
-# %description -l pl
-# TODO
+%description -l pl
+"ex::override" to prosty sposób przeciążania głównych funkcji Perla:
+
+  use ex::override
+    length => \&mylength,
+    open   => \&myopen;
+
+Przeciążanie głównej funkcji następuje w czasie kompilacji. Argumenty
+są przekazywane do "ex::override" w oparciu o nazwy lub w stylu
+tablicy asocjacyjnej. Kluczem jest nazwa głównej funkcji do
+przeciążenia, a wartością własna procedura mająca zastąpić perlową.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -67,6 +77,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/08/20 12:40:30  qboosh
+- pl, generic URL
+
 Revision 1.1  2006/07/31 21:58:27  radek
 - new
-
================================================================

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



More information about the pld-cvs-commit mailing list