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