]> git.pld-linux.org Git - packages/perl-Getopt-Long-Descriptive.git/blame - perl-Getopt-Long-Descriptive.spec
- updated to 0.077
[packages/perl-Getopt-Long-Descriptive.git] / perl-Getopt-Long-Descriptive.spec
CommitLineData
911e4cd7 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Getopt
7%define pnam Long-Descriptive
8Summary: Getopt::Long::Descriptive - Getopt::Long with usage text
9Summary(pl.UTF-8): Getopt::Long::Descriptive - Getopt::Long z tekstem użycia
10Name: perl-Getopt-Long-Descriptive
fc35ce0f 11Version: 0.077
911e4cd7 12Release: 1
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Getopt/%{pdir}-%{pnam}-%{version}.tar.gz
fc35ce0f 16# Source0-md5: a39971f6f138ebe6004438402620d032
911e4cd7 17URL: http://search.cpan.org/dist/Getopt-Long-Descriptive/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-IO-stringy
22BuildRequires: perl-Params-Validate >= 0.74
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Convenient wrapper for Getopt::Long and program usage output
29
30%description -l pl.UTF-8
31Wygodne 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
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc Changes README
55%{perl_vendorlib}/Getopt/Long/*.pm
fc35ce0f 56%dir %{perl_vendorlib}/Getopt/Long/Descriptive
57%{perl_vendorlib}/Getopt/Long/Descriptive/Usage.pm
911e4cd7 58%{_mandir}/man3/*
This page took 0.078384 seconds and 4 git commands to generate.