]> git.pld-linux.org Git - packages/php.git/commitdiff
- enable soap extension; comment about broken shared patch; epoch++ to be higher...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 9 Mar 2005 23:14:55 +0000 (23:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.416

php.spec

index 2e79580ea2eee0f8c2471b9683949f0804c6bff9..5eb36447e0215e9c94cb2ce1ee2605dc337c07d0 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -1,5 +1,6 @@
 #
 # TODO:
+# - php-shared is SERIOUSLY broken. Try compiling with --enable-versioning.
 # - think of including support for:
 #    - mcve,
 #    - ovrimos,
@@ -74,8 +75,8 @@ Summary(ru):  PHP 
 Summary(uk):   PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
 Name:          php
 Version:       5.0.3
-Release:       4%{?with_hardened:hardened}
-Epoch:         3
+Release:       4.2%{?with_hardened:hardened}
+Epoch:         4
 Group:         Libraries
 License:       PHP
 Source0:       http://www.php.net/distributions/%{name}-%{version}.tar.bz2
@@ -1137,6 +1138,20 @@ support.
 %description snmp -l pl
 Modu³ PHP dodaj±cy obs³ugê SNMP.
 
+%package soap
+Summary:        soap extension module for PHP
+Summary(pl):    Modu³ soap dla PHP
+Group:          Libraries
+Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
+Requires:       %{name}-common = %{epoch}:%{version}-%{release}
+
+%description soap
+This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
+support.
+
+%description soap -l pl
+Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
+
 %package sockets
 Summary:       sockets extension module for PHP
 Summary(pl):   Modu³ socket dla PHP
@@ -1365,6 +1380,7 @@ Modu
 
 %prep
 %setup -q
+# this patch is broken by design, breaks --enable-versioning for example
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -2065,6 +2081,14 @@ if [ "$1" = "0" ]; then
        %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
 fi
 
+%post soap
+%{_sbindir}/php-module-install install soap %{_sysconfdir}/php.ini
+
+%preun soap
+if [ "$1" = "0" ]; then
+        %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
+fi
+
 %post sockets
 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
 
@@ -2462,6 +2486,10 @@ fi
 %attr(755,root,root) %{extensionsdir}/snmp.so
 %endif
 
+%files soap
+%defattr(644,root,root,755)
+%attr(755,root,root) %{extensionsdir}/soap.so
+
 %files sockets
 %defattr(644,root,root,755)
 %attr(755,root,root) %{extensionsdir}/sockets.so
This page took 0.73886 seconds and 4 git commands to generate.