[12399] | 1 | %bcond_with systemd |
---|
[9133] | 2 | %bcond_with source |
---|
[12062] | 3 | %bcond_without onigmo |
---|
[12464] | 4 | %bcond_with tokudb |
---|
[9133] | 5 | |
---|
[12399] | 6 | %global daemon_name mariadb |
---|
| 7 | |
---|
[8350] | 8 | %define mysqld_user mysql |
---|
| 9 | %define mysqld_group mysql |
---|
| 10 | %define mysqldatadir /var/lib/mysql |
---|
| 11 | |
---|
| 12 | # Working around perl dependency problem |
---|
| 13 | %global __perl_requires %{SOURCE998} |
---|
| 14 | %global __perllib_requires %{SOURCE998} |
---|
| 15 | |
---|
| 16 | %define _unpackaged_files_terminate_build 1 |
---|
| 17 | |
---|
[12508] | 18 | %define mariadb_version 10.5.8 |
---|
[12464] | 19 | %define mariadb_base_version 10.5 |
---|
[12503] | 20 | %define mroonga_version 10.07 |
---|
[12508] | 21 | %define groonga_version 10.0.8 |
---|
[8350] | 22 | %define client_version 18 |
---|
| 23 | |
---|
[12131] | 24 | %define galera_api_version 26.4 |
---|
| 25 | |
---|
[12399] | 26 | Name: mariadb |
---|
[8350] | 27 | Summary: MariaDB: a very fast and robust SQL database server |
---|
| 28 | Version: %{mariadb_version} |
---|
[12399] | 29 | Release: 1%{_dist_release}%{?with_systemd:.systemd} |
---|
[12464] | 30 | Group: servers |
---|
[12399] | 31 | Vendor: Project Vine |
---|
| 32 | Distribution: Vine Linux |
---|
| 33 | Packager: tomop |
---|
[8350] | 34 | |
---|
| 35 | License: GPL2 |
---|
[12310] | 36 | URL: https://mariadb.org/ |
---|
[12399] | 37 | Source: https://downloads.mariadb.com/MariaDB/mariadb-%{version}/source/mariadb-%{version}.tar.gz |
---|
[8350] | 38 | |
---|
[12399] | 39 | # for systemd |
---|
| 40 | Source10: mysql.tmpfiles.d.in |
---|
| 41 | Source11: mysql.service.in |
---|
| 42 | Source12: mysql-prepare-db-dir.sh |
---|
| 43 | Source14: mysql-check-socket.sh |
---|
| 44 | Source15: mysql-scripts-common.sh |
---|
| 45 | Source16: mysql-check-upgrade.sh |
---|
| 46 | Source18: mysql@.service.in |
---|
| 47 | |
---|
[8350] | 48 | # Don't depend on lib::mtr* |
---|
| 49 | Source998: perl-requires.sh |
---|
| 50 | Source1000: macros.mariadb.in |
---|
| 51 | |
---|
[12399] | 52 | Patch0: mariadb-scripts.patch |
---|
[12508] | 53 | |
---|
[10853] | 54 | # replace mroonga to the newest version. |
---|
[11954] | 55 | Patch1000: 0001-MariaDB-%{mariadb_version}-Mroonga-v%{mroonga_version}-Groonga-v%{groonga_version}.patch |
---|
[9706] | 56 | # |
---|
[12508] | 57 | Patch2000: MDEV-24130.patch |
---|
[9706] | 58 | |
---|
[12464] | 59 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[12121] | 60 | BuildRequires: bison, cmake, gcc-c++, groff, git |
---|
[8350] | 61 | BuildRequires: libaio-devel, libboost-devel, libevent-devel, libxml2-devel |
---|
| 62 | BuildRequires: ncurses-devel, perl, openssl-devel, readline-devel |
---|
[9835] | 63 | BuildRequires: jemalloc-devel |
---|
[12131] | 64 | BuildRequires: pam-devel |
---|
[10010] | 65 | BuildRequires: unixODBC-devel |
---|
[12503] | 66 | BuildRequires: mecab-devel |
---|
| 67 | BuildRequires: pcre2-devel |
---|
[8350] | 68 | BuildRequires: zlib-devel |
---|
[12503] | 69 | BuildRequires: libzstd-devel |
---|
[12121] | 70 | BuildRequires: lz4-devel |
---|
[12464] | 71 | Requires: fileutils sh-utils |
---|
| 72 | Provides: msqlormysql MySQL mysql |
---|
| 73 | Obsoletes: mysql MySQL5 |
---|
[12399] | 74 | %if %{with systemd} |
---|
| 75 | BuildRequires: systemd |
---|
| 76 | BuildRequires: systemd-devel |
---|
| 77 | %{?systemd_requires} |
---|
| 78 | %else |
---|
| 79 | Requires(post): chkconfig |
---|
| 80 | Requires(preun): chkconfig |
---|
| 81 | %endif |
---|
[8350] | 82 | |
---|
| 83 | # From the manual |
---|
| 84 | %description |
---|
| 85 | MariaDB: a very fast and robust SQL database server |
---|
| 86 | |
---|
| 87 | It is GPL v2 licensed, which means you can use the it free of charge under the |
---|
| 88 | conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/). |
---|
| 89 | |
---|
| 90 | MariaDB documentation can be found at http://kb.askmonty.org/ |
---|
| 91 | MariaDB bug reports should be submitted through https://mariadb.atlassian.net/ |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | %package server |
---|
[12464] | 95 | Summary: MariaDB: a very fast and robust SQL database server |
---|
[9133] | 96 | Version: %{mariadb_version} |
---|
[10010] | 97 | Release: %{release} |
---|
[12464] | 98 | Group: servers |
---|
[12508] | 99 | Requires: fileutils sh-utils net-tools mariadb-common which |
---|
[8350] | 100 | Requires(post): mariadb-common |
---|
| 101 | Provides: mysql-server mysql MySQL MySQL-server mariadbserver-%{mariadb_base_version} |
---|
| 102 | Obsoletes: MySQL mysql mysql-server |
---|
| 103 | Obsoletes: MySQL-server < 5.6.0 |
---|
[12464] | 104 | Obsoletes: mariadb-tokudb < 10.5.5 |
---|
[8350] | 105 | |
---|
| 106 | %description server |
---|
| 107 | MariaDB: a very fast and robust SQL database server |
---|
| 108 | |
---|
| 109 | It is GPL v2 licensed, which means you can use the it free of charge under the |
---|
| 110 | conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/). |
---|
| 111 | |
---|
| 112 | MariaDB documentation can be found at http://kb.askmonty.org/ |
---|
| 113 | MariaDB bug reports should be submitted through https://mariadb.atlassian.net/ |
---|
| 114 | |
---|
[12399] | 115 | |
---|
[9133] | 116 | %package mroonga |
---|
| 117 | ##Version: %{mroonga_version} |
---|
[12464] | 118 | Summary: A fast fulltext searchable storage engine for MariaDB. |
---|
[9133] | 119 | Version: %{mariadb_version} |
---|
[12464] | 120 | Group: servers |
---|
[9133] | 121 | Requires(pre): mariadb-server = %{mariadb_version}-%{release} |
---|
| 122 | Requires: mariadb-server = %{mariadb_version}-%{release} |
---|
[9706] | 123 | Obsoletes: MySQL-mroonga < 4.02 |
---|
| 124 | Obsoletes: mariadb-mroonga < 4.07 |
---|
[9133] | 125 | Obsoletes: mariadb-mroonga-doc < 4.07 |
---|
[8350] | 126 | |
---|
[9133] | 127 | %description mroonga |
---|
| 128 | Mroonga is a fast fulltext searchable storage plugin for MariaDB. |
---|
| 129 | It is based on groonga that is a fast fulltext search engine and |
---|
| 130 | column store. Groonga is good at real-time update. |
---|
| 131 | |
---|
[12399] | 132 | |
---|
[10010] | 133 | %package connect |
---|
[12464] | 134 | Summary: CONNECT storage engine for MariaDB. |
---|
[10010] | 135 | Version: %{mariadb_version} |
---|
[12464] | 136 | Group: servers |
---|
[10010] | 137 | Requires(pre): mariadb-server = %{mariadb_version}-%{release} |
---|
| 138 | Requires: mariadb-server = %{mariadb_version}-%{release} |
---|
| 139 | |
---|
| 140 | %description connect |
---|
| 141 | The CONNECT storage engine enables MariaDB to access external |
---|
| 142 | local or remote data (MED). This is done by defining tables |
---|
| 143 | based on different data types, in particular files in various |
---|
| 144 | formats, data extracted from other DBMS or products (such as Excel) |
---|
| 145 | via ODBC, or data retrieved from the environment (for example |
---|
| 146 | DIR, WMI, and MAC tables). |
---|
| 147 | |
---|
| 148 | This storage engine supports table partitioning, MariaDB virtual |
---|
| 149 | columns and also permits defining special columns such as ROWID, |
---|
| 150 | FILEID, and SERVID. |
---|
| 151 | |
---|
[12399] | 152 | |
---|
[12062] | 153 | %package galera |
---|
[12464] | 154 | Summary: The configuration files and scripts for galera replication |
---|
[12062] | 155 | Version: %{mariadb_version} |
---|
[12464] | 156 | Group: servers |
---|
[12062] | 157 | Provides: mariadb-server-galera = %{mariadb_version}-%{release} |
---|
| 158 | Requires(pre): mariadb-server = %{mariadb_version}-%{release} |
---|
| 159 | Requires: mariadb-server = %{mariadb_version}-%{release} |
---|
[12131] | 160 | Requires: galera(%{galera_api_version}) |
---|
[12062] | 161 | |
---|
| 162 | %description galera |
---|
| 163 | This package contains the files for MariaDB Galera Cluster. |
---|
| 164 | |
---|
[12399] | 165 | |
---|
[10010] | 166 | %ifarch x86_64 |
---|
[12464] | 167 | %if %{with tokudb} |
---|
[10010] | 168 | %package tokudb |
---|
[12464] | 169 | Summary: TokuDB storage engine for MariaDB. |
---|
[10010] | 170 | Version: %{mariadb_version} |
---|
[12464] | 171 | Group: servers |
---|
[10010] | 172 | Requires(pre): mariadb-server = %{mariadb_version}-%{release} |
---|
| 173 | Requires: mariadb-server = %{mariadb_version}-%{release} |
---|
| 174 | |
---|
| 175 | %description tokudb |
---|
| 176 | The TokuDB storage engine is for use in high-performance and |
---|
| 177 | write-intensive environments, offering increased compression and |
---|
| 178 | better performance. |
---|
| 179 | |
---|
| 180 | %endif |
---|
[12464] | 181 | %endif |
---|
[10010] | 182 | |
---|
[12399] | 183 | |
---|
[8350] | 184 | %package client |
---|
| 185 | Summary: MariaDB - Client |
---|
[12464] | 186 | Version: %{mariadb_version} |
---|
| 187 | Group: office |
---|
[8350] | 188 | Obsoletes: mysql-client MySQL-client < 5.6.0 |
---|
| 189 | Provides: mysql-client MySQL-client mariadbclient-%{mariadb_base_version} |
---|
| 190 | |
---|
| 191 | %description client |
---|
| 192 | This package contains the standard MariaDB clients and administration tools. |
---|
| 193 | |
---|
| 194 | |
---|
| 195 | %package devel |
---|
| 196 | Summary: MariaDB - Development libraries and headers |
---|
[12464] | 197 | Version: %{mariadb_version} |
---|
| 198 | Group: programming |
---|
[8350] | 199 | Requires: %{name}-static, openssl-devel, zlib-devel |
---|
[8459] | 200 | Conflicts: MySQL-devel < 5.6.0 |
---|
[8350] | 201 | Conflicts: libmysqlclient-devel |
---|
[11954] | 202 | Conflicts: libmariadb-devel |
---|
[8350] | 203 | |
---|
| 204 | %description devel |
---|
| 205 | This package contains the development libraries and headers to develop |
---|
| 206 | MariaDB server components (e.g. plugins or embedded applications). |
---|
| 207 | |
---|
| 208 | |
---|
| 209 | %package static |
---|
| 210 | Summary: MariaDB - static libraries |
---|
[12464] | 211 | Version: %{mariadb_version} |
---|
| 212 | Group: programming |
---|
[8350] | 213 | Requires: %{name}-devel |
---|
| 214 | |
---|
| 215 | %description static |
---|
| 216 | This package provides static libraries of MariaDB. |
---|
| 217 | |
---|
[12399] | 218 | |
---|
[9133] | 219 | %if %{with source} |
---|
[8350] | 220 | %package source |
---|
| 221 | Summary: MariaDB - Source |
---|
[12464] | 222 | Version: %{mariadb_version} |
---|
| 223 | Group: programming |
---|
[8350] | 224 | Requires: mariadb-devel = %{version}-%{release} |
---|
| 225 | Obsoletes: MySQL-source < 5.6.0 |
---|
| 226 | AutoReqProv: no |
---|
| 227 | |
---|
| 228 | %description source |
---|
| 229 | This package contains the sources files of MariaDB. |
---|
[9133] | 230 | %endif |
---|
[8350] | 231 | |
---|
[12399] | 232 | |
---|
[8350] | 233 | %package test |
---|
[12464] | 234 | Summary: MariaDB - Test suite |
---|
| 235 | Version: %{mariadb_version} |
---|
| 236 | Group: admin-tools |
---|
[8350] | 237 | Requires: %{name}-client = %{version}-%{release} perl-DBI perl |
---|
| 238 | Obsoletes: mysql-bench MySQL5-bench MySQL-bench MySQL-test < 5.6.0 |
---|
| 239 | Provides: perl(mtr_misc.pl) |
---|
| 240 | |
---|
| 241 | %description test |
---|
| 242 | This package contains the MariaDB regression test suite. |
---|
| 243 | |
---|
| 244 | |
---|
| 245 | %package embedded |
---|
| 246 | Summary: MariaDB as an embeddable library |
---|
[12464] | 247 | Version: %{mariadb_version} |
---|
| 248 | Group: system |
---|
[8350] | 249 | Obsoletes: mysql-embedded MySQL-embedded |
---|
| 250 | Provides: mysql-embedded MySQL-embedded |
---|
| 251 | |
---|
| 252 | %description embedded |
---|
| 253 | This package contains a version of the MariaDB server that can be embedded |
---|
| 254 | into a client application instead of running as a separate process. |
---|
| 255 | |
---|
| 256 | |
---|
[12399] | 257 | %debug_package |
---|
| 258 | |
---|
| 259 | |
---|
[8350] | 260 | %prep |
---|
| 261 | %setup -q |
---|
[12399] | 262 | %if %{with systemd} |
---|
| 263 | %patch0 -p1 |
---|
| 264 | %endif |
---|
[12121] | 265 | git --git-dir= apply -p1 %{PATCH1000} |
---|
[12508] | 266 | %patch2000 -p1 |
---|
[12464] | 267 | |
---|
[12399] | 268 | cp -f \ |
---|
| 269 | %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE14} \ |
---|
| 270 | %{SOURCE15} %{SOURCE16} %{SOURCE18} \ |
---|
| 271 | scripts/ |
---|
[8350] | 272 | |
---|
[12399] | 273 | |
---|
[8350] | 274 | %build |
---|
| 275 | # Be strict about variables, bail at earliest opportunity, etc. |
---|
| 276 | set -eu |
---|
| 277 | |
---|
| 278 | # Optional package files |
---|
| 279 | touch optional-files-devel |
---|
| 280 | |
---|
| 281 | export CFLAGS=${MYSQL_BUILD_CFLAGS:-${CFLAGS:-$RPM_OPT_FLAGS}} |
---|
[12464] | 282 | export CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS}} |
---|
[8350] | 283 | |
---|
| 284 | # Build full release |
---|
[11252] | 285 | # workaround: force TOKUDB_OK=1 |
---|
| 286 | # https://jira.mariadb.org/browse/MDEV-14524?workflowName=MariaDB+v3&stepId=1 |
---|
| 287 | |
---|
[8350] | 288 | mkdir release |
---|
| 289 | ( |
---|
| 290 | cd release |
---|
| 291 | cmake ../ \ |
---|
| 292 | -DINSTALL_LAYOUT=RPM \ |
---|
| 293 | -DBUILD_CONFIG=mysql_release \ |
---|
| 294 | -DCMAKE_BUILD_TYPE=Release \ |
---|
| 295 | -DINSTALL_UNIX_ADDRDIR="/var/lib/mysql/mysql.sock" \ |
---|
| 296 | -DCOMPILATION_COMMENT="Vine Linux MariaDB RPM" \ |
---|
| 297 | -DWITH_PIC="ON" \ |
---|
| 298 | -DWITH_EMBEDDED_SERVER="ON" \ |
---|
| 299 | -DWITH_ZLIB="system" \ |
---|
| 300 | -DWITH_LOCALES="yes" \ |
---|
[11162] | 301 | -DWITH_SSL="system" \ |
---|
[8350] | 302 | -DWITH_UNIT_TESTS="no" \ |
---|
| 303 | -DWITH_SEQUENCE_STORAGE_ENGINE="ON" \ |
---|
| 304 | -DWITH_XTRADB_STORAGE_ENGINE="ON" \ |
---|
[9835] | 305 | -DWITH_JEMALLOC="yes" \ |
---|
[11252] | 306 | %ifarch x86_64 |
---|
[12464] | 307 | %if %{with tokudb} |
---|
[11252] | 308 | -DTOKUDB_OK=1 \ |
---|
[12464] | 309 | -DPLUGIN_TOKUDB="DYNAMIC" \ |
---|
| 310 | %else |
---|
| 311 | -DTOKUDB_OK=0 \ |
---|
| 312 | -DPLUGIN_TOKUDB="NO" \ |
---|
[11252] | 313 | %endif |
---|
[12464] | 314 | %endif |
---|
[9835] | 315 | -DGRN_WITH_MECAB="yes" \ |
---|
[12062] | 316 | %if %{without onigmo} |
---|
[9835] | 317 | -DGRN_WITH_ONIGMO="no" |
---|
[12062] | 318 | %endif |
---|
[12503] | 319 | -DWITH_PCRE="system" |
---|
[8350] | 320 | |
---|
[9835] | 321 | # -DWITHOUT_TOKUDB="yes" |
---|
[8350] | 322 | |
---|
[11954] | 323 | ln -sf ../../../../../../release/storage/mroonga/vendor/groonga/include/groonga/version.h ../storage/mroonga/vendor/groonga/include/groonga/version.h |
---|
| 324 | |
---|
[8350] | 325 | echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG |
---|
| 326 | make %{?_smp_mflags} VERBOSE=1 |
---|
| 327 | ) |
---|
| 328 | |
---|
| 329 | |
---|
| 330 | %install |
---|
| 331 | rm -rf %{buildroot} |
---|
| 332 | |
---|
| 333 | install -d %{buildroot}%{mysqldatadir}/mysql |
---|
| 334 | install -d %{buildroot}%{_infodir} |
---|
| 335 | |
---|
| 336 | # Install all binaries |
---|
| 337 | ( |
---|
| 338 | cd release |
---|
| 339 | make DESTDIR=%{buildroot} install |
---|
| 340 | ) |
---|
| 341 | |
---|
[12399] | 342 | %if %{with systemd} |
---|
| 343 | install -d %{buildroot}%{_libexecdir} |
---|
| 344 | pushd release |
---|
| 345 | rm -rf %{buildroot}/usr/lib/systemd/system |
---|
| 346 | # install systemd unit files and scripts for handling server startup |
---|
| 347 | install -D -p -m 644 scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service |
---|
| 348 | install -D -p -m 644 scripts/mysql@.service %{buildroot}%{_unitdir}/%{daemon_name}.service |
---|
| 349 | # Remove the upstream version |
---|
| 350 | rm -f %{buildroot}%{_tmpfilesdir}/tmpfiles.conf |
---|
| 351 | # Install downstream version |
---|
| 352 | install -D -p -m 0644 scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{name}.conf |
---|
| 353 | # helper scripts for service starting |
---|
| 354 | install -p -m 755 scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir |
---|
| 355 | install -p -m 755 scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket |
---|
| 356 | install -p -m 755 scripts/mysql-check-upgrade %{buildroot}%{_libexecdir}/mysql-check-upgrade |
---|
| 357 | install -p -m 644 scripts/mysql-scripts-common %{buildroot}%{_libexecdir}/mysql-scripts-common |
---|
| 358 | popd |
---|
[12464] | 359 | mkdir -p %{buildroot}%{_unitdir}/mariadb.service.d |
---|
[12399] | 360 | %else |
---|
| 361 | # drop systemd files. |
---|
| 362 | rm -rf %{buildroot}%{_sysconfdir}/systemd |
---|
| 363 | %endif |
---|
| 364 | |
---|
[8350] | 365 | install -m 0644 Docs/mysql.info %{buildroot}%{_infodir} |
---|
| 366 | rm -rf ./doc |
---|
| 367 | mv -f %{buildroot}%{_docdir} ./ |
---|
[12062] | 368 | rm doc/README-wsrep |
---|
[8350] | 369 | |
---|
[12399] | 370 | rm -rf ./groonga ./groonga-normalizer-mysql |
---|
[9835] | 371 | mv -f %{buildroot}%{_datadir}/groonga ./ |
---|
[10645] | 372 | mv -f %{buildroot}%{_datadir}/groonga-normalizer-mysql ./ |
---|
[9835] | 373 | |
---|
[9133] | 374 | %if %{with source} |
---|
[8350] | 375 | mkdir -p %{buildroot}%{_datadir}/%{name}-source |
---|
| 376 | pushd %{buildroot}%{_datadir}/%{name}-source |
---|
| 377 | tar zxf %{SOURCE0} |
---|
| 378 | find %{buildroot}%{_datadir}/%{name}-source -type f -exec chmod ugo-x {} \; |
---|
| 379 | popd |
---|
[9133] | 380 | %endif |
---|
[8350] | 381 | |
---|
| 382 | install -d %{buildroot}%{_sysconfdir}/rpm |
---|
| 383 | sed -e 's/@BASEVERSION@/%{mariadb_base_version}/' -e 's/@VERSION@/%{version}/' -e 's/@RELEASE@/%{release}/' < %{SOURCE1000} > %{buildroot}%{_sysconfdir}/rpm/macros.mariadb |
---|
| 384 | |
---|
| 385 | rm -f %{buildroot}%{_mandir}/man1/mysql_fix_privilege_tables.1* |
---|
| 386 | rm -f %{buildroot}%{_mandir}/man8/mysqlmanager.8* |
---|
| 387 | rm -f %{buildroot}%{_sysconfdir}/my.cnf |
---|
| 388 | rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf |
---|
| 389 | rm -f %{buildroot}%{_libdir}/libmysqlclient*.so* |
---|
| 390 | rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini |
---|
| 391 | |
---|
[11252] | 392 | %ifarch x86_64 |
---|
[12464] | 393 | %if %{with tokudb} |
---|
[11869] | 394 | pushd release |
---|
[11252] | 395 | install -m644 ./storage/tokudb/tokudb.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/ |
---|
[11869] | 396 | popd |
---|
[12399] | 397 | %if %{with systemd} |
---|
| 398 | mv %{buildroot}/etc/systemd/system/mariadb.service.d/tokudb.conf %{buildroot}%{_unitdir}/mariadb.service.d/tokudb.conf |
---|
| 399 | %endif |
---|
[12464] | 400 | %endif |
---|
[11252] | 401 | %else |
---|
[11066] | 402 | rm -f %{buildroot}%{_mandir}/man1/tokuft* |
---|
| 403 | %endif |
---|
| 404 | |
---|
[12062] | 405 | # install files for galera cluster. |
---|
| 406 | install -m755 ./scripts/galera_new_cluster.sh %{buildroot}%{_bindir}/galera_new_cluster |
---|
| 407 | install -m755 ./scripts/galera_recovery.sh %{buildroot}%{_bindir}/galera_recovery |
---|
| 408 | perl -pi -e 's|^wsrep_provider=.*$|wsrep_provider=%{_libdir}/galera/libgalera_smm.so|' %{buildroot}%{_datadir}/mysql/wsrep.cnf |
---|
| 409 | perl -pi -e 's|^wsrep_notify_cmd=.*$|#wsrep_notify_cmd=%{_datadir}/mysql/wsrep_notify|' %{buildroot}%{_datadir}/mysql/wsrep.cnf |
---|
| 410 | install -m644 %{buildroot}%{_datadir}/mysql/wsrep.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/galera.cnf |
---|
| 411 | |
---|
[8350] | 412 | # force linking statically. |
---|
[11954] | 413 | perl -pi -e 's,-lmariadb,%{_libdir}/libmariadbclient.a,' %{buildroot}%{_bindir}/mysql_config |
---|
[8350] | 414 | |
---|
[11954] | 415 | perl -pi -e 's,-lmariadb,%{_libdir}/libmariadbclient.a,' %{buildroot}%{_datadir}/pkgconfig/mariadb.pc |
---|
[9835] | 416 | |
---|
[12320] | 417 | # install pam_user_map.so to /lib64/security for 64bit architectures |
---|
| 418 | %ifarch x86_64 |
---|
[12399] | 419 | if [ ! -e %{buildroot}/%{_lib}/security/pam_user_map.so ]; then |
---|
| 420 | mkdir -p %{buildroot}/%{_lib}/security |
---|
| 421 | mv %{buildroot}/lib/security/pam_user_map.so %{buildroot}/%{_lib}/security/ |
---|
| 422 | fi |
---|
[12320] | 423 | %endif |
---|
| 424 | |
---|
[11869] | 425 | # drop client library |
---|
| 426 | rm -f %{buildroot}%{_libdir}/libmariadb.so* |
---|
[11954] | 427 | rm -f %{buildroot}%{_prefix}/lib/pkgconfig/libmariadb.pc |
---|
[11869] | 428 | |
---|
[8350] | 429 | ############################################################################## |
---|
| 430 | |
---|
| 431 | %pre server |
---|
| 432 | # Create a MySQL user and group. Do not report any problems if it already |
---|
| 433 | # exists. |
---|
| 434 | datadir=/var/lib/mysql |
---|
| 435 | |
---|
| 436 | groupadd -r mysql 2> /dev/null || true |
---|
| 437 | useradd -M -r -d $datadir -s /bin/bash -c "MySQL server" -g mysql mysql 2> /dev/null || true |
---|
| 438 | # The user may already exist, make sure it has the proper group nevertheless (BUG#12823) |
---|
| 439 | usermod -g mysql mysql 2> /dev/null || true |
---|
| 440 | |
---|
| 441 | %post server |
---|
[12399] | 442 | # Make MySQL start/shutdown automatically when the machine does it. |
---|
[8350] | 443 | |
---|
| 444 | if [ $1 = 1 ] ; then |
---|
[12399] | 445 | %if %{with systemd} |
---|
| 446 | %systemd_post %{daemon_name}.service |
---|
| 447 | %else |
---|
[8350] | 448 | if [ -x /sbin/chkconfig ] ; then |
---|
| 449 | /sbin/chkconfig --add mysql |
---|
| 450 | fi |
---|
[12399] | 451 | %endif |
---|
[8350] | 452 | |
---|
| 453 | basedir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--basedir=//p'|tail -1` |
---|
| 454 | if [ -z "$basedir" ] ; then |
---|
| 455 | basedir=/usr |
---|
| 456 | fi |
---|
| 457 | |
---|
| 458 | datadir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--datadir=//p'|tail -1` |
---|
| 459 | if [ -z "$datadir" ] ; then |
---|
| 460 | datadir=/var/lib/mysql |
---|
| 461 | else |
---|
| 462 | # datadir may be relative to a basedir! |
---|
| 463 | if ! expr $datadir : / > /dev/null; then |
---|
| 464 | datadir=$basedir/$datadir |
---|
| 465 | fi |
---|
| 466 | fi |
---|
| 467 | |
---|
[9835] | 468 | tmpdir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--datadir=//p'|tail -1` |
---|
| 469 | if [ -z "$datadir" ] ; then |
---|
| 470 | datadir=/var/lib/mysql |
---|
| 471 | else |
---|
| 472 | # datadir may be relative to a basedir! |
---|
| 473 | if ! expr $datadir : / > /dev/null; then |
---|
| 474 | datadir=$basedir/$datadir |
---|
| 475 | fi |
---|
| 476 | fi |
---|
| 477 | |
---|
[8350] | 478 | # Change permissions so that the user that will run the MySQL daemon |
---|
| 479 | # owns all database files. |
---|
| 480 | chown -R mysql:mysql $datadir |
---|
| 481 | |
---|
| 482 | if [ ! -e $datadir/mysql ]; then |
---|
| 483 | # Create data directory |
---|
| 484 | mkdir -p $datadir/{mysql,test} |
---|
[9835] | 485 | chown -R mysql:mysql $datadir |
---|
[8350] | 486 | |
---|
| 487 | # Initiate databases |
---|
| 488 | /usr/bin/mysql_install_db --rpm --user=mysql |
---|
| 489 | fi |
---|
| 490 | |
---|
| 491 | # Change permissions again to fix any new files. |
---|
| 492 | chown -R mysql:mysql $datadir |
---|
| 493 | |
---|
| 494 | # Fix permissions for the permission database so that only the user |
---|
| 495 | # can read them. |
---|
| 496 | chmod -R og-rw $datadir/mysql |
---|
| 497 | fi |
---|
| 498 | |
---|
| 499 | %preun server |
---|
[12399] | 500 | %if %{with systemd} |
---|
| 501 | %systemd_preun %{daemon_name}.service |
---|
| 502 | %else |
---|
| 503 | %endif |
---|
[8350] | 504 | if [ $1 = 0 ] ; then |
---|
| 505 | # Stop MySQL before uninstalling it |
---|
| 506 | if [ -x /etc/init.d/mysql ] ; then |
---|
| 507 | /etc/init.d/mysql stop > /dev/null |
---|
| 508 | fi |
---|
| 509 | # Don't start it automatically anymore |
---|
| 510 | if [ -x /sbin/chkconfig ] ; then |
---|
| 511 | /sbin/chkconfig --del mysql |
---|
| 512 | fi |
---|
| 513 | fi |
---|
| 514 | |
---|
| 515 | %postun server |
---|
[12399] | 516 | %if %{with systemd} |
---|
| 517 | %systemd_postun_with_restart %{daemon_name}.service |
---|
| 518 | %else |
---|
[8350] | 519 | if [ $1 -ge 1 ]; then |
---|
| 520 | if [ -x /etc/init.d/mysql ] ; then |
---|
| 521 | # only restart the server if it was alredy running |
---|
| 522 | /etc/init.d/mysql status > /dev/null 2>&1 && \ |
---|
| 523 | /etc/init.d/mysql restart |
---|
| 524 | fi |
---|
| 525 | fi |
---|
[12399] | 526 | %endif |
---|
[8350] | 527 | |
---|
[12399] | 528 | |
---|
[9133] | 529 | %pre mroonga |
---|
| 530 | if [ $1 -gt 1 ]; then |
---|
| 531 | /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/uninstall.sql || cat <<EOF |
---|
[9706] | 532 | An error occured when to unregister plugin. |
---|
[9133] | 533 | Please run a command below: |
---|
| 534 | |
---|
| 535 | /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/uninstall.sql |
---|
| 536 | |
---|
| 537 | EOF |
---|
| 538 | |
---|
| 539 | fi |
---|
| 540 | |
---|
| 541 | %post mroonga |
---|
| 542 | if [ $1 -eq 1 ] ; then |
---|
| 543 | /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql || cat <<EOF |
---|
| 544 | An error occured when to register plugin. |
---|
| 545 | Please run a command below: |
---|
| 546 | |
---|
| 547 | /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql |
---|
| 548 | |
---|
| 549 | EOF |
---|
| 550 | fi |
---|
| 551 | |
---|
| 552 | %postun mroonga |
---|
| 553 | if [ $1 -gt 0 ] ; then |
---|
| 554 | /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql || cat <<EOF |
---|
| 555 | An error occured when to register plugin. |
---|
| 556 | Please run a command below: |
---|
| 557 | |
---|
| 558 | /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql |
---|
| 559 | |
---|
| 560 | EOF |
---|
| 561 | fi |
---|
| 562 | |
---|
[8350] | 563 | # Clean up the BuildRoot |
---|
| 564 | %clean |
---|
| 565 | [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
---|
| 566 | |
---|
| 567 | %files server |
---|
| 568 | %defattr(-,root,root) |
---|
[10645] | 569 | %{!?_licensedir:%global license %%doc} |
---|
| 570 | %license COPYING* EXCEPTIONS-CLIENT |
---|
[8350] | 571 | |
---|
[11162] | 572 | %doc CREDITS README.md doc/* |
---|
[11869] | 573 | %doc support-files/rpm/*.cnf |
---|
| 574 | %doc release/support-files/*.cnf |
---|
[8350] | 575 | %doc %{_infodir}/mysql.info* |
---|
| 576 | |
---|
[8991] | 577 | %doc %{_mandir}/man1/aria_*.1* |
---|
[8350] | 578 | %doc %{_mandir}/man1/innochecksum.1* |
---|
[11869] | 579 | %doc %{_mandir}/man1/mariabackup.1* |
---|
[12464] | 580 | %doc %{_mandir}/man1/mariadb-backup.1* |
---|
| 581 | %doc %{_mandir}/man1/mariadb-convert-table-format.1* |
---|
| 582 | %doc %{_mandir}/man1/mariadb-conv.1* |
---|
| 583 | %doc %{_mandir}/man1/mariadb-dumpslow.1* |
---|
| 584 | %doc %{_mandir}/man1/mariadb-fix-extensions.1* |
---|
| 585 | %doc %{_mandir}/man1/mariadb-hotcopy.1* |
---|
| 586 | %doc %{_mandir}/man1/mariadb-install-db.1* |
---|
| 587 | %doc %{_mandir}/man1/mariadb-ldb.1* |
---|
| 588 | %doc %{_mandir}/man1/mariadb-secure-installation.1* |
---|
[11066] | 589 | %doc %{_mandir}/man1/mariadb-service-convert.1* |
---|
[12464] | 590 | %doc %{_mandir}/man1/mariadb-setpermission.1* |
---|
| 591 | %doc %{_mandir}/man1/mariadb-tzinfo-to-sql.1* |
---|
| 592 | %doc %{_mandir}/man1/mariadb-upgrade.1* |
---|
| 593 | %doc %{_mandir}/man1/mariadbd-multi.1* |
---|
| 594 | %doc %{_mandir}/man1/mariadbd-safe-helper.1* |
---|
| 595 | %doc %{_mandir}/man1/mariadbd-safe.1* |
---|
[11869] | 596 | %doc %{_mandir}/man1/mbstream.1* |
---|
[8350] | 597 | %doc %{_mandir}/man1/my_print_defaults.1* |
---|
[11066] | 598 | %doc %{_mandir}/man1/my_safe_process.1* |
---|
[8350] | 599 | %doc %{_mandir}/man1/myisam_ftdump.1* |
---|
| 600 | %doc %{_mandir}/man1/myisamchk.1* |
---|
| 601 | %doc %{_mandir}/man1/myisamlog.1* |
---|
| 602 | %doc %{_mandir}/man1/myisampack.1* |
---|
[12464] | 603 | %doc %{_mandir}/man1/myrocks_hotbackup.1* |
---|
[8350] | 604 | %doc %{_mandir}/man1/mysql_convert_table_format.1* |
---|
| 605 | %doc %{_mandir}/man1/mysql_fix_extensions.1* |
---|
| 606 | %doc %{_mandir}/man1/mysqld_multi.1* |
---|
| 607 | %doc %{_mandir}/man1/mysqld_safe.1* |
---|
[11066] | 608 | %doc %{_mandir}/man1/mysqld_safe_helper.1* |
---|
[8350] | 609 | %doc %{_mandir}/man1/mysqldumpslow.1* |
---|
| 610 | %doc %{_mandir}/man1/mysql_install_db.1* |
---|
[11869] | 611 | %doc %{_mandir}/man1/mysql_ldb.1* |
---|
[8350] | 612 | %doc %{_mandir}/man1/mysql_secure_installation.1* |
---|
| 613 | %doc %{_mandir}/man1/mysql_setpermission.1* |
---|
| 614 | %doc %{_mandir}/man1/mysql_upgrade.1* |
---|
| 615 | %doc %{_mandir}/man1/mysqlhotcopy.1* |
---|
| 616 | %doc %{_mandir}/man1/mysql.server.1* |
---|
| 617 | %doc %{_mandir}/man1/mysqltest.1* |
---|
| 618 | %doc %{_mandir}/man1/mysql_tzinfo_to_sql.1* |
---|
| 619 | %doc %{_mandir}/man1/perror.1* |
---|
| 620 | %doc %{_mandir}/man1/replace.1* |
---|
| 621 | %doc %{_mandir}/man1/resolve_stack_dump.1* |
---|
| 622 | %doc %{_mandir}/man1/resolveip.1* |
---|
[11066] | 623 | %doc %{_mandir}/man1/wsrep_sst_*.1* |
---|
[12131] | 624 | %doc %{_mandir}/man8/mysqld.8* |
---|
[12464] | 625 | %doc %{_mandir}/man8/mariadbd.8* |
---|
[8350] | 626 | %{_bindir}/aria_* |
---|
[12131] | 627 | %{_bindir}/innochecksum |
---|
[11066] | 628 | %{_bindir}/mariabackup |
---|
[12131] | 629 | %{_bindir}/mariadb-backup |
---|
[12464] | 630 | %{_bindir}/mariadb-conv |
---|
[12131] | 631 | %{_bindir}/mariadb-convert-table-format |
---|
| 632 | %{_bindir}/mariadb-dumpslow |
---|
| 633 | %{_bindir}/mariadb-fix-extensions |
---|
| 634 | %{_bindir}/mariadb-hotcopy |
---|
| 635 | %{_bindir}/mariadb-install-db |
---|
| 636 | %{_bindir}/mariadb-secure-installation |
---|
| 637 | %{_bindir}/mariadb-setpermission |
---|
| 638 | %{_bindir}/mariadb-tzinfo-to-sql |
---|
| 639 | %{_bindir}/mariadb-upgrade |
---|
| 640 | %{_bindir}/mariadbd-multi |
---|
| 641 | %{_bindir}/mariadbd-safe |
---|
| 642 | %{_bindir}/mariadbd-safe-helper |
---|
[11066] | 643 | %{_bindir}/mbstream |
---|
[8350] | 644 | %{_bindir}/my_print_defaults |
---|
| 645 | %{_bindir}/myisam_ftdump |
---|
| 646 | %{_bindir}/myisamchk |
---|
| 647 | %{_bindir}/myisamlog |
---|
| 648 | %{_bindir}/myisampack |
---|
| 649 | %{_bindir}/mysql_convert_table_format |
---|
| 650 | %{_bindir}/mysql_fix_extensions |
---|
| 651 | %{_bindir}/mysql_install_db |
---|
| 652 | %{_bindir}/mysql_secure_installation |
---|
| 653 | %{_bindir}/mysql_setpermission |
---|
| 654 | %{_bindir}/mysql_tzinfo_to_sql |
---|
| 655 | %{_bindir}/mysql_upgrade |
---|
| 656 | %{_bindir}/mysqld_multi |
---|
| 657 | %{_bindir}/mysqld_safe |
---|
[10934] | 658 | %{_bindir}/mysqld_safe_helper |
---|
[8350] | 659 | %{_bindir}/mysqldumpslow |
---|
| 660 | %{_bindir}/mysqlhotcopy |
---|
| 661 | %{_bindir}/mysqltest |
---|
| 662 | %{_bindir}/perror |
---|
| 663 | %{_bindir}/replace |
---|
| 664 | %{_bindir}/resolve_stack_dump |
---|
| 665 | %{_bindir}/resolveip |
---|
[9835] | 666 | %{_bindir}/wsrep* |
---|
[12131] | 667 | %{_sbindir}/mariadbd |
---|
[8350] | 668 | %{_sbindir}/mysqld |
---|
[9835] | 669 | %{_sbindir}/rcmysql |
---|
[12131] | 670 | %dir %{_libdir}/mysql |
---|
| 671 | %dir %{_libdir}/mysql/plugin |
---|
| 672 | %attr(0700,mysql,root) %dir %{_libdir}/mysql/plugin/auth_pam_tool_dir |
---|
| 673 | %attr(4755,root,root) %{_libdir}/mysql/plugin/auth_pam_tool_dir/auth_pam_tool |
---|
| 674 | %{_libdir}/mysql/plugin/*.so |
---|
[12320] | 675 | /%{_lib}/security/pam_user_map.so |
---|
[10010] | 676 | %exclude %{_libdir}/mysql/plugin/ha_connect.so |
---|
[9133] | 677 | %exclude %{_libdir}/mysql/plugin/ha_mroonga.so |
---|
| 678 | %exclude %{_datadir}/mysql/mroonga |
---|
[12399] | 679 | %exclude %{_datadir}/mysql/systemd/use_galera_new_cluster.conf |
---|
[12062] | 680 | %dir %{_sysconfdir}/my.cnf.d |
---|
[9835] | 681 | %config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset |
---|
[8350] | 682 | %config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf |
---|
[12464] | 683 | %config(noreplace) %{_sysconfdir}/my.cnf.d/spider.cnf |
---|
[12320] | 684 | %config(noreplace) %{_sysconfdir}/security/user_map.conf |
---|
[8350] | 685 | %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql |
---|
[12399] | 686 | %if %{with systemd} |
---|
| 687 | %{_bindir}/mariadb-service-convert |
---|
| 688 | %{_unitdir}/*.service |
---|
| 689 | %{_tmpfilesdir}/%{name}.conf |
---|
| 690 | %dir %{_unitdir}/mariadb.service.d |
---|
| 691 | %{_libexecdir}/* |
---|
| 692 | %{_sysusersdir}/%{name}.conf |
---|
| 693 | %else |
---|
[8350] | 694 | %{_sysconfdir}/init.d/mysql |
---|
[12399] | 695 | %endif |
---|
[8350] | 696 | %{_datadir}/mysql |
---|
| 697 | %attr(755, mysql, mysql) %dir %{mysqldatadir} |
---|
[11611] | 698 | %ifarch x86_64 |
---|
[12131] | 699 | %{_bindir}/mariadb-ldb |
---|
[11611] | 700 | %{_bindir}/myrocks_hotbackup |
---|
| 701 | %{_bindir}/mysql_ldb |
---|
| 702 | %{_bindir}/sst_dump |
---|
[12464] | 703 | %if %{with tokudb} |
---|
[11611] | 704 | %exclude %{_libdir}/mysql/plugin/ha_tokudb.so |
---|
| 705 | %endif |
---|
[12464] | 706 | %endif |
---|
[8350] | 707 | |
---|
[9133] | 708 | %files mroonga |
---|
| 709 | %defattr(-, root, root) |
---|
[10645] | 710 | %{!?_licensedir:%global license %%doc} |
---|
| 711 | %license groonga groonga-normalizer-mysql |
---|
[9133] | 712 | %{_libdir}/mysql/plugin/ha_mroonga.so |
---|
| 713 | %{_datadir}/mysql/mroonga |
---|
| 714 | |
---|
[10010] | 715 | %files connect |
---|
| 716 | %defattr(-, root, root) |
---|
| 717 | %{_libdir}/mysql/plugin/ha_connect.so |
---|
| 718 | |
---|
[12062] | 719 | %files galera |
---|
| 720 | %defattr(-, root, root) |
---|
| 721 | %doc Docs/README-wsrep |
---|
| 722 | %doc %{_mandir}/man1/galera_new_cluster.1* |
---|
| 723 | %doc %{_mandir}/man1/galera_recovery.1* |
---|
| 724 | %dir %{_sysconfdir}/my.cnf.d |
---|
| 725 | %config(noreplace) %{_sysconfdir}/my.cnf.d/galera.cnf |
---|
| 726 | %{_bindir}/galera_new_cluster |
---|
| 727 | %{_bindir}/galera_recovery |
---|
[12399] | 728 | %if %{with systemd} |
---|
| 729 | %{_datadir}/mysql/systemd/use_galera_new_cluster.conf |
---|
| 730 | %endif |
---|
[12062] | 731 | |
---|
[10010] | 732 | %ifarch x86_64 |
---|
[12464] | 733 | %if %{with tokudb} |
---|
[10010] | 734 | %files tokudb |
---|
| 735 | %defattr(-, root, root) |
---|
[12062] | 736 | %dir %{_sysconfdir}/my.cnf.d |
---|
[11162] | 737 | %config(noreplace) %{_sysconfdir}/my.cnf.d/tokudb.cnf |
---|
[10010] | 738 | %{_libdir}/mysql/plugin/ha_tokudb.so |
---|
| 739 | %{_bindir}/tokuft* |
---|
[11066] | 740 | %doc %{_mandir}/man1/tokuft* |
---|
[12399] | 741 | %if %{with systemd} |
---|
| 742 | %{_unitdir}/mariadb.service.d/tokudb.conf |
---|
[10010] | 743 | %endif |
---|
[12399] | 744 | %endif |
---|
[12464] | 745 | %endif |
---|
[10010] | 746 | |
---|
[8350] | 747 | %files client |
---|
| 748 | %defattr(-, root, root) |
---|
[10645] | 749 | %{!?_licensedir:%global license %%doc} |
---|
| 750 | %license COPYING* EXCEPTIONS-CLIENT |
---|
| 751 | |
---|
[8350] | 752 | %config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf |
---|
[12131] | 753 | %{_bindir}/mariadb |
---|
| 754 | %{_bindir}/mariadb-access |
---|
| 755 | %{_bindir}/mariadb-admin |
---|
| 756 | %{_bindir}/mariadb-binlog |
---|
| 757 | %{_bindir}/mariadb-check |
---|
| 758 | %{_bindir}/mariadb-dump |
---|
| 759 | %{_bindir}/mariadb-find-rows |
---|
| 760 | %{_bindir}/mariadb-import |
---|
| 761 | %{_bindir}/mariadb-plugin |
---|
| 762 | %{_bindir}/mariadb-show |
---|
| 763 | %{_bindir}/mariadb-slap |
---|
| 764 | %{_bindir}/mariadb-waitpid |
---|
[8350] | 765 | %{_bindir}/msql2mysql |
---|
| 766 | %{_bindir}/mysql |
---|
| 767 | %{_bindir}/mysql_find_rows |
---|
[12131] | 768 | %{_bindir}/mysql_plugin |
---|
[8350] | 769 | %{_bindir}/mysql_waitpid |
---|
| 770 | %{_bindir}/mysqlaccess |
---|
| 771 | %{_bindir}/mysqladmin |
---|
| 772 | %{_bindir}/mysqlbinlog |
---|
| 773 | %{_bindir}/mysqlcheck |
---|
| 774 | %{_bindir}/mysqldump |
---|
| 775 | %{_bindir}/mysqlimport |
---|
| 776 | %{_bindir}/mysqlshow |
---|
| 777 | %{_bindir}/mysqlslap |
---|
| 778 | %{_bindir}/mytop |
---|
[12464] | 779 | %doc %{_mandir}/man1/mariadb.1* |
---|
| 780 | %doc %{_mandir}/man1/mariadb-access.1* |
---|
| 781 | %doc %{_mandir}/man1/mariadb-admin.1* |
---|
| 782 | %doc %{_mandir}/man1/mariadb-binlog.1* |
---|
| 783 | %doc %{_mandir}/man1/mariadb-check.1* |
---|
| 784 | %doc %{_mandir}/man1/mariadb-dump.1* |
---|
| 785 | %doc %{_mandir}/man1/mariadb-find-rows.1* |
---|
| 786 | %doc %{_mandir}/man1/mariadb-import.1* |
---|
| 787 | %doc %{_mandir}/man1/mariadb-plugin.1* |
---|
| 788 | %doc %{_mandir}/man1/mariadb-show.1* |
---|
| 789 | %doc %{_mandir}/man1/mariadb-slap.1* |
---|
| 790 | %doc %{_mandir}/man1/mariadb-waitpid.1* |
---|
[8350] | 791 | %doc %{_mandir}/man1/msql2mysql.1* |
---|
| 792 | %doc %{_mandir}/man1/mysql.1* |
---|
| 793 | %doc %{_mandir}/man1/mysql_find_rows.1* |
---|
| 794 | %doc %{_mandir}/man1/mysql_waitpid.1* |
---|
| 795 | %doc %{_mandir}/man1/mysqlaccess.1* |
---|
| 796 | %doc %{_mandir}/man1/mysqladmin.1* |
---|
| 797 | %doc %{_mandir}/man1/mysqlbinlog.1* |
---|
| 798 | %doc %{_mandir}/man1/mysqlcheck.1* |
---|
| 799 | %doc %{_mandir}/man1/mysqldump.1* |
---|
| 800 | %doc %{_mandir}/man1/mysqlimport.1* |
---|
[12131] | 801 | %doc %{_mandir}/man1/mysql_plugin.1* |
---|
[8350] | 802 | %doc %{_mandir}/man1/mysqlshow.1* |
---|
| 803 | %doc %{_mandir}/man1/mysqlslap.1* |
---|
[12464] | 804 | %doc %{_mandir}/man1/mytop.1* |
---|
[8350] | 805 | |
---|
[11066] | 806 | %files devel |
---|
[8350] | 807 | %defattr(-, root, root) |
---|
| 808 | %doc %{_mandir}/man1/mysql_config.1* |
---|
[12464] | 809 | %{_bindir}/mariadb-config |
---|
[11162] | 810 | %{_bindir}/mariadb_config |
---|
[8350] | 811 | %{_bindir}/mysql_config |
---|
| 812 | %{_includedir}/mysql |
---|
| 813 | %{_datadir}/aclocal/mysql.m4 |
---|
[12399] | 814 | %{_libdir}/pkgconfig/mariadb.pc |
---|
[12056] | 815 | %exclude %{_libdir}/pkgconfig/libmariadb.pc |
---|
[8350] | 816 | %{_libdir}/*.so |
---|
| 817 | %{_sysconfdir}/rpm/* |
---|
[12131] | 818 | %{_bindir}/mariadb-embedded |
---|
[8350] | 819 | %{_bindir}/mysql_embedded |
---|
[12464] | 820 | %doc %{_mandir}/man1/mariadb_config.1* |
---|
| 821 | %doc %{_mandir}/man1/mariadb-embedded.1* |
---|
[11869] | 822 | %doc %{_mandir}/man1/mysql_embedded.1* |
---|
[8350] | 823 | |
---|
| 824 | %files static |
---|
| 825 | %defattr(-,root,root) |
---|
| 826 | %{_libdir}/lib*.a |
---|
| 827 | |
---|
[9133] | 828 | %if %{with source} |
---|
[8350] | 829 | %files source |
---|
| 830 | %defattr(-, root, root) |
---|
| 831 | %{_datadir}/mariadb-source |
---|
[9133] | 832 | %endif |
---|
[8350] | 833 | |
---|
| 834 | %files test |
---|
| 835 | %defattr(-, root, root) |
---|
| 836 | %attr(-, root, root) %{_datadir}/mysql-test |
---|
[12131] | 837 | %{_bindir}/mariadb-client-test |
---|
| 838 | %{_bindir}/mariadb-client-test-embedded |
---|
| 839 | %{_bindir}/mariadb-test |
---|
| 840 | %{_bindir}/mariadb-test-embedded |
---|
[8350] | 841 | %{_bindir}/mysql_client_test |
---|
| 842 | %{_bindir}/mysql_client_test_embedded |
---|
| 843 | %{_bindir}/mysqltest_embedded |
---|
[11869] | 844 | %{_bindir}/test-connect-t |
---|
[12464] | 845 | %doc %{_mandir}/man1/mariadb-client-test-embedded.1* |
---|
| 846 | %doc %{_mandir}/man1/mariadb-client-test.1* |
---|
| 847 | %doc %{_mandir}/man1/mariadb-test-embedded.1* |
---|
| 848 | %doc %{_mandir}/man1/mariadb-test.1* |
---|
[8350] | 849 | %doc %{_mandir}/man1/mysql_client_test.1* |
---|
| 850 | %doc %{_mandir}/man1/mysql-stress-test.pl.1* |
---|
| 851 | %doc %{_mandir}/man1/mysql-test-run.pl.1* |
---|
| 852 | %doc %{_mandir}/man1/mysql_client_test_embedded.1* |
---|
| 853 | %doc %{_mandir}/man1/mysqltest_embedded.1* |
---|
| 854 | |
---|
| 855 | %files embedded |
---|
| 856 | %defattr(-,root,root) |
---|
[11869] | 857 | %{_libdir}/libmariadbd.so.* |
---|
[8350] | 858 | |
---|
| 859 | |
---|
| 860 | %changelog |
---|
[12508] | 861 | * Thu Nov 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.5.8-1 |
---|
| 862 | - new upstream release. |
---|
| 863 | - added Patch2000 to fix failure on starting mariadbd. |
---|
| 864 | |
---|
| 865 | * Wed Nov 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.5.7-1 |
---|
| 866 | - new upstream release. |
---|
| 867 | - replaced patch1000 to update Groonga to v10.0.8. |
---|
| 868 | |
---|
[12503] | 869 | * Thu Oct 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.5.6-1 |
---|
| 870 | - new upstream release. |
---|
| 871 | - replaced patch1000 to update Groonga to v10.0.7. |
---|
| 872 | - dropped Patch1001: fixed in upstream. |
---|
[12464] | 873 | |
---|
| 874 | * Wed Aug 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.5.5-1 |
---|
| 875 | - new upstream release. |
---|
| 876 | - replaced patch1000 to update Groonga to v10.0.5. |
---|
| 877 | - added Patch1001 to fix FTBFS. |
---|
| 878 | - disabled tokudb as default. |
---|
| 879 | |
---|
[12399] | 880 | * Thu May 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.4.13-1 |
---|
| 881 | - new upstream release. |
---|
| 882 | - replaced patch1000 to update Groonga to v10.0.2. |
---|
| 883 | - added systemd support (disabled as default). |
---|
| 884 | |
---|
[12320] | 885 | * Mon Feb 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.4.12-1 |
---|
| 886 | - new upstream release. |
---|
| 887 | - replaced patch1000 to update Groonga to v9.1.2. |
---|
| 888 | |
---|
[12317] | 889 | * Wed Dec 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.4.11-1 |
---|
| 890 | - new upstream release. |
---|
| 891 | - replaced patch1000 to update Groonga to v9.1.0. |
---|
| 892 | |
---|
[12310] | 893 | * Sat Nov 09 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.4.10-1 |
---|
| 894 | - new upstream release. |
---|
| 895 | |
---|
| 896 | * Wed Nov 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.4.9-1 |
---|
| 897 | - new upstream release. |
---|
| 898 | - replaced patch1000 to update Groonga to v9.0.9. |
---|
| 899 | |
---|
[12131] | 900 | * Fri Aug 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.4.7-1 |
---|
| 901 | - new upstream release. |
---|
| 902 | - replaced patch1000 to update Groonga to v9.0.7. |
---|
| 903 | |
---|
[12121] | 904 | * Fri May 31 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3.15-1 |
---|
| 905 | - new upstream release. |
---|
| 906 | - replaced patch1000 to update Groonga to v9.0.3. |
---|
| 907 | - added BR:lz4-devel. |
---|
| 908 | |
---|
[12062] | 909 | * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3.14-1 |
---|
| 910 | - new upstream release. |
---|
| 911 | - replaced patch1000 to update Groonga to v9.0.2. |
---|
| 912 | - added a subpackage for galera cluster. |
---|
| 913 | - enabled regexp with groonga. |
---|
| 914 | |
---|
[12056] | 915 | * Thu Jan 31 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3.12-1 |
---|
| 916 | - new upstream release. |
---|
| 917 | - replaced patch1000 to update Groonga to v8.1.1. |
---|
| 918 | |
---|
[11954] | 919 | * Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3.11-1 |
---|
| 920 | - new upstream release. |
---|
| 921 | - replaced patch1000 to update Mroonga to v8.09. |
---|
| 922 | |
---|
[11869] | 923 | * Mon Nov 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3.10-2 |
---|
| 924 | - drop shared client library. |
---|
| 925 | |
---|
| 926 | * Mon Nov 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3.10-1 |
---|
| 927 | - new upstream release. |
---|
| 928 | - replaced patch1000 to update Mroonga to v8.07. |
---|
| 929 | |
---|
[11611] | 930 | * Fri Mar 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2.14-1 |
---|
| 931 | - new upstream release. |
---|
| 932 | - replaced patch1000 to update Mroonga to v8.01. |
---|
| 933 | |
---|
[11252] | 934 | * Sat Dec 02 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2.11-1 |
---|
| 935 | - new upstream release. |
---|
| 936 | - replaced patch1000 to update Mroonga to v7.09. |
---|
| 937 | |
---|
[11162] | 938 | * Sun Jul 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2.7-1 |
---|
| 939 | - new upstream release. |
---|
| 940 | - replaced patch1000 to update Mroonga to v7.04. |
---|
| 941 | |
---|
[11066] | 942 | * Thu May 4 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.23-1 |
---|
| 943 | - new upstream release. |
---|
| 944 | - replaced patch1000 to update Mroonga to v7.02. |
---|
| 945 | |
---|
[10934] | 946 | * Thu Mar 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.22-1 |
---|
| 947 | - new upstream release. |
---|
| 948 | - replaced patch1000 to update Mroonga to v7.00. |
---|
| 949 | |
---|
[10853] | 950 | * Wed Dec 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.20-1 |
---|
| 951 | - new upstream release. |
---|
| 952 | - replaced patch1000 to update Mroonga to v6.11. |
---|
| 953 | |
---|
[10645] | 954 | * Tue Jul 19 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.16-1 |
---|
| 955 | - new upstream release. |
---|
| 956 | - replaced patch1000 to update Mroonga to v6.06. |
---|
| 957 | |
---|
[10277] | 958 | * Wed May 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.14-1 |
---|
| 959 | - new upstream release. |
---|
| 960 | - replaced patch1000 to update Mroonga to v6.02. |
---|
| 961 | |
---|
[10116] | 962 | * Fri Apr 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.13-1 |
---|
| 963 | - new upstream release. |
---|
| 964 | - replaced patch1000 to update Mroonga to v6.01. |
---|
| 965 | |
---|
[10088] | 966 | * Tue Mar 15 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.12-1 |
---|
| 967 | - new upstream release. |
---|
| 968 | - replaced patch1000 to update Mroonga to git HEAD. |
---|
| 969 | |
---|
[10010] | 970 | * Sat Jan 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.11-1 |
---|
| 971 | - new upstream release. |
---|
| 972 | - replaced patch1000 to update Mroonga to v5.12. |
---|
| 973 | |
---|
| 974 | * Fri Jan 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.10-1 |
---|
| 975 | - new upstream release. |
---|
| 976 | - replaced patch1000 to update Mroonga to v5.11. |
---|
| 977 | - moved CONNECT and TokuDB storage engines to subpackages. |
---|
| 978 | |
---|
[9835] | 979 | * Sun Nov 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-4 |
---|
| 980 | - replaced patch1000 to update Mroonga to git HEAD. |
---|
| 981 | |
---|
| 982 | * Sat Nov 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-3 |
---|
| 983 | - replaced patch1000 to update Mroonga to git HEAD. |
---|
| 984 | |
---|
| 985 | * Thu Nov 26 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-2 |
---|
| 986 | - replaced patch1000 to update Mroonga to git HEAD. |
---|
| 987 | |
---|
| 988 | * Tue Nov 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-1 |
---|
| 989 | - new upstream release. |
---|
| 990 | - replaced patch1000 to update Mroonga to git HEAD. |
---|
| 991 | |
---|
| 992 | * Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-3 |
---|
| 993 | - added BR:jemalloc-devel. |
---|
| 994 | |
---|
| 995 | * Thu Oct 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-2 |
---|
| 996 | - replaced patch1000 to update Mroonga to 5.09. |
---|
| 997 | |
---|
| 998 | * Wed Oct 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-1 |
---|
| 999 | - new upstream release. |
---|
| 1000 | - replaced patch1000 for MariaDB 10.1.8. |
---|
| 1001 | |
---|
| 1002 | * Fri Oct 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-3 |
---|
| 1003 | - replaced patch1000 to update Mroonga to 5.08. |
---|
| 1004 | |
---|
[9728] | 1005 | * Mon Aug 31 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-2 |
---|
| 1006 | - replaced patch1000 to update Mroonga to 5.06. |
---|
| 1007 | |
---|
[9706] | 1008 | * Mon Aug 10 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-1 |
---|
| 1009 | - new upstream release. |
---|
| 1010 | - added patch1000 to update Mroonga from 5.02 to 5.05. |
---|
| 1011 | |
---|
| 1012 | * Tue Jun 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.20-2 |
---|
| 1013 | - fixed dependencies. |
---|
| 1014 | |
---|
[9612] | 1015 | * Fri Jun 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.20-1 |
---|
| 1016 | - new upstream release. |
---|
| 1017 | |
---|
[9558] | 1018 | * Sun May 10 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.19-1 |
---|
| 1019 | - new upstream release. |
---|
| 1020 | |
---|
[9555] | 1021 | * Fri May 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.18-1 |
---|
[9405] | 1022 | - new upstream release. |
---|
| 1023 | |
---|
[9555] | 1024 | * Tue Mar 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.17-1 |
---|
| 1025 | - new upstream release. |
---|
| 1026 | |
---|
[9361] | 1027 | * Wed Jan 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.16-1 |
---|
| 1028 | - new upstream release. |
---|
| 1029 | |
---|
[9133] | 1030 | * Wed Nov 26 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.15-1 |
---|
| 1031 | - new upstream release. |
---|
| 1032 | - enabled bundled Mroonga. |
---|
| 1033 | |
---|
[8991] | 1034 | * Mon Sep 29 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.14-1 |
---|
| 1035 | - new upstream release. |
---|
| 1036 | |
---|
[8523] | 1037 | * Sat May 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.11-1 |
---|
| 1038 | - new upstream release. |
---|
| 1039 | |
---|
[8459] | 1040 | * Sun Apr 13 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.10-2 |
---|
| 1041 | - fixed Conflicts: and Obsoletes:. |
---|
| 1042 | |
---|
[8350] | 1043 | * Mon Mar 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.10-1 |
---|
| 1044 | - new upstream release. |
---|
| 1045 | |
---|
| 1046 | * Mon Mar 24 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.9-1 |
---|
| 1047 | - new upstream release. |
---|
| 1048 | |
---|
| 1049 | * Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.8-1 |
---|
| 1050 | - new upstream release. |
---|
| 1051 | |
---|
| 1052 | * Sat Dec 07 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.6-2 |
---|
| 1053 | - removed duplicated files. |
---|
| 1054 | |
---|
| 1055 | * Wed Dec 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.6-1 |
---|
| 1056 | - switched to MariaDB. |
---|
| 1057 | |
---|
| 1058 | * Wed Feb 20 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.30-1 |
---|
| 1059 | - new upstream release. |
---|
| 1060 | |
---|
| 1061 | * Fri Nov 16 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.28-1 |
---|
| 1062 | - new upstream release. |
---|
| 1063 | |
---|
| 1064 | * Sat Sep 15 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.27-1 |
---|
| 1065 | - new upstream release. |
---|
[12399] | 1066 | - added a sub-package "MySQL-source". |
---|
[8350] | 1067 | - added some macros for rpm. |
---|
| 1068 | |
---|
| 1069 | * Thu Jun 21 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.25-1 |
---|
| 1070 | - new upstream release. |
---|
| 1071 | |
---|
| 1072 | * Thu May 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.24-1 |
---|
| 1073 | - new upstream release. |
---|
| 1074 | |
---|
| 1075 | * Tue May 01 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.23-1 |
---|
| 1076 | - new upstream release. |
---|
| 1077 | - added "Vendor:" and "Distribution:" tag. |
---|
| 1078 | |
---|
| 1079 | * Tue Aug 23 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.15-1 |
---|
| 1080 | - new upstream release. |
---|
| 1081 | - removed NDB cluster support. |
---|
| 1082 | |
---|
| 1083 | * Mon Apr 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-3 |
---|
| 1084 | - Added "BR: zlib-devel" to MySQL-devel. |
---|
| 1085 | |
---|
| 1086 | * Sun Apr 03 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-2 |
---|
| 1087 | - Added "BR: openssl-devel" to MySQL-devel. |
---|
| 1088 | |
---|
| 1089 | * Fri Mar 11 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-1 |
---|
| 1090 | - new upstream release. |
---|
| 1091 | |
---|
| 1092 | * Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.54-1 |
---|
| 1093 | - new upstream release. |
---|
| 1094 | - updated jp-patch. |
---|
| 1095 | - added ssl support. |
---|
| 1096 | |
---|
| 1097 | * Sat Nov 06 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.52-1 |
---|
| 1098 | - new upstream release. |
---|
| 1099 | - replaced '%%__find_requires' to '%%__perl_requires'. |
---|
| 1100 | - updated jp-patch. |
---|
| 1101 | |
---|
| 1102 | * Fri Oct 29 2010 Shu KONNO <owa@bg.wakwak.com> 5.1.44-3 |
---|
| 1103 | - added mysql-5.1.44-lib64.patch (on x86_64) |
---|
| 1104 | - added -fPIC (on x86_64) |
---|
| 1105 | |
---|
| 1106 | * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.44-2 |
---|
| 1107 | - made embedded package again |
---|
| 1108 | |
---|
| 1109 | * Fri Mar 05 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.44-1 |
---|
| 1110 | - new upstream release. |
---|
| 1111 | - updated jp-patch. |
---|
| 1112 | |
---|
| 1113 | * Thu Feb 04 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-2 |
---|
| 1114 | - VineSeed: rebuilt with new toolchain. |
---|
| 1115 | |
---|
| 1116 | * Wed Feb 03 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-1 |
---|
| 1117 | - new upstream release. |
---|
| 1118 | - fixed CVE-2009-4484. |
---|
| 1119 | |
---|
| 1120 | * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.41-1 |
---|
| 1121 | - new upstream release. |
---|
| 1122 | |
---|
| 1123 | * Thu Nov 19 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-2 |
---|
| 1124 | - added net-tools to 'Requires'. |
---|
| 1125 | - added groff to 'BuildRequires'. |
---|
| 1126 | - renamed subpackage 'MySQL-shared' to 'libmysqlclient16' (VineSeed only). |
---|
| 1127 | |
---|
| 1128 | * Tue Nov 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-1 |
---|
| 1129 | - new upstream release. |
---|
| 1130 | |
---|
| 1131 | * Sat Sep 26 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.39-1 |
---|
| 1132 | - new upstream release. |
---|
| 1133 | |
---|
| 1134 | * Sun Jul 5 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.36-1 |
---|
| 1135 | - new upstream release. |
---|
| 1136 | - dropped %%Patch100 (fixed in upstream). |
---|
| 1137 | |
---|
| 1138 | * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.35-1 |
---|
| 1139 | - new upstream release. |
---|
| 1140 | - add %%Patch100 (no longer needed for MySQL-5.1.36 or later). |
---|
| 1141 | |
---|
| 1142 | * Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.34-1 |
---|
| 1143 | - new upstream release. |
---|
| 1144 | - rename 'MySQL-bench' to 'MySQL-test'. |
---|
| 1145 | - update Patch0. |
---|
| 1146 | - change default charset to 'utf8'. |
---|
| 1147 | |
---|
| 1148 | * Sat Apr 12 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.51a-1 |
---|
| 1149 | - new upstream release. |
---|
| 1150 | - update Patch0. |
---|
| 1151 | - add "--with-client-charset=ujis". |
---|
| 1152 | - sync %%files to official RPM. |
---|
| 1153 | - remove MySQL-Max. |
---|
| 1154 | |
---|
| 1155 | * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl7 |
---|
| 1156 | - for VineSeed |
---|
| 1157 | |
---|
| 1158 | * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl6 |
---|
| 1159 | - move shared library from /usr/lib/ to /usr/lib/mysql/ |
---|
| 1160 | - add /etc/ld.so.conf.d/*.conf |
---|
| 1161 | - fix broken libmysqlcient*.la files (or should we remove them permanently?) |
---|
| 1162 | |
---|
| 1163 | * Sat Jun 16 2007 IWAI, Masaharu <iwai@alib.jp> 5.0.27-0vl5 |
---|
| 1164 | - rebuild <BTS:VineLinux:534> |
---|
| 1165 | |
---|
| 1166 | * Mon Nov 13 2006 NAKAMURA Kenta <kenta@vinelinux.org> 5.0.27-0vl4 |
---|
| 1167 | - added -fPIC |
---|
| 1168 | |
---|
| 1169 | * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl3 |
---|
| 1170 | - fixed dependency. <BTS:338> |
---|
| 1171 | |
---|
| 1172 | * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl2 |
---|
| 1173 | - add %%Patch1. <BTS:320> |
---|
| 1174 | |
---|
| 1175 | * Sat Oct 28 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl1 |
---|
| 1176 | - new upstream release. |
---|
| 1177 | |
---|
| 1178 | * Fri Oct 27 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.26-0vl1 |
---|
| 1179 | - new upstream release. |
---|
| 1180 | |
---|
| 1181 | * Sat Jun 3 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.22-0vl1 |
---|
| 1182 | - new upstream release. |
---|
| 1183 | |
---|
| 1184 | * Sat May 13 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl1 |
---|
| 1185 | - release++. |
---|
| 1186 | |
---|
| 1187 | * Wed May 10 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl0 |
---|
| 1188 | - new upstream release. |
---|
| 1189 | - for VineSeed. |
---|
| 1190 | |
---|
| 1191 | * Wed Feb 8 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.16-0vl0 |
---|
| 1192 | - new upstream release. |
---|
| 1193 | - replace Patch0 for MySQL-4.1.16. |
---|
| 1194 | |
---|
| 1195 | * Thu Oct 6 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.14-0vl0 |
---|
| 1196 | - new upstream release. |
---|
| 1197 | - add Patch0. |
---|
| 1198 | |
---|
| 1199 | * Tue Sep 6 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.25-0vl0 |
---|
| 1200 | - new upstream version |
---|
| 1201 | -- mysql-4.0.25 |
---|
| 1202 | |
---|
| 1203 | * Fri Jan 21 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.23-0vl0 |
---|
| 1204 | - new upstream version |
---|
| 1205 | -- mysql-4.0.23 |
---|
| 1206 | |
---|
| 1207 | * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.22-0vl0 |
---|
| 1208 | - new upstream version |
---|
| 1209 | -- mysql-4.0.22 |
---|
| 1210 | |
---|
| 1211 | * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.21-0vl1 |
---|
| 1212 | - new upstream version |
---|
| 1213 | -- mysql-4.0.21 |
---|
| 1214 | |
---|
| 1215 | * Fri May 21 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.20-0vl1 |
---|
| 1216 | - new upstream version |
---|
| 1217 | -- mysql-4.0.20 |
---|
| 1218 | |
---|
| 1219 | * Tue May 04 2004 Tomoya TAKA <taka@vinelinux.org> 4.0.18-0vl2 |
---|
| 1220 | - modify CFLAGS, CXXFLAGS and configure options for alpha |
---|
| 1221 | |
---|
| 1222 | * Tue Mar 23 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.18-0vl1 |
---|
| 1223 | - Upgraded to MySQL-4 |
---|
| 1224 | - added "with-charset=ujis" and "without-readline" to configure (vineseed-plus-02150) |
---|
| 1225 | - merged to MySQL Official packages |
---|
| 1226 | -- renamed package "MySQL" to "MySQL-server" |
---|
| 1227 | -- when using gcc, _always_ use CXX=gcc |
---|
| 1228 | -- replaced Copyright with License field (Copyright is obsolete) |
---|
| 1229 | -- added myisam_ftdump to the Server package |
---|
| 1230 | -- marked /etc/logrotate.d/mysql as a config file (BUG 2156) |
---|
| 1231 | -- fixed file permissions (BUG 1672) |
---|
| 1232 | -- removed dependency on MySQL-client from the MySQL-devel subpackage |
---|
| 1233 | -- as it is not really required. (BUG 1610) |
---|
| 1234 | -- Fixed BUG 1162 (removed macro names from the changelog) |
---|
| 1235 | -- Really fixed BUG 998 (disable the checking for installed but |
---|
| 1236 | -- unpackaged files) |
---|
| 1237 | -- Fixed BUG 959 (libmysqld not being compiled properly) |
---|
| 1238 | -- Fixed BUG 998 (RPM build errors): added missing files to the |
---|
| 1239 | -- distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow, |
---|
| 1240 | -- mysql_fix_privilege_tables.1), removed "-n" from install section. |
---|
| 1241 | -- removed the GIF Icon (file was not included in the sources anyway) |
---|
| 1242 | -- removed unused variable shared_lib_version |
---|
| 1243 | -- do not run automake before building the standard binary |
---|
| 1244 | -- (should not be necessary) |
---|
| 1245 | -- add server suffix '-standard' to standard binary (to be in line |
---|
| 1246 | -- with the binary tarball distributions) |
---|
| 1247 | -- allow overriding CC and CXX (required when building |
---|
| 1248 | -- with other compilers) |
---|
| 1249 | |
---|
| 1250 | * Mon Apr 14 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.23.56-0vl5 |
---|
| 1251 | - added BuildRequires: automake16 |
---|
| 1252 | |
---|
| 1253 | * Thu Apr 03 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl3 |
---|
| 1254 | - add '-fPIC -DPIC' to CFLAGS on alpha |
---|
| 1255 | - little fix of spec file |
---|
| 1256 | |
---|
| 1257 | * Thu Mar 27 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl2 |
---|
| 1258 | - enable MySQL-shared subpackage for alpha |
---|
| 1259 | - delete 'BuildPrereq: kernel24-headers' for alpha |
---|
| 1260 | - fix shared %files (exclude sparc) |
---|
| 1261 | |
---|
| 1262 | * Tue Mar 18 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.56-0vl1 |
---|
| 1263 | - new upstream version |
---|
| 1264 | |
---|
| 1265 | * Sun Mar 9 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.23.55-0vl2 |
---|
| 1266 | - fixed devel %files (dropped *.la files) |
---|
| 1267 | |
---|
| 1268 | * Tue Jan 28 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.55-0vl1 |
---|
| 1269 | - new upstream version |
---|
| 1270 | - fixed document permission |
---|
| 1271 | |
---|
| 1272 | * Sat Dec 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.54a-0vl1 |
---|
| 1273 | - new upstream version |
---|
| 1274 | |
---|
| 1275 | * Sat Oct 19 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl2 |
---|
| 1276 | - dropped MySQL-Max sub-pakage for sparc/sparc64/alpha |
---|
| 1277 | -- don't work |
---|
| 1278 | |
---|
| 1279 | * Wed Oct 16 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl1 |
---|
| 1280 | - new upstream version |
---|
| 1281 | - diseble-assembler in configure on sparc,sparc64,alpha |
---|
| 1282 | |
---|
| 1283 | * Wed Aug 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.52-0vl1 |
---|
| 1284 | - new upstream version |
---|
| 1285 | - moved some man files to main package |
---|
| 1286 | - added enable-local-infile in configure |
---|
| 1287 | - changed --with-extra-charsets=all in configure |
---|
| 1288 | |
---|
| 1289 | * Fri Jun 14 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl2 |
---|
| 1290 | - fixed changelog |
---|
| 1291 | |
---|
| 1292 | * Thu Jun 13 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl1 |
---|
| 1293 | - updated to mysql-3.23.51 |
---|
| 1294 | |
---|
| 1295 | * Fri Mar 15 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl2 |
---|
| 1296 | - rebuild on zlib-1.1.4(security fix.) |
---|
| 1297 | |
---|
| 1298 | * Mon Feb 18 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl1 |
---|
| 1299 | - updated to mysql-2.23.49 |
---|
| 1300 | |
---|
| 1301 | * Tue Feb 12 2002 Tomoya TAKA <taka@vinelinux.org> 3.23.48-0vl2 |
---|
| 1302 | - add 'BuildPrereq: kernel24-headers' on alpha |
---|
| 1303 | - remove shared library and max on alpha |
---|
| 1304 | |
---|
| 1305 | * Tue Feb 12 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.48-0vl1 |
---|
| 1306 | - updated to mysql-3.23.48 |
---|
| 1307 | |
---|
| 1308 | * Thu Jan 03 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.47-0vl1 |
---|
| 1309 | - updated to mysql-3.23.47 |
---|
| 1310 | |
---|
| 1311 | * Wed Dec 05 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.46-0vl1 |
---|
| 1312 | - updated to mysql-3.23.46 |
---|
| 1313 | |
---|
| 1314 | * Thu Nov 29 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.45-0vl1 |
---|
| 1315 | - updated to mysql-3.23.45 |
---|
| 1316 | |
---|
| 1317 | * Mon Nov 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.44-0vl1 |
---|
| 1318 | - updated to mysql-3.23.44 |
---|
| 1319 | |
---|
| 1320 | * Sat Oct 13 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.43-0vl1 |
---|
| 1321 | - updated to mysql-3.23.43 |
---|
| 1322 | - removed shared library and max on sparc |
---|
| 1323 | |
---|
| 1324 | * Wed Sep 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.42-0vl1 |
---|
| 1325 | - updated to mysql-3.23.42 |
---|
| 1326 | - changed MYSQL_BUILD_CC: and MYSQL_BUILD_XCC: to -gcc |
---|
| 1327 | |
---|
| 1328 | * Thu Aug 30 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.41-0vl1 |
---|
| 1329 | - updated to mysql-3.23.41 |
---|
| 1330 | |
---|
| 1331 | * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.40-0vl1 |
---|
| 1332 | - updated to mysql-3.23.40 |
---|
| 1333 | |
---|
| 1334 | * Tue Jul 10 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.39-0vl1 |
---|
| 1335 | - updated to mysql-3.23.39 |
---|
| 1336 | |
---|
| 1337 | * Fri Jun 15 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2 |
---|
| 1338 | - added configure --with-charset=ujis |
---|
| 1339 | |
---|
| 1340 | * Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2 |
---|
| 1341 | - used some rpmmacro |
---|
| 1342 | |
---|
| 1343 | * Fri May 25 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl1 |
---|
| 1344 | - updated to MySQL-3.23.38 |
---|
| 1345 | |
---|
| 1346 | * Thu Dec 07 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl2 |
---|
| 1347 | - removed Bench pakages |
---|
| 1348 | |
---|
| 1349 | * Tue Dec 05 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl1 |
---|
| 1350 | - removed pt_BR locale |
---|
| 1351 | - build on Vine Linux |
---|
| 1352 | - partially used rpmmacros |
---|
| 1353 | - added %clean tag |
---|
| 1354 | |
---|
| 1355 | * Fri Aug 18 2000 Tim Smith <tim@mysql.com> |
---|
| 1356 | - Added separate libmysql_r directory; now both a threaded |
---|
| 1357 | and non-threaded library is shipped. |
---|
| 1358 | |
---|
| 1359 | * Tue Sep 28 1999 David Axmark <davida@mysql.com> |
---|
| 1360 | - Added the support-files/my-example.cnf to the docs directory. |
---|
| 1361 | - Removed devel dependency on base since it is about client |
---|
| 1362 | development. |
---|
| 1363 | |
---|
| 1364 | * Wed Sep 8 1999 David Axmark <davida@mysql.com> |
---|
| 1365 | - Cleaned up some for 3.23. |
---|
| 1366 | |
---|
| 1367 | * Thu Jul 1 1999 David Axmark <davida@mysql.com> |
---|
| 1368 | - Added support for shared libraries in a separate sub |
---|
| 1369 | package. Original fix by David Fox (dsfox@cogsci.ucsd.edu) |
---|
| 1370 | - The --enable-assembler switch is now automatically disables on |
---|
| 1371 | platforms there assembler code is unavailable. This should allow |
---|
| 1372 | building this RPM on non i386 systems. |
---|
| 1373 | |
---|
| 1374 | * Mon Feb 22 1999 David Axmark <david@detron.se> |
---|
| 1375 | - Removed unportable cc switches from the spec file. The defaults can |
---|
| 1376 | now be overridden with environment variables. This feature is used |
---|
| 1377 | to compile the official RPM with optimal (but compiler version |
---|
| 1378 | specific) switches. |
---|
| 1379 | - Removed the repetitive description parts for the sub rpms. Maybe add |
---|
| 1380 | again if RPM gets a multiline macro capability. |
---|
| 1381 | - Added support for a pt_BR translation. Translation contributed by |
---|
| 1382 | Jorge Godoy <jorge@bestway.com.br>. |
---|
| 1383 | |
---|
| 1384 | * Wed Nov 4 1998 David Axmark <david@detron.se> |
---|
| 1385 | - A lot of changes in all the rpm and install scripts. This may even |
---|
| 1386 | be a working RPM :-) |
---|
| 1387 | |
---|
| 1388 | * Sun Aug 16 1998 David Axmark <david@detron.se> |
---|
| 1389 | - A developers changelog for MySQL is available in the source RPM. And |
---|
| 1390 | there is a history of major user visible changed in the Reference |
---|
| 1391 | Manual. Only RPM specific changes will be documented here. |
---|
| 1392 | |
---|