]> git.pld-linux.org Git - packages/perl-Getopt-Declare.git/blob - perl-Getopt-Declare.spec
- autoupdated to 1.09
[packages/perl-Getopt-Declare.git] / perl-Getopt-Declare.spec
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
5 Version:        1.09
6 Release:        1
7 License:        GPL
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)
17
18 %description
19 Getopt-Declare is yet another command-line argument parser, one which
20 is specifically designed to be powerful but exceptionally easy to use.
21
22 %description -l pl
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.
25
26 %prep
27 %setup -q -n Getopt-Declare-%{version}
28 %patch -p1
29
30 %build
31 perl Makefile.PL
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 install demo* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
41
42 gzip -9nf Changes README
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc *.gz
50 %{perl_sitelib}/Getopt/Declare.pm
51 %{_mandir}/man3/*
52 %{_examplesdir}/%{name}-%{version}
This page took 0.110128 seconds and 4 git commands to generate.