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

Revision 8141, 2.1 KB checked in by tomop, 10 years ago (diff)

updated php extentions.

  • Property svn:executable set to *
RevLine 
[6099]1Summary: memcache extension for PHP
2Summary(ja): PHP用memcache拡張
3Name: php-ext-memcache
[7856]4Version: 3.0.8
[8141]5Release: 2%{_dist_release}
[6099]6Source: memcache-%{version}.tgz
[7856]7##Patch0: memcache-2.2.6-session_strict.patch
[6099]8License: The PHP License
9Group: Development/Languages
10BuildRequires: php5-devel
11BuildRequires: zlib-devel
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
[8141]13%if "%{?req_php_api}" != ""
[6099]14Requires: %{req_php_api}
[8141]15%endif
[6099]16
[7856]17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: tomop
20
[6099]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}
[7856]29##%patch0 -p1 -b .session_strict
[6099]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
[8141]67* Thu Jan 09 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-2
68- rebuilt with current environment.
69
[7856]70* Thu Oct 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-1
71- new upstream release.
72
73* Tue Jun 25 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.7-1
74- new upstream release.
75
[6099]76* Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-3
77- converted encoding to UTF-8.
78
79* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-2
80- rebuilt with current environment.
81
82* Mon Dec 13 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
83- new upstream release.
84
85* Fri Jul 10 2009 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.4-1
86- initial build.
87
Note: See TracBrowser for help on using the repository browser.