SPECS: php4-pecl-http.spec (NEW) - new (cp from php-pecl-http)

adamg adamg at pld-linux.org
Wed Jul 27 09:04:44 CEST 2005


Author: adamg                        Date: Wed Jul 27 07:04:44 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new (cp from php-pecl-http)

---- Files affected:
SPECS:
   php4-pecl-http.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php4-pecl-http.spec
diff -u /dev/null SPECS/php4-pecl-http.spec:1.1
--- /dev/null	Wed Jul 27 09:04:44 2005
+++ SPECS/php4-pecl-http.spec	Wed Jul 27 09:04:39 2005
@@ -0,0 +1,118 @@
+# $Revision$, $Date$
+%define		_modname	http
+%define		_fmodname	pecl_http
+%define		_status		beta
+
+Summary:	%{_modname} - extended HTTP support
+Summary(pl):	%{_modname} - rozszerzona obsługa protokołu HTTP
+Name:		php4-pecl-%{_modname}
+Version:	0.10.1
+Release:	1
+License:	PHP 3.0
+Group:		Development/Languages/PHP
+Source0:	http://pecl.php.net/get/%{_fmodname}-%{version}.tgz
+# Source0-md5:	63967a512656acfbc1dcd7cb521f2527
+URL:		http://pecl.php.net/package/pecl_http/
+BuildRequires:	libtool
+BuildRequires:	php4-devel >= 3:4.3.0
+Requires:	php4-common >= 3:4.3.0
+Obsoletes:	php-pear-%{_modname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/php4
+%define		extensionsdir	%{_libdir}/php4
+
+%description
+Currently implemented features:
+- Building absolute URIs
+- RFC compliant HTTP redirects
+- RFC compliant HTTP date handling
+- Parsing of HTTP headers and messages
+- Caching by "Last-Modified" and/or ETag (with 'on the fly' option for
+  ETag generation from buffered output)
+- Sending data/files/streams with (multiple) ranges support
+- Negotiating user preferred language/charset
+- Convenient request functions to HEAD/GET/POST if libcurl is available
+- HTTP auth hooks (Basic)
+- PHP5 classes: HttpUtil, HttpResponse, HttpRequest, HttpRequestPool, HttpMessage
+
+In PECL status of this extension is: %{_status}.
+
+%description -l pl
+Aktualnie zaimplementowane możliwości:
+- tworzenie bezwzględnych URI
+- zgodne z RFC przekierowania HTTP
+- zgodna z RFC obsługa daty HTTP
+- przetwarzanie nagłówków i wiadomości HTTP
+- buforowanie z użyciem "Last-Modified" i/lub ETagów (z opcję
+  generowania "w locie" ETagów z buforowanego wyjścia)
+- wysyłanie danych/plików/strumieni z obsługą (wielu) przedziałów
+- negocjacja preferowanego przez użytkownika języka/zestawu znaków
+- wygodne funkcje do żądań HEAD/GET/POST jeśli dostępna jest libcurl
+- wywołania HTTP auth (Basic)
+- klasy PHP5: HttpUtil, HttpResponse, HttpRequest, HttpRequestPool, HttpMessage
+
+To rozszerzenie ma w PECL status: %{_status}.
+
+%prep
+%setup -q -c
+
+%build
+cd %{_fmodname}-%{version}
+phpize
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensionsdir}
+
+install %{_fmodname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}/%{_modname}.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/php4-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
+
+%preun
+if [ "$1" = "0" ]; then
+	%{_sbindir}/php4-module-install remove %{_modname} %{_sysconfdir}/php-cgi.ini
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{_fmodname}-%{version}/{docs,EXPERIMENTAL}
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/07/27 07:04:39  adamg
+- new (cp from php-pecl-http)
+
+Revision 1.7  2005/07/27 06:59:16  adamg
+- updated to 0.10.1
+
+Revision 1.6  2005/03/27 01:22:14  adamg
+- updated to 0.7.0
+
+Revision 1.5  2005/03/20 18:58:57  adamg
+- updated to 0.6.1
+
+Revision 1.4  2005/02/25 18:46:31  adamg
+- updated to 0.5.1
+
+Revision 1.3  2005/02/20 19:10:50  qboosh
+- pl
+
+Revision 1.2  2005/02/20 08:01:51  adamg
+- updated to 0.5.0
+- extended description a bit
+- license fix
+
+Revision 1.1  2005/02/19 20:11:57  adamg
+- new
================================================================



More information about the pld-cvs-commit mailing list