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

Revision 6099, 1.7 KB checked in by tomop, 12 years ago (diff)

added PHP extensions.

  • Property svn:executable set to *
Line 
1Summary: A query cache plugin for mysqlnd
2Summary(ja): mysqlnd クエリキャッシュプラグイン
3Name: php-ext-mysqlnd_qc
4Version: 1.1.1
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
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12Requires: php5-mysql
13Requires: %{req_php_api}
14
15%description
16 The mysqlnd query result cache plugin is a mysqlnd plugin. It adds basic
17client side result set caching to all PHP MySQL extensions (ext/mysql,
18ext/mysqli, PDO_MySQL). if they are compiled to use mysqlnd. It does not
19change the API of the MySQL extensions and thus it operates virtually
20transparent for applications."
21
22%description -l ja
23 このプラグインは、mysqlndを利用している全てのMySQL拡張(mysql, mysqli,
24pdo_mysql)に、クライアント側での結果セットのキャッシュ機能を追加します。
25また、MySQL拡張のAPIは変えることなく、透過的に動作します。
26
27%prep
28%setup -q -n mysqlnd_qc-%{version}
29rm -f ../package.xml
30
31/usr/bin/phpize
32
33%build
34%configure
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
43cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_qc.ini <<EOF
44; Enable mysqlnd_qc extension module
45extension=mysqlnd_qc.so
46EOF
47
48
49%clean
50rm -rf %{buildroot}
51
52%files
53%defattr(-,root,root)
54%doc CHANGES CREDITS LICENSE README web
55%{_libdir}/php5/*
56%{_sysconfdir}/php5/php.d/*
57
58%changelog
59* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
60- initial build.
61
Note: See TracBrowser for help on using the repository browser.