]> git.pld-linux.org Git - packages/php-pecl-http.git/commitdiff
- updated to 1.0.1 (stable)
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 26 Jun 2006 13:55:03 +0000 (13:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- proper license
- extended description
- proper paths in %post/%postun

Changed files:
    php-pecl-http.spec -> 1.19

php-pecl-http.spec

index efc9808d285cddd95466e6a6d3971d2a0c5d39b2..c52a8c8c09f09e9536f7f68bfc6d7034e68a1972 100644 (file)
@@ -1,27 +1,39 @@
 %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
@@ -39,7 +51,19 @@ Currently implemented features:
 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
@@ -78,17 +102,17 @@ EOF
 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
This page took 0.106343 seconds and 4 git commands to generate.