source: projects/specs/trunk/p/php-ext-mysqlnd_qc/php-ext-mysqlnd_qc-vl.spec @ 8200

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

libmemcached-1.0.17-1, php-ext-mysqlnd_qc-1.2.0-3, postfix-2.10.3-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: 3%{_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
18Vendor: Project Vine
19Distribution: Vine Linux
20Packager: tomop
21
22%description
23 The mysqlnd query result cache plugin is a mysqlnd plugin. It adds basic
24client side result set caching to all PHP MySQL extensions (ext/mysql,
25ext/mysqli, PDO_MySQL). if they are compiled to use mysqlnd. It does not
26change the API of the MySQL extensions and thus it operates virtually
27transparent for applications."
28
29%description -l ja
30 このプラグインは、mysqlndを利用している全てのMySQL拡張(mysql, mysqli,
31pdo_mysql)に、クライアント側での結果セットのキャッシュ機能を追加します。
32また、MySQL拡張のAPIは変えることなく、透過的に動作します。
33
34%prep
35%setup -q -n mysqlnd_qc-%{version}
36rm -f ../package.xml
37
38/usr/bin/phpize
39
40%build
41export LIBS="-lpthread"
42%configure --enable-mysqlnd-qc-memcache
43%__make %{_smp_mflags}
44
45%install
46rm -rf %{buildroot}
47mkdir -p %{buildroot}%{_libdir}/php5/
48mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
49%makeinstall INSTALL_ROOT=%{buildroot}
50
51cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_qc.ini <<EOF
52; Enable mysqlnd_qc extension module
53extension=mysqlnd_qc.so
54EOF
55
56
57%clean
58rm -rf %{buildroot}
59
60%files
61%defattr(-,root,root)
62%doc CHANGES CREDITS LICENSE README web
63%{_libdir}/php5/*
64%{_sysconfdir}/php5/php.d/*
65
66%changelog
67* Sat Jan 18 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-3
68- rebuilt with libmemcached-1.0.17.
69
70* Thu Jan 09 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
71- rebuilt with current environment.
72
73* Thu Oct 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1
74- new upstream release.
75
76* Thu May 03 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-2
77- enabled memcache handler.
78
79* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
80- initial build.
81
Note: See TracBrowser for help on using the repository browser.