mariadb-vl.spec 45 KB

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