]> git.pld-linux.org Git - packages/perl-Data-OptList.git/commitdiff
- generic URL
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Jun 2007 23:08:12 +0000 (23:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pl (but simplified desc - whole story is too long)

Changed files:
    perl-Data-OptList.spec -> 1.2

perl-Data-OptList.spec

index bf68c3ffdd03091c0256a926fd2fb3a656f16b17..5d3f5d855dc8bc2d07c1a44aea034cbc8879bffb 100644 (file)
@@ -6,50 +6,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}
@@ -74,5 +54,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes README
 %{perl_vendorlib}/Data/*.pm
-#%%{perl_vendorlib}/Data/OptList
 %{_mandir}/man3/*
This page took 0.106954 seconds and 4 git commands to generate.