]> git.pld-linux.org Git - packages/perl-Getopt-Declare.git/blob - perl-Getopt-Declare.spec
cleanup; revision++
[packages/perl-Getopt-Declare.git] / perl-Getopt-Declare.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Getopt
3 %define pnam    Declare
4 Summary:        Getopt-Declare perl module
5 Summary(pl):    Modu³ perla Getopt-Declare
6 Name:           perl-Getopt-Declare
7 Version:        1.09
8 Release:        4
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{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 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Getopt-Declare is yet another command-line argument parser, one which
21 is specifically designed to be powerful but exceptionally easy to use.
22
23 %description -l pl
24 Getopt-Declare jest jeszcze jednym parserem argumentów linii poleceñ,
25 o wielkich mozliwo¶ciach, a jednocze¶nie wyj±tkowo ³atwym w u¿yciu.
26
27 %prep
28 %setup -q -n %{pdir}-%{pnam}-%{version}
29 %patch -p1
30
31 %build
32 perl Makefile.PL
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 install demo* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42
43 gzip -9nf Changes README
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc *.gz
51 %{perl_sitelib}/Getopt/Declare.pm
52 %{_mandir}/man3/*
53 %{_examplesdir}/%{name}-%{version}
This page took 0.058879 seconds and 4 git commands to generate.