]>
Commit | Line | Data |
---|---|---|
8a6a6e3b | 1 | %define pdir Getopt |
2 | %define pnam Tabular | |
c5a56add | 3 | %include /usr/lib/rpm/macros.perl |
41538063 | 4 | Summary: Getopt::Tabular - table-driven argument parsing for Perl |
82a9cd66 | 5 | Summary(pl.UTF-8): Getopt::Tabular - przetwarzanie argumentów z tabeli w Perlu |
cfe6b771 | 6 | Name: perl-Getopt-Tabular |
7 | Version: 0.3 | |
b7c6ed93 | 8 | Release: 11 |
3b9cf111 | 9 | # same as perl |
10 | License: GPL v1+ or Artistic | |
cfe6b771 | 11 | Group: Development/Languages/Perl |
498b3926 | 12 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
e9a670e2 | 13 | # Source0-md5: 5b24ed68318a749df3930d25b13dd436 |
3943c20d | 14 | Patch0: %{name}-paths.patch |
c5a56add | 15 | URL: http://search.cpan.org/dist/Getopt-Tabular/ |
91684165 | 16 | BuildRequires: perl-devel >= 1:5.8.0 |
c5a56add | 17 | BuildRequires: rpm-perlprov >= 4.1-13 |
a57ab196 | 18 | BuildArch: noarch |
155b480a | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cfe6b771 | 20 | |
21 | %description | |
41538063 | 22 | Getopt::Tabular is a Perl module for table-driven argument parsing, |
23 | vaguely inspired by John Ousterhout's Tk_ParseArgv. | |
cfe6b771 | 24 | |
d4669320 JR |
25 | %description -l pl.UTF-8 |
26 | Getopt::Tabular jest modułem Perla do przetwarzania argumentów z | |
41538063 | 27 | tabeli, nieznacznie zainspirowanym przez Tk_ParseArgv Johna |
28 | Ousterhouta. | |
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 | |
40 | rm -rf $RPM_BUILD_ROOT | |
cfe6b771 | 41 | |
ef6f2f52 | 42 | %{__make} install \ |
43 | DESTDIR=$RPM_BUILD_ROOT | |
cfe6b771 | 44 | |
cfe6b771 | 45 | %clean |
46 | rm -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/* |