Author: qboosh Date: Sun Aug 20 09:20:50 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - pl
---- Files affected: SPECS: perl-Module-Load.spec (1.3 -> 1.4) ---- Diffs: ================================================================ Index: SPECS/perl-Module-Load.spec diff -u SPECS/perl-Module-Load.spec:1.3 SPECS/perl-Module-Load.spec:1.4 --- SPECS/perl-Module-Load.spec:1.3 Sun Aug 20 11:12:42 2006 +++ SPECS/perl-Module-Load.spec Sun Aug 20 11:20:45 2006 @@ -2,12 +2,13 @@ # # Conditional build: %bcond_without autodeps # don't BR packages needed only for resolving deps -%bcond_without tests # do not perform "make test" +%bcond_without tests # do not perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir Module %define pnam Load -Summary: perl(Module::Load) - runtime require of both modules and files +Summary: Module::Load - runtime require of both modules and files +Summary(pl): Module::Load - wymaganie zarówno modułów jak i plików w czasie działania programu Name: perl-Module-Load Version: 0.10 Release: 0.1 @@ -16,26 +17,38 @@ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: ee40eb2fa3059381e43d1f14d414fe67 -URL: http://search.cpan.org/dist/Module-Load +URL: http://search.cpan.org/dist/Module-Load/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 %if %{with autodeps} || %{with tests} -# didnt found any required module, maybe i have to much installed to find +# didn't found any required module, maybe i have to much installed to find #BuildRequires: perl-Fi %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Perl module Module::Load eliminates the need to know whether you are trying to -require either a file or a module. If you consult "perldoc -f require" you will -see that "require" will behave differently when given a bareword or a string. -In the case of a string, "require" assumes you are wanting to load a file. But -in the case of a bareword, it assumes you mean a module. -This gives nasty overhead when you are trying to dynamically require modules at -runtime, since you will need to change the module notation ("Acme::Comment") to -a file notation fitting the particular platform you are on. -This module elimates the need for this overhead and will just DWYM. +Perl module Module::Load eliminates the need to know whether you are +trying to require either a file or a module. If you consult "perldoc +-f require" you will see that "require" will behave differently when +given a bareword or a string. In the case of a string, "require" +assumes you are wanting to load a file. But in the case of a bareword, +it assumes you mean a module. This gives nasty overhead when you are +trying to dynamically require modules at runtime, since you will need +to change the module notation ("Acme::Comment") to a file notation +fitting the particular platform you are on. This module elimates the +need for this overhead and will just DWYM. + +%description -l pl +Moduł Perla Module::Load eliminuje potrzebę wiedzy, czy próbujemy +wczytać plik, czy moduł. Zgodnie z "perldoc -f require" instrukcja +"require" zachowuje się różnie w przypadku podania słowa i łańcucha. W +przypadku łańcucha "require" zakłada, że chcemy wczytać plik. +Natomiast w przypadku słowa, zakłada, ze chodzi o moduł. Daje to +dodatkowy narzut jeśli próbujemy dynamicznie wczytywać moduły w czasie +działania programu, ponieważ musimy zmieniać notację modułową +("Acme::Comment") na notację plikową dopasowując się do platformy. Ten +moduł eliminuje potrzebę tego narzutu i robi to, o co chodzi. %prep %setup -q -n %{pdir}-%{pnam}-%{version} @@ -69,6 +82,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.4 2006/08/20 09:20:45 qboosh +- pl + Revision 1.3 2006/08/20 09:12:42 qboosh - typo @@ -77,4 +93,3 @@ Revision 1.1 2006/07/26 18:34:34 agaran - initial, ver 0.10, rel 0.1, no description yet, NFY, WIP - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/perl-Module-Load.spec?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
