3 Summary: Getopt::Mixed - getopt processing with both long and short options
4 Summary(pl.UTF-8): Getopt::Mixed - obsługa długich i krótkich opcji
5 Name: perl-Getopt-Mixed
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5: 9d384322a4368b326efdf899bce5838a
12 URL: http://search.cpan.org/dist/Getopt-Mixed/
13 BuildRequires: perl-devel >= 1:5.8.0
14 BuildRequires: rpm-perlprov >= 4.1-13
15 Provides: perl(Getopt::Mixed) = %{version}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The Getopt::Mixed Perl module is intended to be the
21 "Getopt-to-end-all-Getop's". It combines flexibility and simplicity.
22 It supports both short options (introduced by "-") and long options
23 (introduced by "--"). Short options which do not take an argument can
24 be grouped together. Short options which do take an argument must be
25 the last option in their group, because everything following the
26 option will be considered to be its argument.
28 %description -l pl.UTF-8
29 Moduł Perla Getopt::Mixed został pomyślany jako zastępujący wszystkie
30 podprogramy do pobierania opcji. Łączy w sobie elastyczność i
31 prostotę. Obsługuje zarówno opcje krótkie (poprzedzone "-"), jak i
32 długie (poprzedzone "--"). Krótkie opcje bezargumentowe muszą być
33 ostatnimi w swojej grupie, gdyż wszystko, co następuje po takiej opcji
34 byłoby traktowane jako jej argument.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %{perl_vendorlib}/Getopt/Mixed.pm