Move connect engine to a separate package
Rename oqgraph engine to align with upstream packages
This commit is contained in:
parent
5c7b565b2a
commit
2d590e9c2c
42
mariadb.spec
42
mariadb.spec
@ -40,6 +40,7 @@
|
|||||||
%bcond_without errmsg
|
%bcond_without errmsg
|
||||||
%bcond_without bench
|
%bcond_without bench
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
|
%bcond_without connect
|
||||||
|
|
||||||
# When there is already another package that ships /etc/my.cnf,
|
# When there is already another package that ships /etc/my.cnf,
|
||||||
# rather include it than ship the file again, since conflicts between
|
# rather include it than ship the file again, since conflicts between
|
||||||
@ -100,7 +101,7 @@
|
|||||||
|
|
||||||
Name: %{pkgname}
|
Name: %{pkgname}
|
||||||
Version: %{compatver}.%{bugfixver}
|
Version: %{compatver}.%{bugfixver}
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
Summary: A community developed branch of MySQL
|
Summary: A community developed branch of MySQL
|
||||||
@ -312,7 +313,7 @@ MariaDB is a community developed branch of MySQL.
|
|||||||
|
|
||||||
|
|
||||||
%if %{with oqgraph}
|
%if %{with oqgraph}
|
||||||
%package oqgraph
|
%package oqgraph-engine
|
||||||
Summary: The Open Query GRAPH engine for MariaDB
|
Summary: The Open Query GRAPH engine for MariaDB
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Requires: %{name}-server%{?_isa} = %{sameevr}
|
Requires: %{name}-server%{?_isa} = %{sameevr}
|
||||||
@ -320,7 +321,7 @@ Requires: %{name}-server%{?_isa} = %{sameevr}
|
|||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: Judy-devel
|
BuildRequires: Judy-devel
|
||||||
|
|
||||||
%description oqgraph
|
%description oqgraph-engine
|
||||||
The package provides Open Query GRAPH engine (OQGRAPH) as plugin for MariaDB
|
The package provides Open Query GRAPH engine (OQGRAPH) as plugin for MariaDB
|
||||||
database server. OQGRAPH is a computation engine allowing hierarchies and more
|
database server. OQGRAPH is a computation engine allowing hierarchies and more
|
||||||
complex graph structures to be handled in a relational fashion. In a nutshell,
|
complex graph structures to be handled in a relational fashion. In a nutshell,
|
||||||
@ -329,6 +330,21 @@ standard SQL syntax, and results joined onto other tables.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with connect}
|
||||||
|
%package connect-engine
|
||||||
|
Summary: The CONNECT storage engine for MariaDB
|
||||||
|
Group: Applications/Databases
|
||||||
|
Requires: %{name}-server%{?_isa} = %{sameevr}
|
||||||
|
|
||||||
|
%description connect-engine
|
||||||
|
The CONNECT storage engine enables MariaDB to access external local or
|
||||||
|
remote data (MED). This is done by defining tables based on different data
|
||||||
|
types, in particular files in various formats, data extracted from other DBMS
|
||||||
|
or products (such as Excel), or data retrieved from the environment
|
||||||
|
(for example DIR, WMI, and MAC tables).
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with devel}
|
%if %{with devel}
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Files for development of MariaDB/MySQL applications
|
Summary: Files for development of MariaDB/MySQL applications
|
||||||
@ -746,7 +762,11 @@ aria_pack,aria_read_log}
|
|||||||
rm -f %{buildroot}%{_mandir}/man1/{mysql,mysql_find_rows,mysql_waitpid,\
|
rm -f %{buildroot}%{_mandir}/man1/{mysql,mysql_find_rows,mysql_waitpid,\
|
||||||
mysqlaccess,mysqladmin,mysqldump,mysqlshow,mysqlslap,\
|
mysqlaccess,mysqladmin,mysqldump,mysqlshow,mysqlslap,\
|
||||||
my_print_defaults}.1*
|
my_print_defaults}.1*
|
||||||
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/{client,connect}.cnf
|
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{without connect}
|
||||||
|
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/connect.cnf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without config}
|
%if %{without config}
|
||||||
@ -924,7 +944,6 @@ fi
|
|||||||
%{_mandir}/man1/aria_read_log.1.gz
|
%{_mandir}/man1/aria_read_log.1.gz
|
||||||
|
|
||||||
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
|
||||||
%config(noreplace) %{_sysconfdir}/my.cnf.d/connect.cnf
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with clibrary}
|
%if %{with clibrary}
|
||||||
@ -1021,6 +1040,7 @@ fi
|
|||||||
|
|
||||||
%{_libdir}/mysql/plugin
|
%{_libdir}/mysql/plugin
|
||||||
%{?with_oqgraph:%exclude %{_libdir}/mysql/plugin/ha_oqgraph.so}
|
%{?with_oqgraph:%exclude %{_libdir}/mysql/plugin/ha_oqgraph.so}
|
||||||
|
%{?with_connect:%exclude %{_libdir}/mysql/plugin/ha_connect.so}
|
||||||
%exclude %{_libdir}/mysql/plugin/dialog.so
|
%exclude %{_libdir}/mysql/plugin/dialog.so
|
||||||
%exclude %{_libdir}/mysql/plugin/mysql_clear_password.so
|
%exclude %{_libdir}/mysql/plugin/mysql_clear_password.so
|
||||||
|
|
||||||
@ -1085,11 +1105,17 @@ fi
|
|||||||
%config(noreplace) %{logrotateddir}/%{daemon_name}
|
%config(noreplace) %{logrotateddir}/%{daemon_name}
|
||||||
|
|
||||||
%if %{with oqgraph}
|
%if %{with oqgraph}
|
||||||
%files oqgraph
|
%files oqgraph-engine
|
||||||
%config(noreplace) %{_sysconfdir}/my.cnf.d/oqgraph.cnf
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/oqgraph.cnf
|
||||||
%{_libdir}/mysql/plugin/ha_oqgraph.so
|
%{_libdir}/mysql/plugin/ha_oqgraph.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with connect}
|
||||||
|
%files connect-engine
|
||||||
|
%config(noreplace) %{_sysconfdir}/my.cnf.d/connect.cnf
|
||||||
|
%{_libdir}/mysql/plugin/ha_connect.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with devel}
|
%if %{with devel}
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/mysql_config
|
%{_bindir}/mysql_config
|
||||||
@ -1127,6 +1153,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 24 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.13-8
|
||||||
|
- Move connect engine to a separate package
|
||||||
|
Rename oqgraph engine to align with upstream packages
|
||||||
|
|
||||||
* Wed Sep 24 2014 Matej Muzila <mmuzila@redhat.com> - 1:10.0.13-7
|
* Wed Sep 24 2014 Matej Muzila <mmuzila@redhat.com> - 1:10.0.13-7
|
||||||
- Client related libraries moved from mariadb-server to mariadb-libs
|
- Client related libraries moved from mariadb-server to mariadb-libs
|
||||||
Related: #1138843
|
Related: #1138843
|
||||||
|
Loading…
Reference in New Issue
Block a user