]> git.pld-linux.org Git - packages/perl-Getopt-ArgvFile.git/blob - perl-Getopt-ArgvFile.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Getopt-ArgvFile.git] / perl-Getopt-ArgvFile.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Getopt
6 %define         pnam    ArgvFile
7 Summary:        Getopt::ArgvFile - interpolates script options from files into @ARGV
8 Summary(pl.UTF-8):      Getopt::ArgvFile - interpolacja opcji skryptu z pliku do @ARGV
9 Name:           perl-Getopt-ArgvFile
10 Version:        1.11
11 Release:        1
12 License:        Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Getopt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  42117db2af4a24c062b2da25d4fdf756
16 URL:            http://search.cpan.org/dist/Getopt-ArgvFile/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The Getopt::ArgvFile Perl module simply interpolates option file hints
24 in @ARGV by the contents of the pointed files. This enables option
25 reading from files instead of or additional to the usual reading from
26 the command line.
27
28 %description -l pl.UTF-8
29 Moduł Perla Getopt::ArgvFile służy do interpolacji opcji skryptu z
30 pliku do @ARGV poprzez zawartość wskazywanych plików. Włącza to odczyt
31 opcji z pliku zamiast lub oprócz zwykłego ich odczytu z linii
32 polecenia.
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40 %{__make}
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README
56 %{perl_vendorlib}/Getopt/ArgvFile.pm
57 %{_mandir}/man3/Getopt::ArgvFile.3pm*
This page took 0.117372 seconds and 4 git commands to generate.