From dc79ac257aaa542f98c8534504452f92f4d1ae00 Mon Sep 17 00:00:00 2001 From: serek Date: Tue, 24 Jul 2001 17:29:45 +0000 Subject: [PATCH] - domxml module added. Changed files: php.spec -> 1.94 --- php.spec | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/php.spec b/php.spec index 4a00b96..e091add 100644 --- a/php.spec +++ b/php.spec @@ -721,6 +721,13 @@ Group: Development/Languages/PHP %description pear PEAR. +%package domxml +Summary: XML +Group: Development/Languages/PHP + +%description domxml +XML. + %package devel Summary: Files for PHP modules development Summary(pl): Pliki do kompilacji modu³ów PHP @@ -834,12 +841,12 @@ for i in cgi apxs ; do %{?_with_oracle:--with-oracle=shared} \ %{?_with_oci8:--with-oci8=shared} \ --without-db2 \ + --with-dom=shared \ --with-pear=%{peardir} done # TODO --with-pspell=/usr,shared (pspell missing) - -# --with-dom need libxml >= 2.2.7 \ +# --with-qtdom=shared %{__make} %{__make} CFLAGS="%{rpmcflags} -DDISCARD_PATH=1" -C sapi/cgi @@ -1037,6 +1044,13 @@ if [ "$1" = "0" ]; then %{_sbindir}/php-module-install remove libpdf_php %{_sysconfdir}/php.ini fi +%preun domxml +if [ "$1" = "0" ]; then + %{_sbindir}/php-module-install remove domxml %{_sysconfdir}/php.ini + +%post domxml +%{_sbindir}/php-module-install install domxml %{_sysconfdir}/php.ini + %if %{?_with_oci8:1}%{!?_with_oci8:0} %post oci8 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini @@ -1209,6 +1223,10 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/phpize %attr(755,root,root) %{_bindir}/php-config +%files domxml +%defattr(644,root,root,755) +%attr(755,root,root) %{extensionsdir}/domxml.so + %files pear %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/pear -- 2.44.0