php-ext-mysqlnd_ms-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Summary: The mysqlnd replication and load balancing plugin
  2. Summary(ja): mysqlnd レプリケーション・ロードバランスプラグイン
  3. Name: php-ext-mysqlnd_ms
  4. Version: 1.6.0
  5. Release: 1%{_dist_release}
  6. URL: http://pecl.php.net/package/mysqlnd_ms
  7. Source: mysqlnd_ms-%{version}.tgz
  8. License: The PHP License
  9. Group: Development/Languages
  10. BuildRequires: php5-devel
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: php5-mysql
  13. Requires: %{req_php_api}
  14. %description
  15. The mysqlnd replication and load balancing plugin (mysqlnd_ms) adds
  16. easy to use MySQL replication support to all PHP MySQL extensions that
  17. use mysqlnd.
  18. %description -l ja
  19. mysqlnd レプリケーション・ロードバランスプラグインは、mysqlndを使用
  20. している全てのPHP MySQL拡張に対し、簡単なMySQLレプリケーション機能の
  21. サポートを追加します。
  22. %prep
  23. %setup -q -n mysqlnd_ms-%{version}
  24. rm -f ../package.xml
  25. /usr/bin/phpize
  26. %build
  27. %configure
  28. %__make %{_smp_mflags}
  29. %install
  30. rm -rf %{buildroot}
  31. mkdir -p %{buildroot}%{_libdir}/php5/
  32. mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
  33. %makeinstall INSTALL_ROOT=%{buildroot}
  34. cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_ms.ini <<EOF
  35. ; Enable mysqlnd_ms extension module
  36. extension=mysqlnd_ms.so
  37. EOF
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root)
  42. %doc CHANGES CREDITS LICENSE README
  43. %{_libdir}/php5/*
  44. %{_sysconfdir}/php5/php.d/*
  45. %changelog
  46. * Thu Oct 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.0-1
  47. - new upstream release.
  48. * Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-2
  49. - converted encoding to UTF-8.
  50. * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
  51. - new upstream release.
  52. * Sun Oct 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
  53. - initial build.