Summary: SME server eAccelerator %define name smeserver-eaccelerator Name: %{name} %define version 0.9.5 %define release 1 Version: %{version} Release: %{release} Copyright: Freely distributable Group: Apache/php/caching Source: %{name}-%{version}.tar.gz #Patch0: %{name}-%{version}.patch.yyyymmddnn Packager: Michel Van hees BuildRoot: /var/tmp/e-smith-buildroot BuildRequires: e-smith-devtools BuildArchitectures: i386 Requires: smeserver-release >= 7, php >= 4.3.9, php < 4.3.10 AutoReqProv: no %changelog * Mon Oct 23 2006 Michel Van hees - use of version 0.9.5 of eaccelerator - remove admin interface and activate eaccelerator for whole http * Mon Jul 17 2006 Michel Van hees - Adding multi langage, made by FredB, thanks to him * Wed Dec 30 2005 Michel Van hees - start developpement %description Add eaccelerator(php optimizer) to your SME box %prep %setup #%patch0 -p1 #%patch1 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %pre %preun %post chown -R www:www /var/cache/eaccelerator /sbin/e-smith/expand-template /etc/php.ini /etc/rc.d/init.d/httpd-e-smith sigusr1 %postun /sbin/e-smith/expand-template /etc/php.ini /etc/rc.d/init.d/httpd-e-smith sigusr1 %files -f %{name}-%{version}-filelist %defattr(-,root,root)