SPECS: php-pecl-http.spec - updated to 1.0.1 (stable) - proper lic...

adamg adamg at pld-linux.org
Mon Jun 26 15:55:08 CEST 2006


Author: adamg                        Date: Mon Jun 26 13:55:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.1 (stable)
- proper license
- extended description
- proper paths in %post/%postun

---- Files affected:
SPECS:
   php-pecl-http.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-http.spec
diff -u SPECS/php-pecl-http.spec:1.18 SPECS/php-pecl-http.spec:1.19
--- SPECS/php-pecl-http.spec:1.18	Thu Dec 22 13:11:46 2005
+++ SPECS/php-pecl-http.spec	Mon Jun 26 15:55:03 2006
@@ -1,28 +1,40 @@
 # $Revision$, $Date$
 %define		_modname	http
 %define		_fmodname	pecl_http
-%define		_status		beta
+%define		_status		stable
 %define		_sysconfdir	/etc/php
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
+
 Summary:	%{_modname} - extended HTTP support
 Summary(pl):	%{_modname} - rozszerzona obsługa protokołu HTTP
 Name:		php-pecl-%{_modname}
-Version:	0.18.1
-Release:	2
-License:	PHP 3.0
+Version:	1.0.1
+Release:	1
+License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_fmodname}-%{version}.tgz
-# Source0-md5:	17168c78aff93dcddae9dc1bf4cb1dc6
+# Source0-md5:	3246a4a1fb9297f91abd8585ee98ae7d
 URL:		http://pecl.php.net/package/pecl_http/
 BuildRequires:	php-devel >= 3:5.0.0
-Requires:	%{_sysconfdir}/conf.d
 BuildRequires:	rpmbuild(macros) >= 1.254
+Requires:	%{_sysconfdir}/conf.d
 %{?requires_php_extension}
 Obsoletes:	php-pear-%{_modname}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Currently implemented features:
+This HTTP extension aims to provide a convenient and powerful set of
+functionality for one of PHPs major applications.
+
+It eases handling of HTTP urls, dates, redirects, headers and
+messages, provides means for negotiation of clients preferred language
+and charset, as well as a convenient way to send any arbitrary data
+with caching and resuming capabilities.
+
+It provides powerful request functionality, if built with CURL
+support. Parallel requests are available for PHP 5 and greater.
+
+Currently implemented features include:
 - Building absolute URIs
 - RFC compliant HTTP redirects
 - RFC compliant HTTP date handling
@@ -40,7 +52,19 @@
 In PECL status of this extension is: %{_status}.
 
 %description -l pl
-Aktualnie zaimplementowane możliwości:
+To rozszerzenie HTTP ma na celu dostarczenie wygodnego i potężnego
+zestawu funkcjonalności do jednego z najważniejszych zastosowań PHP.
+
+Ułatwia obsługę adresów HTTP, dat, przekierowań, nagłówków i
+wiadmości, dostarcza sposób do negocjacji preferowana języka i strony
+kodowej klienta, jak również wygodnego sposobu do wysyłania dowolnego
+rodzaju danych z możliwością keszowania oraz wznawiania transferów.
+
+Rozszerzenie dostracza potężne możliwości zapytań, jeśli zbudowane
+jest ze wsparciem dla CURL. Równoległe zapytania są dostępne od wersji
+PHP 5.
+
+Aktualnie zaimplementowane możliwości to między innymi:
 - tworzenie bezwzględnych URI
 - zgodne z RFC przekierowania HTTP
 - zgodna z RFC obsługa daty HTTP
@@ -79,18 +103,18 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
-[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
+[ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
+[ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
 
 %postun
 if [ "$1" = 0 ]; then
-        [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
-        [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
+        [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
+        [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
 fi
 
 %files
 %defattr(644,root,root,755)
-%doc %{_fmodname}-%{version}/{docs,EXPERIMENTAL}
+%doc %{_fmodname}-%{version}/{KnownIssues.txt,docs}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/%{_modname}.ini
 %attr(755,root,root) %{extensionsdir}/%{_modname}.so
 
@@ -100,6 +124,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2006/06/26 13:55:03  adamg
+- updated to 1.0.1 (stable)
+- proper license
+- extended description
+- proper paths in %post/%postun
+
 Revision 1.18  2005/12/22 12:11:46  glen
 - rel 2 (rebuild with new php)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-http.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list