php-ext-mysqlnd_ms-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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: 2%{_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. BuildRequires: libxml2-devel
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: php5-mysql
  14. %if "%{?req_php_api}" != ""
  15. Requires: %{req_php_api}
  16. %endif
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: tomop
  20. %description
  21. The mysqlnd replication and load balancing plugin (mysqlnd_ms) adds
  22. easy to use MySQL replication support to all PHP MySQL extensions that
  23. use mysqlnd.
  24. %description -l ja
  25. mysqlnd レプリケーション・ロードバランスプラグインは、mysqlndを使用
  26. している全てのPHP MySQL拡張に対し、簡単なMySQLレプリケーション機能の
  27. サポートを追加します。
  28. %prep
  29. %setup -q -n mysqlnd_ms-%{version}
  30. rm -f ../package.xml
  31. /usr/bin/phpize
  32. %build
  33. %configure
  34. %__make %{_smp_mflags}
  35. %install
  36. rm -rf %{buildroot}
  37. mkdir -p %{buildroot}%{_libdir}/php5/
  38. mkdir -p %{buildroot}%{_sysconfdir}/php5/php.d
  39. %makeinstall INSTALL_ROOT=%{buildroot}
  40. cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_ms.ini <<EOF
  41. ; Enable mysqlnd_ms extension module
  42. extension=mysqlnd_ms.so
  43. EOF
  44. %clean
  45. rm -rf %{buildroot}
  46. %files
  47. %defattr(-,root,root)
  48. %doc CHANGES CREDITS LICENSE README
  49. %{_libdir}/php5/*
  50. %{_sysconfdir}/php5/php.d/*
  51. %changelog
  52. * Thu Jan 09 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.0-2
  53. - rebuilt with current environment.
  54. * Thu Oct 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.0-1
  55. - new upstream release.
  56. * Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-2
  57. - converted encoding to UTF-8.
  58. * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1
  59. - new upstream release.
  60. * Sun Oct 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1
  61. - initial build.