[packages/perl-CGI-PSGI] use generic url
glen
glen at pld-linux.org
Tue Nov 25 09:27:27 CET 2014
commit c95e482d0f02bb3261432ffe046514639658af44
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 10:27:23 2014 +0200
use generic url
perl-CGI-PSGI.spec | 35 ++++++++++++++---------------------
1 file changed, 14 insertions(+), 21 deletions(-)
---
diff --git a/perl-CGI-PSGI.spec b/perl-CGI-PSGI.spec
index dd1ca3a..4d18848 100644
--- a/perl-CGI-PSGI.spec
+++ b/perl-CGI-PSGI.spec
@@ -1,12 +1,11 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
+
%define pdir CGI
%define pnam PSGI
%include /usr/lib/rpm/macros.perl
Summary: CGI::PSGI - Adapt CGI.pm to the PSGI protocol
-#Summary(pl.UTF-8):
Name: perl-CGI-PSGI
Version: 0.15
Release: 1
@@ -15,8 +14,7 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/CGI/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 58a39711add2b48229710688c5f81cfd
-# generic URL, check or change before uncommenting
-#URL: http://search.cpan.org/dist/CGI-PSGI/
+URL: http://search.cpan.org/dist/CGI-PSGI/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
@@ -25,27 +23,22 @@ BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This module is for web application framework developers who currently uses
-CGI to handle query parameters, and would like for the frameworks to comply
-with the PSGI protocol.
+This module is for web application framework developers who currently
+uses CGI to handle query parameters, and would like for the frameworks
+to comply with the PSGI protocol.
-Only slight modifications should be required if the framework is already
-collecting the body content to print to STDOUT at one place (rather using
-the print-as-you-go approach).
+Only slight modifications should be required if the framework is
+already collecting the body content to print to STDOUT at one place
+(rather using the print-as-you-go approach).
-On the other hand, if you are an "end user" of CGI.pm and have a CGI script
-that you want to run under PSGI web servers, this module might not be what you
-want. Take a look at CGI::Emulate::PSGI instead.
+On the other hand, if you are an "end user" of CGI.pm and have a CGI
+script that you want to run under PSGI web servers, this module might
+not be what you want. Take a look at CGI::Emulate::PSGI instead.
Your application, typically the web application framework adapter
-should update the code to do CGI::PSGI->new($env) instead of
-CGI->new to create a new CGI object. (This is similar to how
-CGI::Fast object is initialized in a FastCGI environment.)
-
-
-
-# %description -l pl.UTF-8
-# TODO
+should update the code to do CGI::PSGI->new($env) instead of CGI->new
+to create a new CGI object. (This is similar to how CGI::Fast object
+is initialized in a FastCGI environment.)
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-CGI-PSGI.git/commitdiff/c95e482d0f02bb3261432ffe046514639658af44
More information about the pld-cvs-commit
mailing list