]> git.pld-linux.org Git - packages/php.git/commitdiff
added curl subpackages (thanks to Przemek Piotrowski <przemek.piotrowski@nic.com...
authorArtur Frysiak <artur@frysiak.net>
Mon, 9 Jul 2001 08:38:07 +0000 (08:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.86

php.spec

index 67895b109e037ef69d09381055396788e82a6e48..4912e42a89fc1249796bdca2960a68c04b4e9b0d 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -711,6 +711,23 @@ Files for PHP modules development.
 %description devel -l pl
 Pliki potrzebne do kompilacji modu³ów PHP.
 
+%package curl
+Summary:       curl extension module for PHP
+Summary(pl):   Modu³ curl dla PHP
+Group:         Libraries
+Group(de):     Libraries
+Group(es):     Bibliotecas
+Group(fr):     Librairies
+Group(pl):     Biblioteki
+PreReq:                %{name}-common = %{version}
+
+%description curl
+This is a dynamic shared object (DSO) for Apache that will add curl
+support to PHP.
+
+%description curl -l pl
+Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
+
 %prep
 %setup  -q
 %patch1 -p1
@@ -1114,6 +1131,14 @@ if [ "$1" = "0" ]; then
         %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
 fi
 
+%post curl
+%{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
+
+%preun curl
+if [ "$1" = "0" ]; then
+        %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
+fi
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -1307,3 +1332,7 @@ rm -rf $RPM_BUILD_ROOT
 %files doc
 %defattr(644,root,root,755)
 %doc manual/*
+
+%files curl
+%defattr(644,root,root,755)
+%attr(755,root,root) %{extensionsdir}/curl.so
This page took 0.457175 seconds and 4 git commands to generate.