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