php-ext-mysqlnd_qc-vl.spec 2.1 KB

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