Logoj0ke.net Open Build Service > Projects > internetx:php5:extensions > php5-pecl-memcache > Changes
Sign Up | Log In

Changes of Revision 5

[-] Added php5-pecl-memcache.spec
x
 
1
@@ -0,0 +1,81 @@
2
+# norootforbuild
3
+#
4
+%define php_version %(php-config --version 2>/dev/null)
5
+
6
+Name: php5-pecl-memcache
7
+Version: 3.0.0
8
+Release: 0
9
+#
10
+Group: Productivity/Networking/Web/Servers
11
+License: PHP
12
+#
13
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
14
+BuildRequires: php5-devel zlib-devel
15
+Requires: php5 = %{php_version}
16
+#
17
+URL: http://pecl.php.net/package/memcache
18
+Source: http://pecl.php.net/get/memcache-%{version}.tgz
19
+Source1: memcache.ini
20
+Patch0: memcache-sessiondep.patch 
21
+#
22
+Summary: PHP Memcache client Extension
23
+
24
+%description
25
+
26
+Memcached is a caching daemon designed especially for dynamic web applications
27
+to decrease database load by storing objects in memory.  This extension allows
28
+you to work with memcached through handy OO and procedural interfaces.
29
+
30
+Author:
31
+-------
32
+    Antony Dovgal
33
+
34
+%prep
35
+
36
+%setup -q -n memcache-%{version}
37
+
38
+
39
+%build
40
+
41
+/usr/bin/phpize
42
+
43
+CFLAGS="%{optflags} -fno-strict-aliasing"
44
+CXXFLAGS="%{optflags} -fno-strict-aliasing"
45
+%if 0%{?suse_version} > 1000
46
+CFLAGS="$CFLAGS -fstack-protector"
47
+CXXFLAGS="$CXXFLAGS -fstack-protector"
48
+%endif
49
+
50
+export CFLAGS
51
+export CXXFLAGS
52
+
53
+%configure --with-libdir=%{_lib}
54
+
55
+%{__make}
56
+
57
+%install
58
+
59
+%makeinstall INSTALL_ROOT="%{buildroot}"
60
+
61
+%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d
62
+%{__install} -m 644 %{S:1} %{buildroot}%{_sysconfdir}/php5/conf.d/memcache.ini
63
+
64
+%clean
65
+
66
+%{__rm} -rf %{buildroot}
67
+
68
+%files
69
+%defattr(-,root,root,-)
70
+%doc README CREDITS example.php
71
+%config(noreplace) %{_sysconfdir}/php5/conf.d/memcache.ini
72
+%{_libdir}/php5/extensions/memcache.so
73
+
74
+%changelog
75
+* Mon Mar 26 2007 judas_iscariote@shorewall.net
76
+- update to version 2.1.2 
77
+- Added experimental session storage support. You can use memcached as session storage.
78
+- Fixed PECL bug #9486 (empty keys should not be allowed in memcache_set/add())
79
+- Fixed PECL bug #9854 (get() changes the datatype of variable of given as key)
80
+* Sat Dec 30  2006 - judas_iscariote@shorewall.net
81
+- small lib64 correction
82
+
83