Author: glen                         Date: Tue Oct  4 14:49:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build tokenizer as shared extension

---- Files affected:
SPECS:
   php4.spec (1.481 -> 1.482) 

---- Diffs:

================================================================
Index: SPECS/php4.spec
diff -u SPECS/php4.spec:1.481 SPECS/php4.spec:1.482
--- SPECS/php4.spec:1.481       Tue Oct  4 14:48:57 2005
+++ SPECS/php4.spec     Tue Oct  4 16:49:22 2005
@@ -6,7 +6,6 @@
 # TODO:
 # - make additional headers added by mail patch configurable
 # - /var/run/php group not owned
-# - tokenizer extension as shared. (is it possible? perhaps core engine needs 
it?)
 #
 # Conditional build:
 %bcond_with    db3             # use db3 packages instead of db (4.x) for 
Berkeley DB support
@@ -75,7 +74,7 @@
 Summary(uk):   PHP ÷ĹŇÓŚ§ 4 - ÍĎ×Á ĐŇĹĐŇĎĂĹÓŐ×ÁÎÎŃ HTML-ĆÁĘĚŚ×, ×ÉËĎÎŐ×ÁÎÁ ÎÁ 
ÓĹŇ×ĹŇŚ
 Name:          php4
 Version:       4.4.0
-Release:       11.1%{?with_hardening:hardened}
+Release:       11.2%{?with_hardening:hardened}
 Epoch:         3
 Group:         Libraries
 License:       PHP
@@ -384,10 +383,8 @@
 Requires:      glibc >= 6:2.3.5
 Requires:      sed >= 4.0
 Provides:      %{name}-session = %{epoch}:%{version}-%{release}
-Provides:      %{name}-tokenizer = %{epoch}:%{version}-%{release}
 Provides:      php-common = %{epoch}:%{version}-%{release}
 Provides:      php-session = %{epoch}:%{version}-%{release}
-Provides:      php-tokenizer = %{epoch}:%{version}-%{release}
 Provides:      php(modules_api) = %{php_api_version}
 Provides:      php(zend_module_api) = %{zend_module_api}
 Provides:      php(zend_extension_api) = %{zend_extension_api}
@@ -1460,6 +1457,17 @@
 %description sysvshm -l pl
 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
 
+%package tokenizer
+Summary:       tokenizer extension module for PHP
+Group:         Libraries
+Requires(post,preun):  %{name}-common = %{epoch}:%{version}-%{release}
+Requires:      %{name}-common = %{epoch}:%{version}-%{release}
+Provides:      php-tokenizer = %{epoch}:%{version}-%{release}
+
+%description tokenizer
+This is a dynamic shared object (DSO) for PHP that will add tokenizer
+support.
+
 %package wddx
 Summary:       wddx extension module for PHP
 Summary(pl):   Moduł wddx dla PHP
@@ -1745,6 +1753,7 @@
        --enable-sockets=shared \
        %{?with_recode:--with-recode=shared} \
        %{?with_mm:--with-mm} \
+       --enable-tokenizer=shared \
        %{?with_wddx:--enable-wddx=shared} \
        %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
        %{?with_xslt:--enable-xslt=shared} \
@@ -1805,7 +1814,6 @@
        %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
        --with-t1lib=shared \
        --with-tiff-dir=/usr \
-       --with-tokenizer=shared,/usr \
        %{?with_odbc:--with-unixODBC=shared} \
        
%{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
        %{?with_xslt:--with-xslt-sablot=shared} \
@@ -2406,6 +2414,12 @@
 %postun sysvshm
 %extension_postun
 
+%post tokenizer
+%extension_post
+
+%postun tokenizer
+%extension_postun
+
 %post wddx
 %extension_post
 
@@ -3069,6 +3083,11 @@
 %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/conf.d/sysvshm.ini
 %attr(755,root,root) %{extensionsdir}/sysvshm.so
 
+%files tokenizer
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/conf.d/tokenizer.ini
+%attr(755,root,root) %{extensionsdir}/tokenizer.so
+
 %if %{with wddx}
 %files wddx
 %defattr(644,root,root,755)
@@ -3125,6 +3144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.482  2005/10/04 14:49:22  glen
+- build tokenizer as shared extension
+
 Revision 1.481  2005/10/04 12:48:57  glen
 - Provide tokenizer extension. for now it's statically linked (and can't be 
linked shared without hacking, maybe never)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php4.spec?r1=1.481&r2=1.482&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to