source: projects/specs/trunk/p/php-ext-memcache/php-ext-memcache-vl.spec @ 9516

Revision 9516, 2.2 KB checked in by tomop, 9 years ago (diff)

php5-5.6.8-1, php-ext-clearsilver-0.4-6, php-ext-memcache-3.0.8-3

  • Property svn:executable set to *
Line 
1Summary: memcache extension for PHP
2Summary(ja): PHP用memcache拡張
3Name: php-ext-memcache
4Version: 3.0.8
5Release: 3%{_dist_release}
6Source: memcache-%{version}.tgz
7##Patch0: memcache-2.2.6-session_strict.patch
8License: The PHP License
9Group: Development/Languages
10BuildRequires: php5-devel
11BuildRequires: zlib-devel
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13%if "%{?req_php_api}" != ""
14Requires: %{req_php_api}
15%endif
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: tomop
20
21%description
22This module enable to access memcached in PHP scripts.
23
24%description -l ja
25このモジュールは、PHPスクリプト中でmemcachedにアクセスできるようにします。
26
27%prep
28%setup -q -n memcache-%{version}
29##%patch0 -p1 -b .session_strict
30mv ../package.xml ./
31phpize
32
33%build
34%configure --enable-memcache-session=yes
35%__make %{?_smp_mflags}
36
37%install
38rm -rf %{buildroot}
39mkdir -p %{buildroot}%{_libdir}/php5/
40mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
41%makeinstall INSTALL_ROOT=%{buildroot}
42
43
44cat > %{buildroot}%{_sysconfdir}/php5/php.d/memcache.ini <<EOF
45; Enable memcache extension module
46extension=memcache.so
47
48memcache.allow_failover = 1
49memcache.max_failover_attempts = 20
50memcache.chunk_size = 16384
51memcache.default_port = 11211
52memcache.hash_function = crc32
53memcache.hash_strategy = consistent
54EOF
55
56
57%clean
58rm -rf %{buildroot}
59
60%files
61%defattr(-,root,root)
62%doc CREDITS README
63%{_libdir}/php5/*
64%config(noreplace) %{_sysconfdir}/php5/php.d/*
65
66%changelog
67* Fri Apr 10 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-3
68- rebuilt with php5-5.6.7.
69
70* Thu Jan 09 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-2
71- rebuilt with current environment.
72
73* Thu Oct 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-1
74- new upstream release.
75
76* Tue Jun 25 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.7-1
77- new upstream release.
78
79* Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-3
80- converted encoding to UTF-8.
81
82* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-2
83- rebuilt with current environment.
84
85* Mon Dec 13 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
86- new upstream release.
87
88* Fri Jul 10 2009 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.4-1
89- initial build.
90
Note: See TracBrowser for help on using the repository browser.