]> git.pld-linux.org Git - SPECS.git/blob - perl-Getopt-Long-Descriptive.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / perl-Getopt-Long-Descriptive.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Getopt
6 %define pnam    Long-Descriptive
7 Summary:        Getopt::Long::Descriptive - Getopt::Long with usage text
8 Summary(pl.UTF-8):      Getopt::Long::Descriptive - Getopt::Long z tekstem użycia
9 Name:           perl-Getopt-Long-Descriptive
10 Version:        0.096
11 Release:        1
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Getopt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  78708f771a8a5e43824591758e2f5325
16 URL:            http://search.cpan.org/dist/Getopt-Long-Descriptive/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-IO-stringy
21 BuildRequires:  perl-Params-Validate >= 0.74
22 BuildRequires:  perl-Test-Warnings >= 0.005
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Convenient wrapper for Getopt::Long and program usage output
29
30 %description -l pl.UTF-8
31 Wygodne opakowanie Getopt::Long i wyjścia o użyciu programu
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} pure_install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes README
55 %dir %{perl_vendorlib}/Getopt/Long
56 %{perl_vendorlib}/Getopt/Long/*.pm
57 %dir %{perl_vendorlib}/Getopt/Long/Descriptive
58 %{perl_vendorlib}/Getopt/Long/Descriptive/Opts.pm
59 %{perl_vendorlib}/Getopt/Long/Descriptive/Usage.pm
60 %{_mandir}/man3/*
This page took 0.134203 seconds and 3 git commands to generate.