mariadb-vl.spec 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009
  1. %bcond_with source
  2. %define mysqld_user mysql
  3. %define mysqld_group mysql
  4. %define mysqldatadir /var/lib/mysql
  5. # Working around perl dependency problem
  6. %global __perl_requires %{SOURCE998}
  7. %global __perllib_requires %{SOURCE998}
  8. %define _unpackaged_files_terminate_build 1
  9. %define mariadb_base_version 10.0
  10. %define mariadb_version 10.1.11
  11. %define mroonga_version 5.12
  12. %define client_version 18
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: tomop
  16. Name: mariadb
  17. Summary: MariaDB: a very fast and robust SQL database server
  18. Version: %{mariadb_version}
  19. Release: 1%{_dist_release}
  20. Group: Applications/Databases
  21. License: GPL2
  22. URL: http://www.mariadb.org/
  23. Source: mariadb-%{version}.tar.gz
  24. # Don't depend on lib::mtr*
  25. Source998: perl-requires.sh
  26. Source1000: macros.mariadb.in
  27. # mroonga 5.04 -> 5.12
  28. patch1000: mariadb-%{mariadb_version}-mroonga-v%{mroonga_version}.patch
  29. #
  30. #Patch2000: mysql-srv_buf_size.patch
  31. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  32. BuildRequires: bison, cmake, gcc-c++, groff
  33. BuildRequires: libaio-devel, libboost-devel, libevent-devel, libxml2-devel
  34. BuildRequires: ncurses-devel, perl, openssl-devel, readline-devel
  35. BuildRequires: jemalloc-devel
  36. BuildRequires: unixODBC-devel
  37. BuildRequires: zlib-devel
  38. BuildRequires: mecab-devel
  39. Requires: fileutils sh-utils
  40. Provides: msqlormysql MySQL mysql
  41. Obsoletes: mysql MySQL5
  42. # From the manual
  43. %description
  44. MariaDB: a very fast and robust SQL database server
  45. It is GPL v2 licensed, which means you can use the it free of charge under the
  46. conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
  47. MariaDB documentation can be found at http://kb.askmonty.org/
  48. MariaDB bug reports should be submitted through https://mariadb.atlassian.net/
  49. %package server
  50. Version: %{mariadb_version}
  51. Release: %{release}
  52. Summary: MariaDB: a very fast and robust SQL database server
  53. Group: Applications/Databases
  54. Requires: fileutils sh-utils net-tools mariadb-common
  55. Requires(post): mariadb-common
  56. Provides: mysql-server mysql MySQL MySQL-server mariadbserver-%{mariadb_base_version}
  57. Obsoletes: MySQL mysql mysql-server
  58. Obsoletes: MySQL-server < 5.6.0
  59. %description server
  60. MariaDB: a very fast and robust SQL database server
  61. It is GPL v2 licensed, which means you can use the it free of charge under the
  62. conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
  63. MariaDB documentation can be found at http://kb.askmonty.org/
  64. MariaDB bug reports should be submitted through https://mariadb.atlassian.net/
  65. %package mroonga
  66. ##Version: %{mroonga_version}
  67. Version: %{mariadb_version}
  68. Summary: A fast fulltext searchable storage engine for MariaDB.
  69. Group: Applications/Databases
  70. Requires(pre): mariadb-server = %{mariadb_version}-%{release}
  71. Requires: mariadb-server = %{mariadb_version}-%{release}
  72. Obsoletes: MySQL-mroonga < 4.02
  73. Obsoletes: mariadb-mroonga < 4.07
  74. Obsoletes: mariadb-mroonga-doc < 4.07
  75. %description mroonga
  76. Mroonga is a fast fulltext searchable storage plugin for MariaDB.
  77. It is based on groonga that is a fast fulltext search engine and
  78. column store. Groonga is good at real-time update.
  79. %package connect
  80. Version: %{mariadb_version}
  81. Summary: CONNECT storage engine for MariaDB.
  82. Group: Applications/Databases
  83. Requires(pre): mariadb-server = %{mariadb_version}-%{release}
  84. Requires: mariadb-server = %{mariadb_version}-%{release}
  85. %description connect
  86. The CONNECT storage engine enables MariaDB to access external
  87. local or remote data (MED). This is done by defining tables
  88. based on different data types, in particular files in various
  89. formats, data extracted from other DBMS or products (such as Excel)
  90. via ODBC, or data retrieved from the environment (for example
  91. DIR, WMI, and MAC tables).
  92. This storage engine supports table partitioning, MariaDB virtual
  93. columns and also permits defining special columns such as ROWID,
  94. FILEID, and SERVID.
  95. %ifarch x86_64
  96. %package tokudb
  97. Version: %{mariadb_version}
  98. Summary: TokuDB storage engine for MariaDB.
  99. Group: Applications/Databases
  100. Requires(pre): mariadb-server = %{mariadb_version}-%{release}
  101. Requires: mariadb-server = %{mariadb_version}-%{release}
  102. %description tokudb
  103. The TokuDB storage engine is for use in high-performance and
  104. write-intensive environments, offering increased compression and
  105. better performance.
  106. %endif
  107. %package client
  108. Version: %{mariadb_version}
  109. Summary: MariaDB - Client
  110. Group: Applications/Databases
  111. Obsoletes: mysql-client MySQL-client < 5.6.0
  112. Provides: mysql-client MySQL-client mariadbclient-%{mariadb_base_version}
  113. %description client
  114. This package contains the standard MariaDB clients and administration tools.
  115. %package devel
  116. Version: %{mariadb_version}
  117. Summary: MariaDB - Development libraries and headers
  118. Group: Development/Libraries
  119. Requires: %{name}-static, openssl-devel, zlib-devel
  120. Conflicts: MySQL-devel < 5.6.0
  121. Conflicts: libmysqlclient-devel
  122. %description devel
  123. This package contains the development libraries and headers to develop
  124. MariaDB server components (e.g. plugins or embedded applications).
  125. %package static
  126. Version: %{mariadb_version}
  127. Summary: MariaDB - static libraries
  128. Group: Development/Libraries
  129. Requires: %{name}-devel
  130. %description static
  131. This package provides static libraries of MariaDB.
  132. %if %{with source}
  133. %package source
  134. Version: %{mariadb_version}
  135. Summary: MariaDB - Source
  136. Group: Development/Libraries
  137. Requires: mariadb-devel = %{version}-%{release}
  138. Obsoletes: MySQL-source < 5.6.0
  139. AutoReqProv: no
  140. %description source
  141. This package contains the sources files of MariaDB.
  142. %endif
  143. %package test
  144. Version: %{mariadb_version}
  145. Requires: %{name}-client = %{version}-%{release} perl-DBI perl
  146. Summary: MariaDB - Test suite
  147. Group: Applications/Databases
  148. Obsoletes: mysql-bench MySQL5-bench MySQL-bench MySQL-test < 5.6.0
  149. Provides: perl(mtr_misc.pl)
  150. %description test
  151. This package contains the MariaDB regression test suite.
  152. %package embedded
  153. Version: %{mariadb_version}
  154. Summary: MariaDB as an embeddable library
  155. Group: System Environment/Libraries
  156. Obsoletes: mysql-embedded MySQL-embedded
  157. Provides: mysql-embedded MySQL-embedded
  158. %description embedded
  159. This package contains a version of the MariaDB server that can be embedded
  160. into a client application instead of running as a separate process.
  161. %prep
  162. %setup -q
  163. %patch1000 -p1 -b .mroonga
  164. #%patch2000 -p1 -b .srv_buf_size
  165. %build
  166. # Be strict about variables, bail at earliest opportunity, etc.
  167. set -eu
  168. # Optional package files
  169. touch optional-files-devel
  170. export CFLAGS=${MYSQL_BUILD_CFLAGS:-${CFLAGS:-$RPM_OPT_FLAGS}}
  171. export CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti}}
  172. # Build full release
  173. mkdir release
  174. (
  175. cd release
  176. cmake ../ \
  177. -DINSTALL_LAYOUT=RPM \
  178. -DBUILD_CONFIG=mysql_release \
  179. -DCMAKE_BUILD_TYPE=Release \
  180. -DINSTALL_UNIX_ADDRDIR="/var/lib/mysql/mysql.sock" \
  181. -DCOMPILATION_COMMENT="Vine Linux MariaDB RPM" \
  182. -DWITH_PIC="ON" \
  183. -DWITH_EMBEDDED_SERVER="ON" \
  184. -DWITH_ZLIB="system" \
  185. -DWITH_LOCALES="yes" \
  186. -DWITH_UNIT_TESTS="no" \
  187. -DWITH_SEQUENCE_STORAGE_ENGINE="ON" \
  188. -DWITH_XTRADB_STORAGE_ENGINE="ON" \
  189. -DWITH_JEMALLOC="yes" \
  190. -DGRN_WITH_MECAB="yes" \
  191. -DGRN_WITH_ONIGMO="no"
  192. # -DWITHOUT_TOKUDB="yes"
  193. # -DWITH_PCRE="system"
  194. echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG
  195. make %{?_smp_mflags} VERBOSE=1
  196. )
  197. %install
  198. rm -rf %{buildroot}
  199. install -d %{buildroot}%{mysqldatadir}/mysql
  200. install -d %{buildroot}%{_infodir}
  201. # Install all binaries
  202. (
  203. cd release
  204. make DESTDIR=%{buildroot} install
  205. )
  206. install -m 0644 Docs/mysql.info %{buildroot}%{_infodir}
  207. rm -rf ./doc
  208. mv -f %{buildroot}%{_docdir} ./
  209. mv -f %{buildroot}%{_datadir}/groonga ./
  210. %if %{with source}
  211. mkdir -p %{buildroot}%{_datadir}/%{name}-source
  212. pushd %{buildroot}%{_datadir}/%{name}-source
  213. tar zxf %{SOURCE0}
  214. find %{buildroot}%{_datadir}/%{name}-source -type f -exec chmod ugo-x {} \;
  215. popd
  216. %endif
  217. install -d %{buildroot}%{_sysconfdir}/rpm
  218. sed -e 's/@BASEVERSION@/%{mariadb_base_version}/' -e 's/@VERSION@/%{version}/' -e 's/@RELEASE@/%{release}/' < %{SOURCE1000} > %{buildroot}%{_sysconfdir}/rpm/macros.mariadb
  219. rm -f %{buildroot}%{_mandir}/man1/mysql_fix_privilege_tables.1*
  220. rm -f %{buildroot}%{_mandir}/man8/mysqlmanager.8*
  221. rm -f %{buildroot}%{_sysconfdir}/my.cnf
  222. rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf
  223. rm -f %{buildroot}%{_libdir}/libmysqlclient*.so*
  224. rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini
  225. # force linking statically.
  226. perl -pi -e 's,-lmysqlclient_r,%{_libdir}/libmysqlclient_r.a,' %{buildroot}%{_bindir}/mysql_config
  227. perl -pi -e 's,-lmysqlclient,%{_libdir}/libmysqlclient.a,' %{buildroot}%{_bindir}/mysql_config
  228. perl -pi -e 's,-lmysqlclient,%{_libdir}/libmysqlclient.a,' %{buildroot}%{_datadir}/pkgconfig/mariadb.pc
  229. mv -f %{buildroot}%{_bindir}/maria_add_gis_sp.sql %{buildroot}%{_datadir}/mysql
  230. ##############################################################################
  231. %pre server
  232. # Create a MySQL user and group. Do not report any problems if it already
  233. # exists.
  234. datadir=/var/lib/mysql
  235. groupadd -r mysql 2> /dev/null || true
  236. useradd -M -r -d $datadir -s /bin/bash -c "MySQL server" -g mysql mysql 2> /dev/null || true
  237. # The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
  238. usermod -g mysql mysql 2> /dev/null || true
  239. %post server
  240. # Make MySQL start/shutdown automatically when the machine does it.
  241. if [ $1 = 1 ] ; then
  242. if [ -x /sbin/chkconfig ] ; then
  243. /sbin/chkconfig --add mysql
  244. fi
  245. basedir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--basedir=//p'|tail -1`
  246. if [ -z "$basedir" ] ; then
  247. basedir=/usr
  248. fi
  249. datadir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--datadir=//p'|tail -1`
  250. if [ -z "$datadir" ] ; then
  251. datadir=/var/lib/mysql
  252. else
  253. # datadir may be relative to a basedir!
  254. if ! expr $datadir : / > /dev/null; then
  255. datadir=$basedir/$datadir
  256. fi
  257. fi
  258. tmpdir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--datadir=//p'|tail -1`
  259. if [ -z "$datadir" ] ; then
  260. datadir=/var/lib/mysql
  261. else
  262. # datadir may be relative to a basedir!
  263. if ! expr $datadir : / > /dev/null; then
  264. datadir=$basedir/$datadir
  265. fi
  266. fi
  267. # Change permissions so that the user that will run the MySQL daemon
  268. # owns all database files.
  269. chown -R mysql:mysql $datadir
  270. if [ ! -e $datadir/mysql ]; then
  271. # Create data directory
  272. mkdir -p $datadir/{mysql,test}
  273. chown -R mysql:mysql $datadir
  274. # Initiate databases
  275. /usr/bin/mysql_install_db --rpm --user=mysql
  276. fi
  277. # Change permissions again to fix any new files.
  278. chown -R mysql:mysql $datadir
  279. # Fix permissions for the permission database so that only the user
  280. # can read them.
  281. chmod -R og-rw $datadir/mysql
  282. fi
  283. %preun server
  284. if [ $1 = 0 ] ; then
  285. # Stop MySQL before uninstalling it
  286. if [ -x /etc/init.d/mysql ] ; then
  287. /etc/init.d/mysql stop > /dev/null
  288. fi
  289. # Don't start it automatically anymore
  290. if [ -x /sbin/chkconfig ] ; then
  291. /sbin/chkconfig --del mysql
  292. fi
  293. fi
  294. %postun server
  295. if [ $1 -ge 1 ]; then
  296. if [ -x /etc/init.d/mysql ] ; then
  297. # only restart the server if it was alredy running
  298. /etc/init.d/mysql status > /dev/null 2>&1 && \
  299. /etc/init.d/mysql restart
  300. fi
  301. fi
  302. %pre mroonga
  303. if [ $1 -gt 1 ]; then
  304. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/uninstall.sql || cat <<EOF
  305. An error occured when to unregister plugin.
  306. Please run a command below:
  307. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/uninstall.sql
  308. EOF
  309. fi
  310. %post mroonga
  311. if [ $1 -eq 1 ] ; then
  312. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql || cat <<EOF
  313. An error occured when to register plugin.
  314. Please run a command below:
  315. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql
  316. EOF
  317. fi
  318. %postun mroonga
  319. if [ $1 -gt 0 ] ; then
  320. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql || cat <<EOF
  321. An error occured when to register plugin.
  322. Please run a command below:
  323. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql
  324. EOF
  325. fi
  326. # Clean up the BuildRoot
  327. %clean
  328. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  329. %files server
  330. %defattr(-,root,root)
  331. %doc doc/*
  332. %doc release/support-files/my-*.cnf
  333. %doc %{_infodir}/mysql.info*
  334. %doc %{_mandir}/man1/aria_*.1*
  335. %doc %{_mandir}/man1/innochecksum.1*
  336. %doc %{_mandir}/man1/my_print_defaults.1*
  337. %doc %{_mandir}/man1/myisam_ftdump.1*
  338. %doc %{_mandir}/man1/myisamchk.1*
  339. %doc %{_mandir}/man1/myisamlog.1*
  340. %doc %{_mandir}/man1/myisampack.1*
  341. %doc %{_mandir}/man1/mysql_convert_table_format.1*
  342. %doc %{_mandir}/man1/mysql_fix_extensions.1*
  343. %doc %{_mandir}/man8/mysqld.8*
  344. %doc %{_mandir}/man1/mysqld_multi.1*
  345. %doc %{_mandir}/man1/mysqld_safe.1*
  346. %doc %{_mandir}/man1/mysqldumpslow.1*
  347. %doc %{_mandir}/man1/mysql_install_db.1*
  348. %doc %{_mandir}/man1/mysql_plugin.1*
  349. %doc %{_mandir}/man1/mysql_secure_installation.1*
  350. %doc %{_mandir}/man1/mysql_setpermission.1*
  351. %doc %{_mandir}/man1/mysql_upgrade.1*
  352. %doc %{_mandir}/man1/mysqlhotcopy.1*
  353. %doc %{_mandir}/man1/mysql.server.1*
  354. %doc %{_mandir}/man1/mysqltest.1*
  355. %doc %{_mandir}/man1/mysql_tzinfo_to_sql.1*
  356. %doc %{_mandir}/man1/mysql_zap.1*
  357. %doc %{_mandir}/man1/mysqlbug.1*
  358. %doc %{_mandir}/man1/perror.1*
  359. %doc %{_mandir}/man1/replace.1*
  360. %doc %{_mandir}/man1/resolve_stack_dump.1*
  361. %doc %{_mandir}/man1/resolveip.1*
  362. %{_bindir}/aria_*
  363. %{_bindir}/innochecksum
  364. %{_bindir}/my_print_defaults
  365. %{_bindir}/myisam_ftdump
  366. %{_bindir}/myisamchk
  367. %{_bindir}/myisamlog
  368. %{_bindir}/myisampack
  369. %{_bindir}/mysql_convert_table_format
  370. %{_bindir}/mysql_fix_extensions
  371. %{_bindir}/mysql_install_db
  372. %{_bindir}/mysql_plugin
  373. %{_bindir}/mysql_secure_installation
  374. %{_bindir}/mysql_setpermission
  375. %{_bindir}/mysql_tzinfo_to_sql
  376. %{_bindir}/mysql_upgrade
  377. %{_bindir}/mysql_zap
  378. %{_bindir}/mysqlbug
  379. %{_bindir}/mysqld_multi
  380. %{_bindir}/mysqld_safe
  381. %{_bindir}/mysqldumpslow
  382. %{_bindir}/mysqlhotcopy
  383. %{_bindir}/mysqltest
  384. %{_bindir}/perror
  385. %{_bindir}/replace
  386. %{_bindir}/resolve_stack_dump
  387. %{_bindir}/resolveip
  388. %{_bindir}/wsrep*
  389. %{_sbindir}/mysqld
  390. %{_sbindir}/rcmysql
  391. %exclude %{_libdir}/mysql/plugin/ha_connect.so
  392. %exclude %{_libdir}/mysql/plugin/ha_mroonga.so
  393. %ifarch x86_64
  394. %exclude %{_libdir}/mysql/plugin/ha_tokudb.so
  395. %endif
  396. %exclude %{_datadir}/mysql/mroonga
  397. %{_libdir}/mysql
  398. %config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset
  399. %config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf
  400. %ifarch x86_64
  401. %config(noreplace) %{_sysconfdir}/my.cnf.d/tokudb.cnf
  402. %endif
  403. %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
  404. %{_sysconfdir}/init.d/mysql
  405. %{_datadir}/mysql
  406. %attr(755, mysql, mysql) %dir %{mysqldatadir}
  407. %files mroonga
  408. %defattr(-, root, root)
  409. %doc groonga
  410. %{_libdir}/mysql/plugin/ha_mroonga.so
  411. %{_datadir}/mysql/mroonga
  412. %files connect
  413. %defattr(-, root, root)
  414. %{_libdir}/mysql/plugin/ha_connect.so
  415. %ifarch x86_64
  416. %files tokudb
  417. %defattr(-, root, root)
  418. %{_libdir}/mysql/plugin/ha_tokudb.so
  419. %{_bindir}/tokuft*
  420. %endif
  421. %files client
  422. %defattr(-, root, root)
  423. %config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
  424. %{_bindir}/msql2mysql
  425. %{_bindir}/mysql
  426. %{_bindir}/mysql_find_rows
  427. %{_bindir}/mysql_waitpid
  428. %{_bindir}/mysqlaccess
  429. %{_bindir}/mysqladmin
  430. %{_bindir}/mysqlbinlog
  431. %{_bindir}/mysqlcheck
  432. %{_bindir}/mysqldump
  433. %{_bindir}/mysqlimport
  434. %{_bindir}/mysqlshow
  435. %{_bindir}/mysqlslap
  436. %{_bindir}/mytop
  437. %doc %{_mandir}/man1/msql2mysql.1*
  438. %doc %{_mandir}/man1/mysql.1*
  439. %doc %{_mandir}/man1/mysql_find_rows.1*
  440. %doc %{_mandir}/man1/mysql_waitpid.1*
  441. %doc %{_mandir}/man1/mysqlaccess.1*
  442. %doc %{_mandir}/man1/mysqladmin.1*
  443. %doc %{_mandir}/man1/mysqlbinlog.1*
  444. %doc %{_mandir}/man1/mysqlcheck.1*
  445. %doc %{_mandir}/man1/mysqldump.1*
  446. %doc %{_mandir}/man1/mysqlimport.1*
  447. %doc %{_mandir}/man1/mysqlshow.1*
  448. %doc %{_mandir}/man1/mysqlslap.1*
  449. %files devel -f optional-files-devel
  450. %defattr(-, root, root)
  451. %doc %{_mandir}/man1/mysql_config.1*
  452. %{_bindir}/mysql_config
  453. %{_includedir}/mysql
  454. %{_datadir}/aclocal/mysql.m4
  455. %{_datadir}/pkgconfig/mariadb.pc
  456. %{_libdir}/*.so
  457. %{_sysconfdir}/rpm/*
  458. %{_bindir}/mysql_embedded
  459. %files static
  460. %defattr(-,root,root)
  461. %{_libdir}/lib*.a
  462. %if %{with source}
  463. %files source
  464. %defattr(-, root, root)
  465. %{_datadir}/mariadb-source
  466. %endif
  467. %files test
  468. %defattr(-, root, root)
  469. %attr(-, root, root) %{_datadir}/mysql-test
  470. %{_bindir}/mysql_client_test
  471. %{_bindir}/mysql_client_test_embedded
  472. %{_bindir}/mysqltest_embedded
  473. %doc %{_mandir}/man1/mysql_client_test.1*
  474. %doc %{_mandir}/man1/mysql-stress-test.pl.1*
  475. %doc %{_mandir}/man1/mysql-test-run.pl.1*
  476. %doc %{_mandir}/man1/mysql_client_test_embedded.1*
  477. %doc %{_mandir}/man1/mysqltest_embedded.1*
  478. %files embedded
  479. %defattr(-,root,root)
  480. %{_libdir}/libmysqld.so.*
  481. %changelog
  482. * Sat Jan 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.11-1
  483. - new upstream release.
  484. - replaced patch1000 to update Mroonga to v5.12.
  485. * Fri Jan 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.10-1
  486. - new upstream release.
  487. - replaced patch1000 to update Mroonga to v5.11.
  488. - moved CONNECT and TokuDB storage engines to subpackages.
  489. * Sun Nov 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-4
  490. - replaced patch1000 to update Mroonga to git HEAD.
  491. * Sat Nov 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-3
  492. - replaced patch1000 to update Mroonga to git HEAD.
  493. * Thu Nov 26 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-2
  494. - replaced patch1000 to update Mroonga to git HEAD.
  495. * Tue Nov 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-1
  496. - new upstream release.
  497. - replaced patch1000 to update Mroonga to git HEAD.
  498. * Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-3
  499. - added BR:jemalloc-devel.
  500. * Thu Oct 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-2
  501. - replaced patch1000 to update Mroonga to 5.09.
  502. * Wed Oct 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-1
  503. - new upstream release.
  504. - replaced patch1000 for MariaDB 10.1.8.
  505. * Fri Oct 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-3
  506. - replaced patch1000 to update Mroonga to 5.08.
  507. * Mon Aug 31 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-2
  508. - replaced patch1000 to update Mroonga to 5.06.
  509. * Mon Aug 10 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-1
  510. - new upstream release.
  511. - added patch1000 to update Mroonga from 5.02 to 5.05.
  512. * Tue Jun 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.20-2
  513. - fixed dependencies.
  514. * Fri Jun 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.20-1
  515. - new upstream release.
  516. * Sun May 10 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.19-1
  517. - new upstream release.
  518. * Fri May 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.18-1
  519. - new upstream release.
  520. * Tue Mar 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.17-1
  521. - new upstream release.
  522. * Wed Jan 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.16-1
  523. - new upstream release.
  524. * Wed Nov 26 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.15-1
  525. - new upstream release.
  526. - enabled bundled Mroonga.
  527. * Mon Sep 29 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.14-1
  528. - new upstream release.
  529. * Sat May 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.11-1
  530. - new upstream release.
  531. * Sun Apr 13 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.10-2
  532. - fixed Conflicts: and Obsoletes:.
  533. * Mon Mar 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.10-1
  534. - new upstream release.
  535. * Mon Mar 24 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.9-1
  536. - new upstream release.
  537. * Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.8-1
  538. - new upstream release.
  539. * Sat Dec 07 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.6-2
  540. - removed duplicated files.
  541. * Wed Dec 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.6-1
  542. - switched to MariaDB.
  543. * Wed Feb 20 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.30-1
  544. - new upstream release.
  545. * Fri Nov 16 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.28-1
  546. - new upstream release.
  547. * Sat Sep 15 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.27-1
  548. - new upstream release.
  549. - added a sub-package 'MySQL-source".
  550. - added some macros for rpm.
  551. * Thu Jun 21 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.25-1
  552. - new upstream release.
  553. * Thu May 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.24-1
  554. - new upstream release.
  555. * Tue May 01 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.23-1
  556. - new upstream release.
  557. - added "Vendor:" and "Distribution:" tag.
  558. * Tue Aug 23 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.15-1
  559. - new upstream release.
  560. - removed NDB cluster support.
  561. * Mon Apr 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-3
  562. - Added "BR: zlib-devel" to MySQL-devel.
  563. * Sun Apr 03 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-2
  564. - Added "BR: openssl-devel" to MySQL-devel.
  565. * Fri Mar 11 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-1
  566. - new upstream release.
  567. * Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.54-1
  568. - new upstream release.
  569. - updated jp-patch.
  570. - added ssl support.
  571. * Sat Nov 06 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.52-1
  572. - new upstream release.
  573. - replaced '%%__find_requires' to '%%__perl_requires'.
  574. - updated jp-patch.
  575. * Fri Oct 29 2010 Shu KONNO <owa@bg.wakwak.com> 5.1.44-3
  576. - added mysql-5.1.44-lib64.patch (on x86_64)
  577. - added -fPIC (on x86_64)
  578. * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.44-2
  579. - made embedded package again
  580. * Fri Mar 05 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.44-1
  581. - new upstream release.
  582. - updated jp-patch.
  583. * Thu Feb 04 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-2
  584. - VineSeed: rebuilt with new toolchain.
  585. * Wed Feb 03 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-1
  586. - new upstream release.
  587. - fixed CVE-2009-4484.
  588. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.41-1
  589. - new upstream release.
  590. * Thu Nov 19 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-2
  591. - added net-tools to 'Requires'.
  592. - added groff to 'BuildRequires'.
  593. - renamed subpackage 'MySQL-shared' to 'libmysqlclient16' (VineSeed only).
  594. * Tue Nov 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-1
  595. - new upstream release.
  596. * Sat Sep 26 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.39-1
  597. - new upstream release.
  598. * Sun Jul 5 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.36-1
  599. - new upstream release.
  600. - dropped %%Patch100 (fixed in upstream).
  601. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.35-1
  602. - new upstream release.
  603. - add %%Patch100 (no longer needed for MySQL-5.1.36 or later).
  604. * Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.34-1
  605. - new upstream release.
  606. - rename 'MySQL-bench' to 'MySQL-test'.
  607. - update Patch0.
  608. - change default charset to 'utf8'.
  609. * Sat Apr 12 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.51a-1
  610. - new upstream release.
  611. - update Patch0.
  612. - add "--with-client-charset=ujis".
  613. - sync %%files to official RPM.
  614. - remove MySQL-Max.
  615. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl7
  616. - for VineSeed
  617. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl6
  618. - move shared library from /usr/lib/ to /usr/lib/mysql/
  619. - add /etc/ld.so.conf.d/*.conf
  620. - fix broken libmysqlcient*.la files (or should we remove them permanently?)
  621. * Sat Jun 16 2007 IWAI, Masaharu <iwai@alib.jp> 5.0.27-0vl5
  622. - rebuild <BTS:VineLinux:534>
  623. * Mon Nov 13 2006 NAKAMURA Kenta <kenta@vinelinux.org> 5.0.27-0vl4
  624. - added -fPIC
  625. * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl3
  626. - fixed dependency. <BTS:338>
  627. * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl2
  628. - add %%Patch1. <BTS:320>
  629. * Sat Oct 28 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl1
  630. - new upstream release.
  631. * Fri Oct 27 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.26-0vl1
  632. - new upstream release.
  633. * Sat Jun 3 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.22-0vl1
  634. - new upstream release.
  635. * Sat May 13 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl1
  636. - release++.
  637. * Wed May 10 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl0
  638. - new upstream release.
  639. - for VineSeed.
  640. * Wed Feb 8 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.16-0vl0
  641. - new upstream release.
  642. - replace Patch0 for MySQL-4.1.16.
  643. * Thu Oct 6 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.14-0vl0
  644. - new upstream release.
  645. - add Patch0.
  646. * Tue Sep 6 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.25-0vl0
  647. - new upstream version
  648. -- mysql-4.0.25
  649. * Fri Jan 21 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.23-0vl0
  650. - new upstream version
  651. -- mysql-4.0.23
  652. * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.22-0vl0
  653. - new upstream version
  654. -- mysql-4.0.22
  655. * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.21-0vl1
  656. - new upstream version
  657. -- mysql-4.0.21
  658. * Fri May 21 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.20-0vl1
  659. - new upstream version
  660. -- mysql-4.0.20
  661. * Tue May 04 2004 Tomoya TAKA <taka@vinelinux.org> 4.0.18-0vl2
  662. - modify CFLAGS, CXXFLAGS and configure options for alpha
  663. * Tue Mar 23 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.18-0vl1
  664. - Upgraded to MySQL-4
  665. - added "with-charset=ujis" and "without-readline" to configure (vineseed-plus-02150)
  666. - merged to MySQL Official packages
  667. -- renamed package "MySQL" to "MySQL-server"
  668. -- when using gcc, _always_ use CXX=gcc
  669. -- replaced Copyright with License field (Copyright is obsolete)
  670. -- added myisam_ftdump to the Server package
  671. -- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
  672. -- fixed file permissions (BUG 1672)
  673. -- removed dependency on MySQL-client from the MySQL-devel subpackage
  674. -- as it is not really required. (BUG 1610)
  675. -- Fixed BUG 1162 (removed macro names from the changelog)
  676. -- Really fixed BUG 998 (disable the checking for installed but
  677. -- unpackaged files)
  678. -- Fixed BUG 959 (libmysqld not being compiled properly)
  679. -- Fixed BUG 998 (RPM build errors): added missing files to the
  680. -- distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
  681. -- mysql_fix_privilege_tables.1), removed "-n" from install section.
  682. -- removed the GIF Icon (file was not included in the sources anyway)
  683. -- removed unused variable shared_lib_version
  684. -- do not run automake before building the standard binary
  685. -- (should not be necessary)
  686. -- add server suffix '-standard' to standard binary (to be in line
  687. -- with the binary tarball distributions)
  688. -- allow overriding CC and CXX (required when building
  689. -- with other compilers)
  690. * Mon Apr 14 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.23.56-0vl5
  691. - added BuildRequires: automake16
  692. * Thu Apr 03 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl3
  693. - add '-fPIC -DPIC' to CFLAGS on alpha
  694. - little fix of spec file
  695. * Thu Mar 27 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl2
  696. - enable MySQL-shared subpackage for alpha
  697. - delete 'BuildPrereq: kernel24-headers' for alpha
  698. - fix shared %files (exclude sparc)
  699. * Tue Mar 18 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.56-0vl1
  700. - new upstream version
  701. * Sun Mar 9 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.23.55-0vl2
  702. - fixed devel %files (dropped *.la files)
  703. * Tue Jan 28 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.55-0vl1
  704. - new upstream version
  705. - fixed document permission
  706. * Sat Dec 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.54a-0vl1
  707. - new upstream version
  708. * Sat Oct 19 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl2
  709. - dropped MySQL-Max sub-pakage for sparc/sparc64/alpha
  710. -- don't work
  711. * Wed Oct 16 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl1
  712. - new upstream version
  713. - diseble-assembler in configure on sparc,sparc64,alpha
  714. * Wed Aug 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.52-0vl1
  715. - new upstream version
  716. - moved some man files to main package
  717. - added enable-local-infile in configure
  718. - changed --with-extra-charsets=all in configure
  719. * Fri Jun 14 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl2
  720. - fixed changelog
  721. * Thu Jun 13 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl1
  722. - updated to mysql-3.23.51
  723. * Fri Mar 15 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl2
  724. - rebuild on zlib-1.1.4(security fix.)
  725. * Mon Feb 18 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl1
  726. - updated to mysql-2.23.49
  727. * Tue Feb 12 2002 Tomoya TAKA <taka@vinelinux.org> 3.23.48-0vl2
  728. - add 'BuildPrereq: kernel24-headers' on alpha
  729. - remove shared library and max on alpha
  730. * Tue Feb 12 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.48-0vl1
  731. - updated to mysql-3.23.48
  732. * Thu Jan 03 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.47-0vl1
  733. - updated to mysql-3.23.47
  734. * Wed Dec 05 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.46-0vl1
  735. - updated to mysql-3.23.46
  736. * Thu Nov 29 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.45-0vl1
  737. - updated to mysql-3.23.45
  738. * Mon Nov 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.44-0vl1
  739. - updated to mysql-3.23.44
  740. * Sat Oct 13 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.43-0vl1
  741. - updated to mysql-3.23.43
  742. - removed shared library and max on sparc
  743. * Wed Sep 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.42-0vl1
  744. - updated to mysql-3.23.42
  745. - changed MYSQL_BUILD_CC: and MYSQL_BUILD_XCC: to -gcc
  746. * Thu Aug 30 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.41-0vl1
  747. - updated to mysql-3.23.41
  748. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.40-0vl1
  749. - updated to mysql-3.23.40
  750. * Tue Jul 10 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.39-0vl1
  751. - updated to mysql-3.23.39
  752. * Fri Jun 15 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2
  753. - added configure --with-charset=ujis
  754. * Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2
  755. - used some rpmmacro
  756. * Fri May 25 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl1
  757. - updated to MySQL-3.23.38
  758. * Thu Dec 07 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl2
  759. - removed Bench pakages
  760. * Tue Dec 05 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl1
  761. - removed pt_BR locale
  762. - build on Vine Linux
  763. - partially used rpmmacros
  764. - added %clean tag
  765. * Fri Aug 18 2000 Tim Smith <tim@mysql.com>
  766. - Added separate libmysql_r directory; now both a threaded
  767. and non-threaded library is shipped.
  768. * Tue Sep 28 1999 David Axmark <davida@mysql.com>
  769. - Added the support-files/my-example.cnf to the docs directory.
  770. - Removed devel dependency on base since it is about client
  771. development.
  772. * Wed Sep 8 1999 David Axmark <davida@mysql.com>
  773. - Cleaned up some for 3.23.
  774. * Thu Jul 1 1999 David Axmark <davida@mysql.com>
  775. - Added support for shared libraries in a separate sub
  776. package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
  777. - The --enable-assembler switch is now automatically disables on
  778. platforms there assembler code is unavailable. This should allow
  779. building this RPM on non i386 systems.
  780. * Mon Feb 22 1999 David Axmark <david@detron.se>
  781. - Removed unportable cc switches from the spec file. The defaults can
  782. now be overridden with environment variables. This feature is used
  783. to compile the official RPM with optimal (but compiler version
  784. specific) switches.
  785. - Removed the repetitive description parts for the sub rpms. Maybe add
  786. again if RPM gets a multiline macro capability.
  787. - Added support for a pt_BR translation. Translation contributed by
  788. Jorge Godoy <jorge@bestway.com.br>.
  789. * Wed Nov 4 1998 David Axmark <david@detron.se>
  790. - A lot of changes in all the rpm and install scripts. This may even
  791. be a working RPM :-)
  792. * Sun Aug 16 1998 David Axmark <david@detron.se>
  793. - A developers changelog for MySQL is available in the source RPM. And
  794. there is a history of major user visible changed in the Reference
  795. Manual. Only RPM specific changes will be documented here.