format spec file
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=107
This commit is contained in:
parent
258e8dc4e2
commit
2f1557dce0
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:86e5ff42abb49bc5b0630e34081e57ce64d432fcd99d4c52a0eaf370633bdcfc
|
oid sha256:9d7787ba1d8fcb24323d602ecf38185504f9b0edfca9e00533045c88867a9c42
|
||||||
size 219
|
size 220
|
||||||
|
37
mariadb.spec
37
mariadb.spec
@ -36,7 +36,7 @@ Summary: Server part of MariaDB
|
|||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
License: SUSE-GPL-2.0-with-FLOSS-exception
|
||||||
Group: Productivity/Databases/Servers
|
Group: Productivity/Databases/Servers
|
||||||
Version: 5.5.29
|
Version: 5.5.29
|
||||||
Release: 1
|
Release: 0
|
||||||
%define srv_vers 5.5.29
|
%define srv_vers 5.5.29
|
||||||
Url: http://www.mariab.org
|
Url: http://www.mariab.org
|
||||||
Source: mariadb-%{version}.tar.bz2
|
Source: mariadb-%{version}.tar.bz2
|
||||||
@ -83,10 +83,11 @@ Recommends: logrotate
|
|||||||
Requires: logrotate
|
Requires: logrotate
|
||||||
%endif
|
%endif
|
||||||
# required by rcmysql
|
# required by rcmysql
|
||||||
Requires: %{name}-client perl-base
|
Requires: %{name}-client
|
||||||
Requires: %{name}-errormessages = %version
|
Requires: %{name}-errormessages = %version
|
||||||
Provides: mysql-Max = %{srv_vers}
|
Requires: perl-base
|
||||||
Provides: mysql = %{srv_vers}
|
Provides: mysql = %{srv_vers}
|
||||||
|
Provides: mysql-Max = %{srv_vers}
|
||||||
%if 0%{?use_extra_provides} > 0
|
%if 0%{?use_extra_provides} > 0
|
||||||
Provides: %{extra_provides} = %{version}
|
Provides: %{extra_provides} = %{version}
|
||||||
Obsoletes: %{extra_provides} < %{version}
|
Obsoletes: %{extra_provides} < %{version}
|
||||||
@ -105,18 +106,16 @@ the Maria storage engine.
|
|||||||
This package only contains the server-side programs.
|
This package only contains the server-side programs.
|
||||||
|
|
||||||
%if 0%{?prefered} > 0
|
%if 0%{?prefered} > 0
|
||||||
|
|
||||||
%package -n libmysqlclient-devel
|
%package -n libmysqlclient-devel
|
||||||
# mysql-devel was last used in openSUSE 10.2
|
# mysql-devel was last used in openSUSE 10.2
|
||||||
Provides: mysql-devel = %srv_vers-%release
|
Provides: mysql-devel = %srv_vers-%release
|
||||||
Obsoletes: mysql-devel < %srv_vers
|
Obsoletes: mysql-devel < %srv_vers
|
||||||
|
Requires: glibc-devel
|
||||||
Requires: libmysqlclient18 = %version
|
Requires: libmysqlclient18 = %version
|
||||||
Requires: libmysqlclient_r18 = %version
|
Requires: libmysqlclient_r18 = %version
|
||||||
Requires: glibc-devel
|
|
||||||
Requires: openssl-devel
|
Requires: openssl-devel
|
||||||
Requires: zlib-devel
|
Requires: zlib-devel
|
||||||
Summary: MariaDB development header files and libraries
|
Summary: MariaDB development header files and libraries
|
||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description -n libmysqlclient-devel
|
%description -n libmysqlclient-devel
|
||||||
@ -124,7 +123,6 @@ This package contains the development header files and libraries
|
|||||||
necessary to develop client applications for MariaDB.
|
necessary to develop client applications for MariaDB.
|
||||||
|
|
||||||
%package -n libmysqld18
|
%package -n libmysqld18
|
||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
|
||||||
Summary: MariaDB embedded server development files
|
Summary: MariaDB embedded server development files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}-errormessages = %version
|
Requires: %{name}-errormessages = %version
|
||||||
@ -134,13 +132,12 @@ This package contains the development header files and libraries
|
|||||||
for developing applications that embed the MariaDB.
|
for developing applications that embed the MariaDB.
|
||||||
|
|
||||||
%package -n libmysqld-devel
|
%package -n libmysqld-devel
|
||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
|
||||||
Summary: MariaDB embedded server development files
|
Summary: MariaDB embedded server development files
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
# the headers files are the shared
|
# the headers files are the shared
|
||||||
Requires: libmysqlclient-devel = %version
|
Requires: libmysqlclient-devel = %version
|
||||||
Requires: tcpd-devel
|
|
||||||
Requires: libmysqld18 = %version
|
Requires: libmysqld18 = %version
|
||||||
Group: Development/Libraries/C and C++
|
Requires: tcpd-devel
|
||||||
|
|
||||||
%description -n libmysqld-devel
|
%description -n libmysqld-devel
|
||||||
This package contains the development header files and libraries
|
This package contains the development header files and libraries
|
||||||
@ -149,7 +146,6 @@ for developing applications that embed the MariaDB.
|
|||||||
|
|
||||||
%package -n libmysqlclient18
|
%package -n libmysqlclient18
|
||||||
Summary: Shared Libraries for MariaDB
|
Summary: Shared Libraries for MariaDB
|
||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
|
||||||
%description -n libmysqlclient18
|
%description -n libmysqlclient18
|
||||||
@ -158,7 +154,6 @@ languages and applications need to dynamically load and use MariaDB.
|
|||||||
|
|
||||||
%package -n libmysqlclient_r18
|
%package -n libmysqlclient_r18
|
||||||
Summary: Shared Libraries for MariaDB
|
Summary: Shared Libraries for MariaDB
|
||||||
License: SUSE-GPL-2.0-with-FLOSS-exception
|
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
|
||||||
%description -n libmysqlclient_r18
|
%description -n libmysqlclient_r18
|
||||||
@ -191,7 +186,8 @@ This package provides the translated error messages for the standalone
|
|||||||
server daemon as well as the embedded server
|
server daemon as well as the embedded server
|
||||||
|
|
||||||
%package bench
|
%package bench
|
||||||
Requires: %{name}-client perl-DBD-mysql
|
Requires: %{name}-client
|
||||||
|
Requires: perl-DBD-mysql
|
||||||
Summary: Benchmarks for MariaDB
|
Summary: Benchmarks for MariaDB
|
||||||
Group: Productivity/Databases/Tools
|
Group: Productivity/Databases/Tools
|
||||||
Provides: mysql-bench = %{srv_vers}
|
Provides: mysql-bench = %{srv_vers}
|
||||||
@ -215,8 +211,8 @@ the directory /usr/share/sql-bench after starting MariaDB.
|
|||||||
Summary: MariaDB with debug options turned on
|
Summary: MariaDB with debug options turned on
|
||||||
Group: Productivity/Databases/Servers
|
Group: Productivity/Databases/Servers
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Provides: mysql-debug = %{srv_vers}
|
|
||||||
Provides: %{name}-debug = %{srv_vers}
|
Provides: %{name}-debug = %{srv_vers}
|
||||||
|
Provides: mysql-debug = %{srv_vers}
|
||||||
%if 0%{?use_extra_provides} > 0
|
%if 0%{?use_extra_provides} > 0
|
||||||
Provides: %{extra_provides}-debug-verion = %{version}
|
Provides: %{extra_provides}-debug-verion = %{version}
|
||||||
Obsoletes: %{extra_provides}-debug-version < %{version}
|
Obsoletes: %{extra_provides}-debug-version < %{version}
|
||||||
@ -237,10 +233,10 @@ information on how to use the debug server.
|
|||||||
Summary: Testsuite for MariaDB
|
Summary: Testsuite for MariaDB
|
||||||
Group: Productivity/Databases/Servers
|
Group: Productivity/Databases/Servers
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-client = %{version}
|
|
||||||
Requires: perl-DBD-mysql
|
|
||||||
Requires: %{name}-tools = %{version}
|
|
||||||
Requires: %{name}-bench = %{version}
|
Requires: %{name}-bench = %{version}
|
||||||
|
Requires: %{name}-client = %{version}
|
||||||
|
Requires: %{name}-tools = %{version}
|
||||||
|
Requires: perl-DBD-mysql
|
||||||
Provides: mysql-test = %{srv_vers}
|
Provides: mysql-test = %{srv_vers}
|
||||||
%if 0%{?use_extra_provides} > 0
|
%if 0%{?use_extra_provides} > 0
|
||||||
Provides: %{extra_provides}-test = %{version}
|
Provides: %{extra_provides}-test = %{version}
|
||||||
@ -280,7 +276,6 @@ applications with MariaDB.
|
|||||||
%if 0%{?cluster} > 0
|
%if 0%{?cluster} > 0
|
||||||
|
|
||||||
%if 0%{?cluster} > 1
|
%if 0%{?cluster} > 1
|
||||||
|
|
||||||
%package -n libndbclient6
|
%package -n libndbclient6
|
||||||
Summary: Shared Libraries for cluster client
|
Summary: Shared Libraries for cluster client
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
@ -382,7 +377,6 @@ rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
# preun and posttran takes care of restart #
|
# preun and posttran takes care of restart #
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
[ $1 = 1 ] || /usr/sbin/rcmysql stop
|
[ $1 = 1 ] || /usr/sbin/rcmysql stop
|
||||||
|
|
||||||
@ -433,14 +427,12 @@ fi
|
|||||||
%postun -n libmysqlclient_r18 -p /sbin/ldconfig
|
%postun -n libmysqlclient_r18 -p /sbin/ldconfig
|
||||||
|
|
||||||
%if 0%{cluster} > 1
|
%if 0%{cluster} > 1
|
||||||
|
|
||||||
%post -n libndbclient6 -p /sbin/ldconfig
|
%post -n libndbclient6 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libndbclient6 -p /sbin/ldconfig
|
%postun -n libndbclient6 -p /sbin/ldconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{prefered} > 0
|
%if 0%{prefered} > 0
|
||||||
|
|
||||||
%post -n libmysqld18 -p /sbin/ldconfig
|
%post -n libmysqld18 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libmysqld18 -p /sbin/ldconfig
|
%postun -n libmysqld18 -p /sbin/ldconfig
|
||||||
@ -488,7 +480,6 @@ fi
|
|||||||
%config(noreplace) %attr(0640, root, mysql) /etc/mysqlaccess.conf
|
%config(noreplace) %attr(0640, root, mysql) /etc/mysqlaccess.conf
|
||||||
|
|
||||||
%if 0%{prefered} > 0
|
%if 0%{prefered} > 0
|
||||||
|
|
||||||
%files -n libmysqlclient-devel -f libmysqlclient-devel.files
|
%files -n libmysqlclient-devel -f libmysqlclient-devel.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
/usr/include/mysql
|
/usr/include/mysql
|
||||||
@ -512,7 +503,6 @@ fi
|
|||||||
%{_libdir}/libmysqlclient.so.*
|
%{_libdir}/libmysqlclient.so.*
|
||||||
|
|
||||||
%if 0%{cluster} > 1
|
%if 0%{cluster} > 1
|
||||||
|
|
||||||
%files -n libndbclient6
|
%files -n libndbclient6
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libndbclient.so.*
|
%{_libdir}/libndbclient.so.*
|
||||||
@ -548,7 +538,6 @@ fi
|
|||||||
%_bindir/mysqloptimize
|
%_bindir/mysqloptimize
|
||||||
|
|
||||||
%if 0%{cluster} > 0
|
%if 0%{cluster} > 0
|
||||||
|
|
||||||
%files ndb-storage -f mysql-ndb-storage.files
|
%files ndb-storage -f mysql-ndb-storage.files
|
||||||
|
|
||||||
%files ndb-management -f mysql-ndb-management.files
|
%files ndb-management -f mysql-ndb-management.files
|
||||||
|
Loading…
Reference in New Issue
Block a user