49 |
%define libmysqlembedded_devel %mklibname -d mariadb-embedded |
%define libmysqlembedded_devel %mklibname -d mariadb-embedded |
50 |
|
|
51 |
%define mirror http://mirror2.hs-esslingen.de/mariadb |
%define mirror http://mirror2.hs-esslingen.de/mariadb |
52 |
%define bzrrev 3169.20111216 |
%define bzrrev 3189.20111226 |
53 |
|
|
54 |
%define muser mysql |
%define muser mysql |
55 |
Summary: A very fast and reliable SQL database engine |
Summary: A very fast and reliable SQL database engine |
56 |
Name: mariadb |
Name: mariadb |
57 |
Version: 5.5.18 |
Version: 5.5.18 |
58 |
Release: %mkrel 0.bzr%{bzrrev}.5 |
Release: %mkrel 0.bzr%{bzrrev}.6 |
59 |
Group: Databases |
Group: Databases |
60 |
License: GPLv2 with exceptions |
License: GPLv2 with exceptions |
61 |
URL: http://mariadb.org/ |
URL: http://mariadb.org/ |
92 |
Patch101: mariadb-5.5-logrotate.patch |
Patch101: mariadb-5.5-logrotate.patch |
93 |
Patch102: mariadb-5.5-initscript.patch |
Patch102: mariadb-5.5-initscript.patch |
94 |
Patch103: mariadb-5.5-mysql_upgrade-exit-status.patch |
Patch103: mariadb-5.5-mysql_upgrade-exit-status.patch |
|
# filed upstream: https://bugs.launchpad.net/maria/+bug/886526 |
|
|
Patch104: mariadb-5.5-shebang.patch |
|
95 |
# unsure if still required |
# unsure if still required |
96 |
#Patch105: mysql-5.1.35-test-variables-big.patch |
#Patch105: mysql-5.1.35-test-variables-big.patch |
97 |
Patch106: mariadb-5.5-hotcopy.patch |
Patch106: mariadb-5.5-hotcopy.patch |
103 |
Patch110: mariadb-5.5-fix-headers-location.patch |
Patch110: mariadb-5.5-fix-headers-location.patch |
104 |
# fix oqgraph typecast -- alien |
# fix oqgraph typecast -- alien |
105 |
Patch111: mariadb-5.5-fix-typecast-oqgraph.patch |
Patch111: mariadb-5.5-fix-typecast-oqgraph.patch |
|
# fix offset of variable, see #3804 (from upstream IRC chat) -- alien |
|
|
Patch112: mariadb-5.5-fix_offset_of_variable.patch |
|
106 |
# fix typeinfo of the handler class for rtti build -- alien |
# fix typeinfo of the handler class for rtti build -- alien |
107 |
Patch113: mariadb-5.5-oqgraph-typeinfo.patch |
Patch113: mariadb-5.5-oqgraph-typeinfo.patch |
108 |
|
|
121 |
Requires: %{name}-client = %{version}-%{release} |
Requires: %{name}-client = %{version}-%{release} |
122 |
Provides: mysql = %{version}-%{release} |
Provides: mysql = %{version}-%{release} |
123 |
Obsoletes: mysql < 5.5.18 |
Obsoletes: mysql < 5.5.18 |
124 |
|
Suggests: %{name}-extra |
125 |
BuildRequires: bison |
BuildRequires: bison |
126 |
BuildRequires: cmake |
BuildRequires: cmake |
127 |
BuildRequires: doxygen |
BuildRequires: doxygen |
155 |
- Archive Storage Engine |
- Archive Storage Engine |
156 |
- Blackhole Storage Engine |
- Blackhole Storage Engine |
157 |
- CSV Storage Engine |
- CSV Storage Engine |
158 |
- Feedback Storage Engine |
- FederatedX Storage Engine (Federated replacement) |
|
- Federated Storage Engine |
|
|
- FederatedX Storage Engine |
|
159 |
- Heap Storage Engine |
- Heap Storage Engine |
|
- InnoDB Storage Engine |
|
160 |
- MyISAM Storage Engine |
- MyISAM Storage Engine |
161 |
- MyISAMMRG Storage Engine |
- MyISAMMRG Storage Engine |
|
- OQGraph Storage Engine |
|
162 |
- Partition Storage Engine |
- Partition Storage Engine |
163 |
- Perfschema Storage Engine |
- Perfschema Storage Engine |
164 |
|
- XtraDB Storage Engine (InnoDB replacement) |
165 |
|
|
166 |
|
The following extra storage engines are provided by the mariadb-extra package |
167 |
|
|
168 |
|
- OQGraph Storage Engine |
169 |
- Sphinx Storage Engine |
- Sphinx Storage Engine |
|
- XtraDB Storage Engine |
|
170 |
|
|
171 |
|
The feedback storage engine is provided by the mariadb-feedback package |
172 |
|
|
173 |
|
- Feedback Storage Engine |
174 |
|
|
175 |
|
The following storage engines are provided in the mariadb-obsolete package |
176 |
|
|
177 |
|
- Federated Storage Engine |
178 |
|
- InnoDB Storage Engine |
179 |
|
|
180 |
|
%package feedback |
181 |
|
Summary: MariaDB feedback storage engine |
182 |
|
Group: System/Servers |
183 |
|
Requires: %{name}-common-core >= %{version}-%{release} |
184 |
|
|
185 |
|
%description feedback |
186 |
|
MariaDB feedback storage engine submits feedback about your mariadb server. |
187 |
|
Results can be seen on http://mariadb.org/feedback_plugin/ . |
188 |
|
|
189 |
|
%package extra |
190 |
|
Summary: MariaDB extra storage engines |
191 |
|
Group: System/Servers |
192 |
|
Requires: %{name}-common-core >= %{version}-%{release} |
193 |
|
|
194 |
|
%description extra |
195 |
|
MariaDB oqgraph and sphinx storage engines. |
196 |
|
|
197 |
|
%package obsolete |
198 |
|
Summary: MariaDB obsolete storage engines |
199 |
|
Group: System/Servers |
200 |
|
Requires: %{name}-common-core >= %{version}-%{release} |
201 |
|
Conflicts: mysql-core < 5.5.18 |
202 |
|
|
203 |
|
%description obsolete |
204 |
|
MariaDB obsolete storage engines. InnoDB and Federated are being replaced by |
205 |
|
XtraDB and FederatedX storage engines. These obsolete storage engines are |
206 |
|
provided in case you need the vanilla mysql storage engines. |
207 |
|
|
208 |
%package core |
%package core |
209 |
Summary: Server core binary |
Summary: Server core binary |
512 |
# mysql client statically built against a local embedded library, pretty useless |
# mysql client statically built against a local embedded library, pretty useless |
513 |
rm -f %{buildroot}%{_bindir}/mysql_embedded |
rm -f %{buildroot}%{_bindir}/mysql_embedded |
514 |
|
|
515 |
# this enables plugins, need ini file, need conf in my.cnf before executing |
# this command enables plugins, but needs ini file + configuration in my.cnf before executing |
516 |
# this mysql_plugin script, and oh yeah, mysql must be stopped... |
# and oh yeah, mysql must be stopped... => useless |
517 |
rm -f %{buildroot}%{_bindir}/mysql_plugin |
rm -f %{buildroot}%{_bindir}/mysql_plugin |
518 |
rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini |
rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini |
519 |
|
|
520 |
|
# remove more useless plugins |
521 |
|
rm -f %{buildroot}%{_libdir}/mysql/plugin/auth_test_plugin.so |
522 |
|
rm -f %{buildroot}%{_libdir}/mysql/plugin/dialog_examples.so |
523 |
|
|
524 |
# house cleaning |
# house cleaning |
525 |
rm -rf %{buildroot}%{_datadir}/info |
rm -rf %{buildroot}%{_datadir}/info |
526 |
rm -f %{buildroot}%{_bindir}/client_test |
rm -f %{buildroot}%{_bindir}/client_test |
645 |
%{_sbindir}/mysqld-prepare-db-dir |
%{_sbindir}/mysqld-prepare-db-dir |
646 |
%{_sbindir}/mysqld-wait-ready |
%{_sbindir}/mysqld-wait-ready |
647 |
%dir %{_libdir}/mysql/plugin |
%dir %{_libdir}/mysql/plugin |
648 |
%{_libdir}/mysql/plugin/adt_null.so |
# authentication plugins |
649 |
%{_libdir}/mysql/plugin/auth_socket.so |
%{_libdir}/mysql/plugin/auth_socket.so |
|
%{_libdir}/mysql/plugin/auth_test_plugin.so |
|
650 |
%{_libdir}/mysql/plugin/dialog.so |
%{_libdir}/mysql/plugin/dialog.so |
651 |
%{_libdir}/mysql/plugin/dialog_examples.so |
%{_libdir}/mysql/plugin/mysql_clear_password.so |
652 |
%{_libdir}/mysql/plugin/feedback.so |
# replication plugins |
653 |
|
%{_libdir}/mysql/plugin/semisync_master.so |
654 |
|
%{_libdir}/mysql/plugin/semisync_slave.so |
655 |
|
# storage engines |
656 |
%{_libdir}/mysql/plugin/ha_archive.so |
%{_libdir}/mysql/plugin/ha_archive.so |
657 |
%{_libdir}/mysql/plugin/ha_blackhole.so |
%{_libdir}/mysql/plugin/ha_blackhole.so |
|
%{_libdir}/mysql/plugin/ha_federated.so |
|
658 |
%{_libdir}/mysql/plugin/ha_federatedx.so |
%{_libdir}/mysql/plugin/ha_federatedx.so |
659 |
%{_libdir}/mysql/plugin/ha_innodb.so |
# upstream describes this as "junk" |
660 |
%{_libdir}/mysql/plugin/ha_oqgraph.so |
%{_libdir}/mysql/plugin/adt_null.so |
|
%{_libdir}/mysql/plugin/ha_sphinx.so |
|
661 |
%{_libdir}/mysql/plugin/mypluglib.so |
%{_libdir}/mysql/plugin/mypluglib.so |
|
%{_libdir}/mysql/plugin/mysql_clear_password.so |
|
662 |
%{_libdir}/mysql/plugin/qa_auth_client.so |
%{_libdir}/mysql/plugin/qa_auth_client.so |
663 |
%{_libdir}/mysql/plugin/qa_auth_interface.so |
%{_libdir}/mysql/plugin/qa_auth_interface.so |
664 |
%{_libdir}/mysql/plugin/qa_auth_server.so |
%{_libdir}/mysql/plugin/qa_auth_server.so |
665 |
%{_libdir}/mysql/plugin/semisync_master.so |
# example plugins, not usefull at all, removing |
666 |
%{_libdir}/mysql/plugin/semisync_slave.so |
#%{_libdir}/mysql/plugin/auth_test_plugin.so |
667 |
|
#%{_libdir}/mysql/plugin/dialog_examples.so |
668 |
|
|
669 |
|
%files obsolete |
670 |
|
%{_libdir}/mysql/plugin/ha_innodb.so |
671 |
|
%{_libdir}/mysql/plugin/ha_federated.so |
672 |
|
|
673 |
|
%files feedback |
674 |
|
%{_libdir}/mysql/plugin/feedback.so |
675 |
|
|
676 |
|
%files extra |
677 |
|
%{_libdir}/mysql/plugin/ha_oqgraph.so |
678 |
|
%{_libdir}/mysql/plugin/ha_sphinx.so |
679 |
|
|
680 |
%files client |
%files client |
681 |
%config(noreplace) %{_sysconfdir}/mysqlaccess.conf |
%config(noreplace) %{_sysconfdir}/mysqlaccess.conf |