From 51312e8d108b81b0d122b90579e1902ff6676dd9 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 26 Dec 2004 15:26:42 +0000 Subject: [PATCH] - proper dom configure option - now shared dom module is built Changed files: php.spec -> 1.397 --- php.spec | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/php.spec b/php.spec index fdb2198..fe8249e 100644 --- a/php.spec +++ b/php.spec @@ -510,6 +510,20 @@ file I/O support. %description dio -l pl Modu³ PHP dodaj±cy obs³ugê bezpo¶rednich operacji I/O na plikach. +%package dom +Summary: DOM extension module for PHP +Summary(pl): Modu³ DOM dla PHP +Group: Libraries +Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release} +Requires: %{name}-common = %{epoch}:%{version}-%{release} + +%description dom +This is a dynamic shared object (DSO) for PHP that will add new DOM +support. + +%description dom -l pl +Modu³ PHP dodaj±cy now± obs³ugê DOM. + %package exif Summary: exif extension module for PHP Summary(pl): Modu³ exif dla PHP @@ -1419,6 +1433,7 @@ for i in fcgi cgi cli apxs ; do --enable-dba=shared \ --enable-dbx=shared \ --enable-dio=shared \ + --enable-dom=shared \ --enable-exif=shared \ --enable-filepro=shared \ --enable-ftp=shared \ @@ -1448,7 +1463,6 @@ for i in fcgi cgi cli apxs ; do %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \ %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \ --with-dbase=shared \ - --with-dom=shared \ %if %{with wddx} || %{with xmlrpc} --with-expat-dir=shared,/usr \ %else @@ -1688,6 +1702,14 @@ if [ "$1" = "0" ]; then %{_sbindir}/php-module-install remove dio %{_sysconfdir}/php.ini fi +%post dom +%{_sbindir}/php-module-install install dom %{_sysconfdir}/php.ini + +%preun dom +if [ "$1" = "0" ]; then + %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini +fi + %post exif %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini @@ -2213,6 +2235,10 @@ fi %defattr(644,root,root,755) %attr(755,root,root) %{extensionsdir}/dio.so +%files dom +%defattr(644,root,root,755) +%attr(755,root,root) %{extensionsdir}/dom.so + %if %{with fam} %files fam %defattr(644,root,root,755) -- 2.44.0