]> git.pld-linux.org Git - packages/php4-pecl-http.git/commitdiff
- new (cp from php-pecl-http) auto/ac/php4-pecl-http-0_10_1-1
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 27 Jul 2005 07:04:39 +0000 (07:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php4-pecl-http.spec -> 1.1

php4-pecl-http.spec [new file with mode: 0644]

diff --git a/php4-pecl-http.spec b/php4-pecl-http.spec
new file mode 100644 (file)
index 0000000..4be753c
--- /dev/null
@@ -0,0 +1,85 @@
+%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
This page took 0.070684 seconds and 4 git commands to generate.