]> git.pld-linux.org Git - packages/perl-Getopt-Auto.git/commitdiff
use generic url
authorElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 10:49:12 +0000 (12:49 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 10:49:12 +0000 (12:49 +0200)
perl-Getopt-Auto.spec

index ab90bc11f46ccb13755f5310e8100cae3aa3dc6c..2fa40a02d1ae558c107cfeb35830cd9adf2559d7 100644 (file)
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define                pdir    Getopt
 %define                pnam    Auto
+%include       /usr/lib/rpm/macros.perl
 Summary:       Getopt::Auto - framework for command-line applications
 Summary(pl.UTF-8):     Getopt::Auto - szkielet do aplikacji działających z linii poleceń
 Name:          perl-Getopt-Auto
@@ -14,6 +14,7 @@ License:      unknown
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: f3362fa348d4ef2770b691d5d261f60d
+URL:           http://search.cpan.org/dist/Getopt-Auto/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -25,20 +26,21 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Unix command line applications, rather than simple filters, are pretty
 unpleasant to write; as well as actually writing the functionality,
-there's the boring parsing of the command line arguments and so on. Even
-with Getopt::Long or equivalent, you still have to dispatch the
+there's the boring parsing of the command line arguments and so on.
+Even with Getopt::Long or equivalent, you still have to dispatch the
 appropriate commands to the right subroutines, write a --help and
---version handler, and so on. This module abstracts out that code,
-leaving you free just to concentrate on the functional part.
+- --version handler, and so on. This module abstracts out that code,
+  leaving you free just to concentrate on the functional part.
 
 %description -l pl.UTF-8
 Uniksowe aplikacje działające z linii poleceń, bardziej niż proste
 filtry, są dość nieprzyjemne przy pisaniu; oprócz właściwego pisania
 funkcjonalności, jest jeszcze nudne analizowanie argumentów linii
-poleceń itp. Nawet z użyciem Getopt::Long lub ekwiwalentu, nadal trzeba
-przekierowywać odpowiednie polecenia do właściwych funkcji, pisać
-obsługę --help i --version itd. Ten moduł umożliwia wyabstrahowanie
-tego kodu, pozwalając skoncentrować się na części funkcjonalnej.
+poleceń itp. Nawet z użyciem Getopt::Long lub ekwiwalentu, nadal
+trzeba przekierowywać odpowiednie polecenia do właściwych funkcji,
+pisać obsługę --help i --version itd. Ten moduł umożliwia
+wyabstrahowanie tego kodu, pozwalając skoncentrować się na części
+funkcjonalnej.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
This page took 0.065443 seconds and 4 git commands to generate.