| Revision 6099,
1.7 KB
checked in by tomop, 14 years ago
(diff) |
|
added PHP extensions.
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | Summary: The mysqlnd replication and load balancing plugin |
|---|
| 2 | Summary(ja): mysqlnd レプリケーション・ロードバランスプラグイン |
|---|
| 3 | Name: php-ext-mysqlnd_ms |
|---|
| 4 | Version: 1.3.2 |
|---|
| 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 | 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 |
|---|
| 57 | * Sun Apr 29 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-2 |
|---|
| 58 | - converted encoding to UTF-8. |
|---|
| 59 | |
|---|
| 60 | * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.2-1 |
|---|
| 61 | - new upstream release. |
|---|
| 62 | |
|---|
| 63 | * Sun Oct 30 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1-1 |
|---|
| 64 | - initial build. |
|---|
| 65 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.