mariadb-vl.spec 45 KB

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