mysql_spec rpmbuild-2

Copyright (c) 2000, @MYSQL_COPYRIGHT_YEAR@, %{mysql_vendor}. All rights reserved.

This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license.

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
%if %{INNODB_BUILD}
(configured including InnoDB)
%endif
as well as related utilities to run and administer a MySQL server.

If you want to access and work with the database, you have to install
package "MySQL-client" as well!

# ------------------------------------------------------------------------------

%package client            #client **
Summary:    MySQL - Client
Group:        Applications/Databases
Provides:    mysql-client MySQL-client
Obsoletes:    mysql-client MySQL-client
Obsoletes:    MySQL-client-classic MySQL-client-community MySQL-client-enterprise
Obsoletes:    MySQL-client-advanced MySQL-client-advanced-gpl MySQL-client-enterprise-gpl

%description client
This package contains the standard MySQL clients and administration tools.

%{see_base}

# ------------------------------------------------------------------------------

%if %{CLUSTER_BUILD}
%package ndb-storage             #cluster **
Summary:    MySQL - ndbcluster storage engine
Group:        Applications/Databases

%description ndb-storage
This package contains the ndbcluster storage engine.
It is necessary to have this package installed on all
computers that should store ndbcluster table data.

%{see_base}

# ------------------------------------------------------------------------------

%package ndb-management          #cluster management
Summary:    MySQL - ndbcluster storage engine management
Group:        Applications/Databases

%description ndb-management
This package contains ndbcluster storage engine management.
It is necessary to have this package installed on at least
one computer in the cluster.

%{see_base}

# ------------------------------------------------------------------------------

%package ndb-tools     #tools**
Summary:    MySQL - ndbcluster storage engine basic tools
Group:        Applications/Databases

%description ndb-tools
This package contains ndbcluster storage engine basic tools.

%{see_base}

# ------------------------------------------------------------------------------

%package ndb-extra     #extra
Summary:    MySQL - ndbcluster storage engine extra tools
Group:        Applications/Databases

%description ndb-extra
This package contains some extra ndbcluster storage engine tools for the advanced user.
They should be used with caution.

%{see_base}
%endif

# ------------------------------------------------------------------------------

%package test              #test **
Summary:    MySQL - Test suite
Group:        Applications/Databases
Requires:    %{name}-client perl
Provides:    mysql-test MySQL-test
Obsoletes:    mysql-test MySQL-test
Obsoletes:    mysql-bench MySQL-bench
Obsoletes:    MySQL-test-classic MySQL-test-community MySQL-test-enterprise
Obsoletes:    MySQL-test-advanced MySQL-test-advanced-gpl MySQL-test-enterprise-gpl
AutoReqProv: no

%description test
This package contains the MySQL regression test suite.

%{see_base}

# ------------------------------------------------------------------------------

%package devel      #devel
Summary:    MySQL - Development header files and libraries
Group:        Applications/Databases
Provides:    mysql-devel MySQL-devel
Obsoletes:    mysql-devel MySQL-devel
Obsoletes:    MySQL-devel-classic MySQL-devel-community MySQL-devel-enterprise
Obsoletes:    MySQL-devel-advanced MySQL-devel-advanced-gpl MySQL-devel-enterprise-gpl

%description devel
This package contains the development header files and libraries
necessary to develop MySQL client applications.

%{see_base}

# ------------------------------------------------------------------------------

%package shared               #shared **
Summary:    MySQL - Shared libraries
Group:        Applications/Databases
Provides:    mysql-shared MySQL-shared
Obsoletes:    mysql-shared MySQL-shared-standard MySQL-shared-pro
Obsoletes:    MySQL-shared-pro-cert MySQL-shared-pro-gpl
Obsoletes:    MySQL-shared-pro-gpl-cert MySQL-shared
Obsoletes:    MySQL-shared-classic MySQL-shared-community MySQL-shared-enterprise
Obsoletes:    MySQL-shared-advanced MySQL-shared-advanced-gpl MySQL-shared-enterprise-gpl

%description shared
This package contains the shared libraries (*.so*) which certain
languages and applications need to dynamically load and use MySQL.

# ------------------------------------------------------------------------------

%if %{EMBEDDED_BUILD}

%package embedded         #嵌入式
Summary:    MySQL - Embedded library
Group:        Applications/Databases
Requires:    %{name}-devel
Provides:    mysql-embedded MySQL-embedded
Obsoletes:    mysql-embedded MySQL-embedded
Obsoletes:    MySQL-embedded-pro
Obsoletes:    MySQL-embedded-classic MySQL-embedded-community MySQL-embedded-enterprise

Obsoletes:    MySQL-embedded-advanced MySQL-embedded-advanced-gpl MySQL-embedded-enterprise-gpl


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值