mariadb-vl.spec 46 KB

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