source: projects/specs/branches/6/p/php-ext-mysqlnd_ms/php-ext-mysqlnd_ms-vl.spec @ 7918

Revision 7918, 1.8 KB checked in by tomop, 11 years ago (diff)

php5-5.5.5-1

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