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