# Conditional build:
%bcond_without web # make web package
-# don't build for php53
+# build "web" only for 5.5 version
%if 0%{?_pld_builder:1} && "%{?php_suffix}" != "55"
%undefine with_web
%endif
Summary: %{modname} - PHP opcode cacher
Summary(pl.UTF-8): %{modname} - buforowanie opcodów PHP
Name: %{php_name}-%{modname}
-Version: 3.1.0
-Release: 5
+# 3.2.0 leaks fds, use xcache-3.1 branch for now
+# http://xcache.lighttpd.net/ticket/363
+Blocker
+Version: 3.2.0
+Release: 0.1
License: BSD
Group: Development/Languages/PHP
Source0: http://xcache.lighttpd.net/pub/Releases/%{version}/xcache-%{version}.tar.bz2
-# Source0-md5: e5816d47d52be200b959bf69a673ff74
+# Source0-md5: 3655bd20483dc23d24f87f9dc924a62e
Source1: %{modname}-apache.conf
Source2: %{modname}-lighttpd.conf
Patch0: config.patch
%{?requires_zend_extension}
Requires: php(core) >= 5.0.4
Requires(triggerpostun): sed >= 4.0
+Provides: php(xcache) = %{version}
Obsoletes: php-xcache < 3.1.0-3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: webserver(access)
Requires: webserver(php) >= 5.0
Obsoletes: php55-xcache-web < 3.1.0-5
-%if "%{_rpmversion}" >= "5"
BuildArch: noarch
-%endif
%description -n php-xcache-web
Via this web interface script you can manage and view statistics of