Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-pecl-memcache
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Added
php5-pecl-memcache.spec
@@ -0,0 +1,81 @@ +# norootforbuild +# +%define php_version %(php-config --version 2>/dev/null) + +Name: php5-pecl-memcache +Version: 3.0.0 +Release: 0 +# +Group: Productivity/Networking/Web/Servers +License: PHP +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: php5-devel zlib-devel +Requires: php5 = %{php_version} +# +URL: http://pecl.php.net/package/memcache +Source: http://pecl.php.net/get/memcache-%{version}.tgz +Source1: memcache.ini +Patch0: memcache-sessiondep.patch +# +Summary: PHP Memcache client Extension + +%description + +Memcached is a caching daemon designed especially for dynamic web applications +to decrease database load by storing objects in memory. This extension allows +you to work with memcached through handy OO and procedural interfaces. + +Author: +------- + Antony Dovgal + +%prep + +%setup -q -n memcache-%{version} + + +%build + +/usr/bin/phpize + +CFLAGS="%{optflags} -fno-strict-aliasing" +CXXFLAGS="%{optflags} -fno-strict-aliasing" +%if 0%{?suse_version} > 1000 +CFLAGS="$CFLAGS -fstack-protector" +CXXFLAGS="$CXXFLAGS -fstack-protector" +%endif + +export CFLAGS +export CXXFLAGS + +%configure --with-libdir=%{_lib} + +%{__make} + +%install + +%makeinstall INSTALL_ROOT="%{buildroot}" + +%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d +%{__install} -m 644 %{S:1} %{buildroot}%{_sysconfdir}/php5/conf.d/memcache.ini + +%clean + +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc README CREDITS example.php +%config(noreplace) %{_sysconfdir}/php5/conf.d/memcache.ini +%{_libdir}/php5/extensions/memcache.so + +%changelog +* Mon Mar 26 2007 judas_iscariote@shorewall.net +- update to version 2.1.2 +- Added experimental session storage support. You can use memcached as session storage. +- Fixed PECL bug #9486 (empty keys should not be allowed in memcache_set/add()) +- Fixed PECL bug #9854 (get() changes the datatype of variable of given as key) +* Sat Dec 30 2006 - judas_iscariote@shorewall.net +- small lib64 correction +