SPECS: php.spec - adapterized

glen glen at pld-linux.org
Sun Dec 18 23:28:32 CET 2005


Author: glen                         Date: Sun Dec 18 22:28:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapterized

---- Files affected:
SPECS:
   php.spec (1.518 -> 1.519) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.518 SPECS/php.spec:1.519
--- SPECS/php.spec:1.518	Sun Dec 18 23:25:42 2005
+++ SPECS/php.spec	Sun Dec 18 23:28:27 2005
@@ -23,7 +23,6 @@
 %bcond_with	interbase_inst	# use InterBase install., not Firebird	(BR: proprietary libs)
 %bcond_with	oci8		# with Oracle oci8 extension module	(BR: proprietary libs)
 %bcond_with	oracle		# with oracle extension module		(BR: proprietary libs)
-%bcond_without	mysqli		# with mysqli support (Requires mysql > 4.1)
 %bcond_without	curl		# without CURL extension module
 %bcond_without	imap		# without IMAP extension module
 %bcond_with	interbase	# with InterBase extension module
@@ -51,6 +50,7 @@
 %bcond_without	apache2		# disable building apache 2.x module
 %bcond_without	fcgi		# disable building FCGI SAPI
 %bcond_without	zts		# disable experimental-zts
+%bcond_without	mysqli		# with mysqli support (Requires mysql > 4.1)
 
 %define apxs1		/usr/sbin/apxs1
 %define	apxs2		/usr/sbin/apxs
@@ -138,14 +138,14 @@
 BuildRequires:	bzip2-devel
 %{?with_curl:BuildRequires:	curl-devel >= 7.12.0}
 BuildRequires:	cyrus-sasl-devel
-%{?with_db3:BuildRequires:	db3-devel >= 3.1}
 %{!?with_db3:BuildRequires:	db-devel >= 4.0}
+%{?with_db3:BuildRequires:	db3-devel >= 3.1}
 BuildRequires:	elfutils-devel
 %if %{with xmlrpc}
 BuildRequires:	expat-devel
 %endif
-%{?with_fdf:BuildRequires:	fdftk-devel}
 %{?with_fcgi:BuildRequires:	fcgi-devel}
+%{?with_fdf:BuildRequires:	fdftk-devel}
 BuildRequires:	flex
 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
 BuildRequires:	freetds-devel
@@ -174,12 +174,13 @@
 %if %{with openssl} || %{with ldap}
 BuildRequires:	openssl-devel >= 0.9.7d
 %endif
+BuildRequires:	%{__perl}
+%{?with_snmp:BuildRequires:	net-snmp-devel >= 5.0.7}
 BuildRequires:	pam-devel
 %{?with_pcre:BuildRequires:	pcre-devel}
-BuildRequires:	%{__perl}
 %{?with_msession:BuildRequires:	phoenix-devel}
-%{?with_pgsql:BuildRequires:	postgresql-devel}
 %{?with_pgsql:BuildRequires:	postgresql-backend-devel >= 7.2}
+%{?with_pgsql:BuildRequires:	postgresql-devel}
 BuildRequires:	readline-devel
 %{?with_recode:BuildRequires:	recode-devel >= 3.5d-3}
 BuildRequires:	rpm-build >= 4.4.0
@@ -187,7 +188,6 @@
 %{?with_sqlite:BuildRequires:	sqlite-devel}
 BuildRequires:	t1lib-devel
 %{?with_tidy:BuildRequires:	tidy-devel}
-%{?with_snmp:BuildRequires:	net-snmp-devel >= 5.0.7}
 %{?with_odbc:BuildRequires:	unixODBC-devel}
 %{?with_xmlrpc:BuildRequires:	xmlrpc-epi-devel}
 BuildRequires:	zlib-devel >= 1.0.9
@@ -282,9 +282,9 @@
 Summary:	PHP DSO module for apache 1.3.x
 Summary(pl):	Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
 Group:		Development/Languages/PHP
-Requires:	%{name}-common = %{epoch}:%{version}-%{release}
-Requires(post,preun):	%{apxs1}
 Requires(post,preun):	%{__perl}
+Requires(post,preun):	%{apxs1}
+Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	apache1(EAPI) >= 1.3.33-2
 Requires:	apache1-mod_mime
 Provides:	php = %{epoch}:%{version}-%{release}
@@ -302,8 +302,8 @@
 Summary(pl):	Moduł DSO (Dynamic Shared Object) php dla apache 2.x
 Group:		Development/Languages/PHP
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
-Requires:	apache >= 2.0.52-2
 Requires:	apache(modules-api) = %{apache_modules_api}
+Requires:	apache >= 2.0.52-2
 Provides:	php = %{epoch}:%{version}-%{release}
 Obsoletes:	phpfi
 Obsoletes:	apache-mod_php < 1:4.1.1
@@ -411,11 +411,11 @@
 Summary(ru):	đÁËĹÔ ŇÁÚŇÁÂĎÔËÉ ÄĚŃ ĐĎÓÔŇĎĹÎÉŃ ŇÁÓŰÉŇĹÎÉĘ PHP
 Summary(uk):	đÁËĹÔ ŇĎÚŇĎÂËÉ ÄĚŃ ĐĎÂŐÄĎ×É ŇĎÚŰÉŇĹÎŘ PHP
 Group:		Development/Languages/PHP
+Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	autoconf
 Requires:	automake
 Requires:	libtool
 Requires:	shtool
-Requires:	%{name}-common = %{epoch}:%{version}-%{release}
 Obsoletes:	php-pear-devel
 Obsoletes:	php4-devel
 
@@ -1830,7 +1830,7 @@
 
 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
 
-sed -e 's#/usr/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
+sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
 %if %{with fcgi}
 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
 %endif
@@ -3053,6 +3053,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.519  2005/12/18 22:28:27  glen
+- adapterized
+
 Revision 1.518  2005/12/18 22:25:42  glen
 - switch order of autotools and buildconf invocation; builds now
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php.spec?r1=1.518&r2=1.519&f=u




More information about the pld-cvs-commit mailing list