# - update imap annotations patch (needs api porting)
# - update imap myrights patch (needs api porting)
# - dba: enable: --with-tcadb=DIR DBA: Tokyo Cabinet abstract DB support
-# - --with-vpx-dir=DIR GD: Set the path to libvpx install prefix
# --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
-# --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
+# --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
+# - recheck: define PDO_MYSQL_UNIX_ADDR (ensure if's correct with mysql-libs and mysqlng)
+# - uses libvpx for webp support, should use libwebp-devel instead?
# NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
# UNPACKAGED EXTENSION NOTES:
# - com_dotnet is Win32-only
%undefine with_filter
%endif
-%define rel 0.3
+%define rel 0.8
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
License: PHP
Group: Libraries
#Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
-Source0: http://downloads.php.net/stas/%{name}-%{version}beta2.tar.bz2
-# Source0-md5: 51c6e9f1d83f94a323db4c4d5e65e421
+Source0: http://downloads.php.net/stas/%{name}-%{version}RC7.tar.bz2
+# Source0-md5: 83e759b0eb87ebdf0124d64361daaf54
Source2: %{name}-mod_%{name}.conf
Source3: %{name}-cgi-fcgi.ini
Source4: %{name}-apache.ini
BuildRequires: libmcrypt-devel >= 2.4.4
BuildRequires: libpng-devel >= 1.0.8
#BuildRequires: libtiff-devel
+BuildRequires: libvpx-devel
+BuildRequires: tokyocabinet-devel
%if "%{pld_release}" != "ac"
BuildRequires: libtool >= 2:2.2
%else
Moduł PHP umożliwiający używanie kompresji zlib.
%prep
-%setup -q -n %{name}-%{version}beta2
+%setup -q -n %{name}-%{version}RC7
# prep for suhosin patch
%undos Zend/Zend.dsp Zend/ZendTS.dsp
%patch0 -p1
# probably pointless.
%{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
-sh -xe %{_sourcedir}/skip-tests.sh
+#sh -xe %{_sourcedir}/skip-tests.sh
%build
API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
%{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
%{?with_pgsql:--with-pdo-pgsql=shared} \
%{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
+ --with-vpx-dir=/usr \
--without-libexpat-dir \
--enable-posix=shared \
--enable-shared \
%{?with_oci8:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
%{?with_openssl:--with-openssl=shared} \
%{?with_kerberos5:--with-kerberos} \
+ --with-tcadb=/usr \
%{__with_without pcre pcre-regex /usr} \
%{__enable_disable filter filter shared} \
--with-pear=%{php_pear_dir} \