source: projects/specs/branches/6/p/php-ext-mysqlnd_qc/php-ext-mysqlnd_qc-vl.spec @ 7918

Revision 7918, 1.9 KB checked in by tomop, 11 years ago (diff)

php5-5.5.5-1

  • Property svn:executable set to *
Line 
1Summary: A query cache plugin for mysqlnd
2Summary(ja): mysqlnd クエリキャッシュプラグイン
3Name: php-ext-mysqlnd_qc
4Version: 1.2.0
5Release: 1%{_dist_release}
6URL: http://pecl.php.net/package/mysqlnd_qc
7Source: mysqlnd_qc-%{version}.tgz
8License: The PHP License
9Group: Development/Languages
10BuildRequires: php5-devel, libmemcached-devel
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12Requires: php5-mysql
13
14%if "%{?req_php_api}" != ""
15Requires: %{req_php_api}
16%endif
17
18%description
19 The mysqlnd query result cache plugin is a mysqlnd plugin. It adds basic
20client side result set caching to all PHP MySQL extensions (ext/mysql,
21ext/mysqli, PDO_MySQL). if they are compiled to use mysqlnd. It does not
22change the API of the MySQL extensions and thus it operates virtually
23transparent for applications."
24
25%description -l ja
26 このプラグインは、mysqlndを利用している全てのMySQL拡張(mysql, mysqli,
27pdo_mysql)に、クライアント側での結果セットのキャッシュ機能を追加します。
28また、MySQL拡張のAPIは変えることなく、透過的に動作します。
29
30%prep
31%setup -q -n mysqlnd_qc-%{version}
32rm -f ../package.xml
33
34/usr/bin/phpize
35
36%build
37%configure --enable-mysqlnd-qc-memcache
38%__make %{_smp_mflags}
39
40%install
41rm -rf %{buildroot}
42mkdir -p %{buildroot}%{_libdir}/php5/
43mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
44%makeinstall INSTALL_ROOT=%{buildroot}
45
46cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_qc.ini <<EOF
47; Enable mysqlnd_qc extension module
48extension=mysqlnd_qc.so
49EOF
50
51
52%clean
53rm -rf %{buildroot}
54
55%files
56%defattr(-,root,root)
57%doc CHANGES CREDITS LICENSE README web
58%{_libdir}/php5/*
59%{_sysconfdir}/php5/php.d/*
60
61%changelog
62* Thu Oct 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1
63- new upstream release.
64
65* Thu May 03 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2
66- enabled memcache handler.
67
68* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
69- initial build.
70
Note: See TracBrowser for help on using the repository browser.