SPECS: perl-Data-OptList.spec - generic URL - pl (but simplified d...
qboosh
qboosh at pld-linux.org
Sun Jun 3 01:08:17 CEST 2007
Author: qboosh Date: Sat Jun 2 23:08:17 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- generic URL
- pl (but simplified desc - whole story is too long)
---- Files affected:
SPECS:
perl-Data-OptList.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/perl-Data-OptList.spec
diff -u SPECS/perl-Data-OptList.spec:1.1 SPECS/perl-Data-OptList.spec:1.2
--- SPECS/perl-Data-OptList.spec:1.1 Sun May 27 02:25:57 2007
+++ SPECS/perl-Data-OptList.spec Sun Jun 3 01:08:12 2007
@@ -7,50 +7,30 @@
%define pdir Data
%define pnam OptList
Summary: Data::OptList - parse and validate simple name/value option pairs
-#Summary(pl):
+Summary(pl): Data::OptList - analiza i sprawdzanie poprawności prostych par opcji nazwa/wartość
Name: perl-Data-OptList
Version: 0.101
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/Data/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 6e9bb994a8716112a78c1306261f4164
+URL: http://search.cpan.org/dist/Data-OptList/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
-BuildRequires: perl(Params::Util) >= 0.14
-BuildRequires: perl(Sub::Install) >= 0.92
+BuildRequires: perl-Params-Util >= 0.14
+BuildRequires: perl-Sub-Install >= 0.92
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Hashes are great for storing named data, but if you want more than one entry
-for a name, you have to use a list of pairs. Even then, this is really boring
-to write:
+Data::OptList simplifies storing name/value pairs.
- @values = (
- foo => undef,
- bar => undef,
- baz => undef,
- xyz => { ... },
- );
-
-Just look at all those undefs! Don't worry, we can get rid of those:
-
- @values = (
- map { $_ => undef } qw(foo bar baz),
- xyz => { ... },
- );
-
-Aaaauuugh! We've saved a little typing, but now it requires thought to read,
-and thinking is even worse than typing.
-
-
-
-# %description -l pl
-# TODO
+%description -l pl
+Data::OptList upraszcza zapisywanie par nazwa/wartość.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -75,7 +55,6 @@
%defattr(644,root,root,755)
%doc Changes README
%{perl_vendorlib}/Data/*.pm
-#%%{perl_vendorlib}/Data/OptList
%{_mandir}/man3/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -84,6 +63,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007/06/02 23:08:12 qboosh
+- generic URL
+- pl (but simplified desc - whole story is too long)
+
Revision 1.1 2007/05/27 00:25:57 agaran
- initial, ver 0.101, rel 1, builds here
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-Data-OptList.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list