%undefine with_filter
%endif
-%define rel 4
-%define subver RC7
%define orgname php
%define ver_suffix 70
%define php_suffix %{!?with_default_php:%{ver_suffix}}
Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 7.0.0
-Release: %{rel}.%{subver}
+Version: 7.0.2
+Release: 1
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
License: PHP 3.01 and Zend and BSD
Group: Libraries
-#Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
-Source0: https://downloads.php.net/~ab/php-%{version}%{subver}.tar.xz
-# Source0-md5: 5bb4e6b8bf969d2bd5ab222c60c52dad
+Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.xz
+# Source0-md5: ce5964672e4ec0b66ff088a6bafde8c7
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Source4: %{orgname}-apache.ini
BuildRequires: libltdl-devel >= 1.4
BuildRequires: libmcrypt-devel >= 2.4.4
BuildRequires: libpng-devel >= 1.0.8
+%{?with_intl:BuildRequires: libstdc++-devel}
%{?with_webp:BuildRequires: libwebp-devel}
BuildRequires: tokyocabinet-devel
%if "%{pld_release}" != "ac"
Group: Libraries
URL: http://www.php.net/manual/en/book.phar.php
Requires: %{name}-common = %{epoch}:%{version}-%{release}
-Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Requires: %{name}-hash = %{epoch}:%{version}-%{release}
+Requires: %{name}-spl = %{epoch}:%{version}-%{release}
Suggests: %{name}-cli
# zlib is required by phar program, but as phar cli is optional should the dep be too
Suggests: %{name}-zlib
Moduł PHP umożliwiający używanie kompresji zlib.
%prep
-%if 1
-%setup -q -n %{orgname}-%{version}%{?subver}
-%else
-%setup -qc -n %{orgname}-%{version}
-mv php-src-*/* .
-%endif
+%setup -q -n %{orgname}-%{version}
cp -p php.ini-production php.ini
%patch0 -p1
%patch1 -p1