]> git.pld-linux.org Git - SPECS.git/blob - perl-Getopt-Tabular.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-Getopt-Tabular.spec
1 %define         pdir    Getopt
2 %define         pnam    Tabular
3 Summary:        Getopt::Tabular - table-driven argument parsing for Perl
4 Summary(pl.UTF-8):      Getopt::Tabular - przetwarzanie argumentów z tabeli w Perlu
5 Name:           perl-Getopt-Tabular
6 Version:        0.3
7 Release:        11
8 # same as perl
9 License:        GPL v1+ or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  5b24ed68318a749df3930d25b13dd436
13 Patch0:         %{name}-paths.patch
14 URL:            http://search.cpan.org/dist/Getopt-Tabular/
15 BuildRequires:  perl-devel >= 1:5.8.0
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Getopt::Tabular is a Perl module for table-driven argument parsing,
22 vaguely inspired by John Ousterhout's Tk_ParseArgv.
23
24 %description -l pl.UTF-8
25 Getopt::Tabular jest modułem Perla do przetwarzania argumentów z
26 tabeli, nieznacznie zainspirowanym przez Tk_ParseArgv Johna
27 Ousterhouta.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31 %patch0 -p0
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc Changes README demo
50 %{perl_vendorlib}/Getopt/Tabular.pm
51 %{_mandir}/man3/*
This page took 0.278048 seconds and 3 git commands to generate.