SPECS: perl-POE-Component-Client-Keepalive.spec - descs, pl, clean...

qboosh qboosh at pld-linux.org
Sun Aug 20 13:14:01 CEST 2006


Author: qboosh                       Date: Sun Aug 20 11:14:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- descs, pl, cleaned up this huge mess (maybe it should be cvs rmed instead?)

---- Files affected:
SPECS:
   perl-POE-Component-Client-Keepalive.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-POE-Component-Client-Keepalive.spec
diff -u SPECS/perl-POE-Component-Client-Keepalive.spec:1.1 SPECS/perl-POE-Component-Client-Keepalive.spec:1.2
--- SPECS/perl-POE-Component-Client-Keepalive.spec:1.1	Sun Aug  6 23:31:08 2006
+++ SPECS/perl-POE-Component-Client-Keepalive.spec	Sun Aug 20 13:13:56 2006
@@ -1,55 +1,53 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_without	autodeps	# don't BR packages needed only for resolving deps
 %bcond_without	tests	# do not perform "make test"
 #
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	POE
 %define		pnam	Component-Client-Keepalive
-Summary:	perl(POE::Component::Client::Keepalive)
+Summary:	POE::Component::Client::Keepalive - manage connections with keep-alive
+Summary(pl):	POE::Component::Client::Keepalive - zarządzanie połączeniami keep-alive
 Name:		perl-POE-Component-Client-Keepalive
 Version:	0.0801
 Release:	0.1
-# note if it is "same as perl"
-License:	(enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+# same as perl
+License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-#Patch0:		%{name}
-# most of CPAN modules have generic URL (substitute pdir and pnam here)
-#URL:		http://search.cpan.org/dist/%{pdir}-%{pnam}
+# Source0-md5:	79ea0242da708c7a8e190c00efdfccaf
+URL:		http://search.cpan.org/dist/POE-Component-Client-Keepalive/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-#BuildRequires:	-
-%if %{with autodeps} || %{with tests}
-#BuildRequires:	perl-
-#BuildRequires:	perl-
+%if %{with tests}
+BuildRequires:	perl-POE >= 0.31
+BuildRequires:	perl-POE-Component-Client-DNS >= 0.9801
 %endif
-#Requires:	-
-#Provides:	-
-#Obsoletes:	-
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-#%define		_noautoreq	'perl(anything_fake_or_conditional)'
-
 %description
-#
-#%description -l pl
+POE::Component::Client::Keepalive creates and manages connections for
+other components. It maintains a cache of kept-alive connections for
+quick reuse. It is written specifically for clients that can benefit
+from kept-alive connections, such as HTTP clients. Using it for
+one-shot connections would probably be silly.
+
+%description -l pl
+POE::Component::Client::Keepalive tworzy i zarządza połączeniami dla
+innych komponentów. Utrzymuje cache połączeń keep-alive do szybkiego
+ponownego użycia. Jest napisany szczególnie dla klientów
+korzystających z połączeń keep-alive, takich jak klienci HTTP.
+Używanie go do pojedynczych połączeń byłoby prawdopodobnie głupie.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-#%patch0 -p1
 
 %build
-# Don't use pipes here: they generally don't work. Apply a patch.
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 
 %{__make}
-# if module isn't noarch, use:
-# %{__make} \
-#	OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
@@ -65,8 +63,6 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README
-# note it's mostly easier to copy unpackaged filelist here, and run adapter over the spec.
-# use macros:
 %{perl_vendorlib}/POE/Component/Client/Keepalive.pm
 %dir %{perl_vendorlib}/POE/Component/Connection
 %{perl_vendorlib}/POE/Component/Connection/Keepalive.pm
@@ -78,6 +74,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/08/20 11:13:56  qboosh
+- descs, pl, cleaned up this huge mess (maybe it should be cvs rmed instead?)
+
 Revision 1.1  2006/08/06 21:31:08  agaran
 - initial, 0.801, rel 0.1, builds here
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-POE-Component-Client-Keepalive.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list