1 %include /usr/lib/rpm/macros.perl
2 Summary: Getopt-Declare perl module
3 Summary(pl): Modu³ perla Getopt-Declare
4 Name: perl-Getopt-Declare
8 Group: Development/Languages/Perl
9 Group(de): Entwicklung/Sprachen/Perl
10 Group(pl): Programowanie/Jêzyki/Perl
11 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Getopt/Getopt-Declare-%{version}.tar.gz
12 Patch0: %{name}-paths.patch
13 BuildRequires: rpm-perlprov >= 3.0.3-16
14 BuildRequires: perl >= 5.6
15 BuildRequires: perl-Parse-RecDescent
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Getopt-Declare is yet another command-line argument parser, one which
20 is specifically designed to be powerful but exceptionally easy to use.
23 Getopt-Declare jest jeszcze jednym parserem argumentów linii poleceñ,
24 o wielkich mozliwo¶ciach, a jednocze¶nie wyj±tkowo ³atwym w u¿yciu.
27 %setup -q -n Getopt-Declare-%{version}
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40 install demo* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42 gzip -9nf Changes README
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %{perl_sitelib}/Getopt/Declare.pm
52 %{_examplesdir}/%{name}-%{version}