[6107] | 1 | Summary: The mysqlnd replication and load balancing plugin |
---|
| 2 | Summary(ja): mysqlnd レプリケーション・ロードバランスプラグイン |
---|
| 3 | Name: php-ext-mysqlnd_ms |
---|
[7918] | 4 | Version: 1.6.0 |
---|
| 5 | Release: 1%{_dist_release} |
---|
[6107] | 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 | |
---|
| 15 | %description |
---|
| 16 | The mysqlnd replication and load balancing plugin (mysqlnd_ms) adds |
---|
| 17 | easy to use MySQL replication support to all PHP MySQL extensions that |
---|
| 18 | use mysqlnd. |
---|
| 19 | |
---|
| 20 | %description -l ja |
---|
| 21 | mysqlnd レプリケーション・ロードバランスプラグインは、mysqlndを使用 |
---|
| 22 | している全てのPHP MySQL拡張に対し、簡単なMySQLレプリケーション機能の |
---|
| 23 | サポートを追加します。 |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n mysqlnd_ms-%{version} |
---|
| 27 | rm -f ../package.xml |
---|
| 28 | |
---|
| 29 | /usr/bin/phpize |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %configure |
---|
| 33 | %__make %{_smp_mflags} |
---|
| 34 | |
---|
| 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 | |
---|
| 41 | cat > %{buildroot}%{_sysconfdir}/php5/php.d/mysqlnd_ms.ini <<EOF |
---|
| 42 | ; Enable mysqlnd_ms extension module |
---|
| 43 | extension=mysqlnd_ms.so |
---|
| 44 | EOF |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | rm -rf %{buildroot} |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-,root,root) |
---|
| 52 | %doc CHANGES CREDITS LICENSE README |
---|
| 53 | %{_libdir}/php5/* |
---|
| 54 | %{_sysconfdir}/php5/php.d/* |
---|
| 55 | |
---|
| 56 | %changelog |
---|
[7918] | 57 | * Thu Oct 03 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.0-1 |
---|
| 58 | - new upstream release. |
---|
| 59 | |
---|
[6107] | 60 | * Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-2 |
---|
| 61 | - converted encoding to UTF-8. |
---|
| 62 | |
---|
| 63 | * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1 |
---|
| 64 | - new upstream release. |
---|
| 65 | |
---|
| 66 | * Sun Oct 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1 |
---|
| 67 | - initial build. |
---|
| 68 | |
---|