diff options
Diffstat (limited to 'support-files/mysql.spec.sh')
-rw-r--r-- | support-files/mysql.spec.sh | 54 |
1 files changed, 46 insertions, 8 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 978e04e3268..040bbbae306 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -12,7 +12,7 @@ Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável. Group(pt_BR): Aplicações/Banco_de_Dados Version: @MYSQL_NO_DASH_VERSION@ Release: %{release} -Copyright: GPL / LGPL +Copyright: GPL Source: http://www.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/mysql-%{mysql_version}.tar.gz Icon: mysql.gif URL: http://www.mysql.com/ @@ -45,6 +45,34 @@ The MySQL web site (http://www.mysql.com/) provides the latest news and information about the MySQL software. Also please see the documentation and the manual for more information. +%package server +Release: %{release} +Summary: MySQL: a very fast and reliable SQL database server +Group: Applications/Databases +Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável. +Group(pt_BR): Aplicações/Banco_de_Dados +Requires: fileutils sh-utils +Provides: msqlormysql mysql-server mysql MySQL +Obsoletes: MySQL mysql mysql-server + +%description server +The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, +and robust SQL (Structured Query Language) database server. MySQL Server +is intended for mission-critical, heavy-load production systems as well +as for embedding into mass-deployed software. MySQL is a trademark of +MySQL AB. + +The MySQL software has Dual Licensing, which means you can use the MySQL +software free of charge under the GNU General Public License +(http://www.gnu.org/licenses/). You can also purchase commercial MySQL +licenses from MySQL AB if you do not wish to be bound by the terms of +the GPL. See the chapter "Licensing and Support" in the manual for +further info. + +The MySQL web site (http://www.mysql.com/) provides the latest +news and information about the MySQL software. Also please see the +documentation and the manual for more information. + This package includes the MySQL server binary (statically linked, compiled with InnoDB support) as well as related utilities to run and administrate a MySQL server. @@ -62,7 +90,7 @@ Obsoletes: mysql-client Provides: mysql-client %description client -This package contains the standard MySQL clients. +This package contains the standard MySQL clients and administration tools. %{see_base} @@ -165,11 +193,9 @@ client/server version. BuildMySQL() { # The --enable-assembler simply does nothing on systems that does not # support assembler speedups. -sh -c "PATH=\"${MYSQL_BUILD_PATH:-/bin:/usr/bin}\" \ - CC=\"${MYSQL_BUILD_CC:-gcc}\" \ - CFLAGS=\"${MYSQL_BUILD_CFLAGS:- -O3}\" \ - CXX=\"${MYSQL_BUILD_CXX:-gcc}\" \ - CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:- -O3 \ +sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \ + CFLAGS=\"${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS}\" \ + CXXFLAGS=\"${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS \ -felide-constructors -fno-exceptions -fno-rtti \ }\" \ ./configure \ @@ -386,7 +412,7 @@ fi %clean [ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR; -%files +%files server %defattr(755 root, root) %doc %attr(644, root, root) COPYING COPYING.LIB README @@ -440,6 +466,7 @@ fi %attr(755, root, root) /usr/bin/msql2mysql %attr(755, root, root) /usr/bin/mysql %attr(755, root, root) /usr/bin/mysql_find_rows +%attr(755, root, root) /usr/bin/mysql_waitpid %attr(755, root, root) /usr/bin/mysqlaccess %attr(755, root, root) /usr/bin/mysqladmin %attr(755, root, root) /usr/bin/mysqlbinlog @@ -502,6 +529,17 @@ fi %changelog +* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com> + +- removed unused CC and CXX variables +- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS + +* Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com> + +- renamed package "MySQL" to "MySQL-server" +- fixed Copyright tag +- added mysql_waitpid to client subpackage (required for mysql-test-run) + * Wed Nov 27 2002 Lenz Grimmer <lenz@mysql.com> - moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of |