Patch6: %{name}-DESTDIR.patch
Patch7: %{name}-gd-shared.patch
Patch8: %{name}-apache-fixes.patch
-#Patch9: %{name}-system-expat.patch
+#Patch9: %{name}-system-expat.patch
Patch10: %{name}-quotes.patch
+Patch11: %{name}-session-path.patch
Icon: php4.gif
URL: http://www.php.net/
BuildRequires: apache(EAPI)-devel
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description mysql
This is a dynamic shared object (DSO) for Apache that will add MySQL
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description pgsql
This is a dynamic shared object (DSO) for Apache that will add
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
Autoreq: false
%description oci8
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
Autoreq: false
%description oracle
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description gd
This is a dynamic shared object (DSO) for Apache that will add GD
PHP.
%description gd -l pl
-Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki obrazków
-z poziomu PHP.
+Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD - do obróbki
+obrazków z poziomu PHP.
%package java
Summary: Java extension module for PHP
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description java
This is a dynamic shared object (DSO) for Apache that will add JAVA
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description xml
This is a dynamic shared object (DSO) for Apache that will add XML
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description dba
This is a dynamic shared object (DSO) for Apache that will add
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description odbc
-This is a dynamic shared object (DSO) for Apache that will add
-ODBC support to PHP.
+This is a dynamic shared object (DSO) for Apache that will add ODBC
+support to PHP.
%description odbc -l pl
Modu³ PHP ze wsparciem dla ODBC.
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description calendar
This is a dynamic shared object (DSO) for Apache that will add
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description dbase
This is a dynamic shared object (DSO) for Apache that will add DBase
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description filepro
This is a dynamic shared object (DSO) for Apache that will add FilePro
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description posix
This is a dynamic shared object (DSO) for Apache that will add POSIX
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description pcre
This is a dynamic shared object (DSO) for Apache that will add Perl
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description sysvsem
This is a dynamic shared object (DSO) for Apache that will add SysV
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description sysvshm
This is a dynamic shared object (DSO) for Apache that will add SysV
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description yp
This is a dynamic shared object (DSO) for Apache that will add NIS
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description bcmath
This is a dynamic shared object (DSO) for Apache that will add bc
style precision math functions support to PHP.
%description bcmath -l pl
-Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji matematycznych
-takich jak w programie bc.
+Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
+matematycznych takich jak w programie bc.
%package ftp
Summary: FTP extension module for PHP
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description ftp
This is a dynamic shared object (DSO) for Apache that will add FTP
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description zlib
This is a dynamic shared object (DSO) for Apache that will add
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description exif
This is a dynamic shared object (DSO) for Apache that will add exif
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description recode
This is a dynamic shared object (DSO) for Apache that will add recode
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description session
This is a dynamic shared object (DSO) for Apache that will add session
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description gettext
This is a dynamic shared object (DSO) for Apache that will add gettext
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description snmp
This is a dynamic shared object (DSO) for Apache that will add snmp
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description imap
This is a dynamic shared object (DSO) for Apache that will add imap
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description ldap
This is a dynamic shared object (DSO) for Apache that will add LDAP
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description sockets
This is a dynamic shared object (DSO) for Apache that will add sockets
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description mcrypt
This is a dynamic shared object (DSO) for Apache that will add mcrypt
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-PreReq: %{name} = %{version}
+PreReq: %{name} = %{version}
%description mhash
This is a dynamic shared object (DSO) for Apache that will add mhash
Group(pl): Sieciowe/Serwery
%description doc
-Comprehensive documentation for PHP, viewable through your web
-server, too!
+Comprehensive documentation for PHP, viewable through your web server,
+too!
%description doc -l pl
Dokumentacja dla pakietu PHP. Mo¿na j± równie¿ ogl±daæ poprzez serwer
%package devel
Summary: Files for PHP modules development
+Summary(pl): Pliki do kompilacji modu³ów PHP
Group: Development/Languages/PHP
+Requires: %{name} = %{version}
%description devel
Files for PHP modules development.
+%description devel -l pl
+Pliki potrzebne do kompilacji modu³ów PHP.
+
%prep
%setup -q
%patch0 -p1
%patch8 -p1
#%patch9 -p1
%patch10 -p1
+%patch11 -p1
%build
CFLAGS="$RPM_OPT_FLAGS -DEAPI -I/usr/X11R6/include"; export CFLAGS