%undefine with_filter
%endif
-%define rel 4
+%define rel 6
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
Patch62: mcrypt-libs.patch
Patch63: %{name}-mysql-nowarning.patch
Patch64: %{name}-m4.patch
+# http://spot.fedorapeople.org/php-5.3.6-libzip.patch
+Patch65: system-libzip.patch
URL: http://www.php.net/
%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
#BuildRequires: fcgi-devel
#BuildRequires: flex
%{?with_kerberos5:BuildRequires: heimdal-devel}
+BuildRequires: libzip-devel >= 0.10-3
BuildRequires: mysql-devel
BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
Group: Libraries
URL: http://www.php.net/manual/en/book.zip.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
+Requires: libzip >= 0.10-3
Provides: php(zip)
Obsoletes: php-pecl-zip
%patch62 -p1
%patch63 -p1
%patch64 -p1
+%patch65 -p1
%{__rm} -r sapi/litespeed
gzip -dc %{SOURCE15} | tar xf - -C sapi/
--with-xsl=shared \
--with-zlib=shared \
--with-zlib-dir=shared,/usr \
+ --with-libzip \
--enable-zip=shared,/usr \
# save for debug