]> git.pld-linux.org Git - SPECS.git/blob - perl-Getopt-Regex.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-Getopt-Regex.spec
1 %define         pdir    Getopt
2 %define         pnam    Regex
3 Summary:        Getopt::Regex - handle command line options flexibly using regular expressions
4 Summary(pl.UTF-8):      Getopt::Regex - elastyczna obsługa opcji z linii poleceń przy pomocy wyrażeń regularnych
5 Name:           perl-Getopt-Regex
6 Version:        0.03
7 Release:        4
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:  44054a9d96b88da3b9774ec95dac70c9
13 URL:            http://search.cpan.org/dist/Getopt-Regex/
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Getopt::Regex Perl module provides a flexible yet simple method for
21 handling command line options. It does not stamp over the callers
22 namespace or, currently, inforce any particular standard for the
23 options - the user can do this if they want. By using anonymous
24 closures sophisticated option specifications can be constructed.
25
26 %description -l pl.UTF-8
27 Moduł Perla Getopt::Regex udostępnia elastyczną i prostą metodę
28 obsługi opcji z linii poleceń. On nie znakuje przestrzeni nazw
29 wywołującego, ani, jak dotąd, nie wymusza żadnego konkretnego
30 standardu odnośnie opcji - użytkownicy mogą to zrobić sami, jeśli
31 chcą. Korzystając z anonimowych zamknięć, można tworzyć wyszukane
32 specyfikacje dla opcji.
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README
54 %{perl_vendorlib}/Getopt/Regex.pm
55 %{_mandir}/man3/*
This page took 0.06252 seconds and 3 git commands to generate.