MySQL-vl.spec 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105
  1. %define mysqld_user mysql
  2. %define mysqld_group mysql
  3. %define server_suffix -community
  4. %define mysqldatadir /var/lib/mysql
  5. %{?_with_static:%define STATIC_BUILD 1}
  6. %{!?_with_static:%define STATIC_BUILD 0}
  7. # Working around perl dependency problem
  8. %define __perl_requires %{SOURCE998}
  9. # We don't package all files installed into the build root by intention -
  10. # See BUG#998 for details.
  11. %define _unpackaged_files_terminate_build 0
  12. %define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
  13. %define mysql_version 5.1.54
  14. %define client_version 16
  15. %if %{?_dist_release}!="vl5"
  16. %define libpkgname libmysqlclient%{client_version}
  17. %else
  18. %define libpkgname MySQL-shared
  19. %endif
  20. Packager: tomop
  21. Name: MySQL
  22. Summary: MySQL: a very fast and reliable SQL database server
  23. Version: %{mysql_version}
  24. Release: 1%{_dist_release}
  25. Group: Applications/Databases
  26. # exceptions allow client libraries to be linked with most open source SW,
  27. # not only GPL code.
  28. License: GPLv2 with exceptions
  29. URL: http://www.mysql.com/
  30. Source: mysql-%{version}.tar.gz
  31. # Don't depend on lib::mtr*
  32. Source998: perl-requires-%{name}.sh
  33. Patch0: mysql-5.1.54-jp-all.patch
  34. # lib64 patch for vine
  35. Patch200: pysql-5.1.44-lib64.patch
  36. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  37. BuildRequires: perl, readline-devel
  38. BuildRequires: gcc-c++, ncurses-devel, zlib-devel, openssl-devel
  39. BuildRequires: groff, libtool, automake
  40. Requires: fileutils sh-utils
  41. Provides: msqlormysql MySQL-server mysql
  42. Obsoletes: mysql MySQL5
  43. # From the manual
  44. %description
  45. The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
  46. and robust SQL (Structured Query Language) database server. MySQL Server
  47. is intended for mission-critical, heavy-load production systems as well
  48. as for embedding into mass-deployed software. MySQL is a trademark of
  49. Sun Microsystems, Inc.
  50. Copyright 2000-2008 MySQL AB, 2009 Sun Microsystems, Inc. All rights reserved.
  51. Use is subject to license terms.
  52. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  53. and you are welcome to modify and redistribute it under the GPL license.
  54. The MySQL web site (http://www.mysql.com/) provides the latest
  55. news and information about the MySQL software. Also please see the
  56. documentation and the manual for more information.
  57. %package server
  58. Release: %{release}
  59. Summary: MySQL: a very fast and reliable SQL database server
  60. Group: Applications/Databases
  61. Requires: fileutils sh-utils net-tools
  62. Provides: msqlormysql mysql-server mysql MySQL MySQL5-server
  63. Obsoletes: MySQL mysql mysql-server MySQL5-server MySQL-Max
  64. %description server
  65. The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
  66. and robust SQL (Structured Query Language) database server. MySQL Server
  67. is intended for mission-critical, heavy-load production systems as well
  68. as for embedding into mass-deployed software. MySQL is a trademark of
  69. Sun Microsystems, Inc.
  70. Copyright 2000-2008 MySQL AB, 2009 Sun Microsystems, Inc. All rights reserved.
  71. Use is subject to license terms.
  72. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  73. and you are welcome to modify and redistribute it under the GPL license.
  74. The MySQL web site (http://www.mysql.com/) provides the latest
  75. news and information about the MySQL software. Also please see the
  76. documentation and the manual for more information.
  77. This package includes the MySQL server binary (incl. InnoDB) as well
  78. as related utilities to run and administrate a MySQL server.
  79. If you want to access and work with the database, you have to install
  80. package "MySQL-client" as well!
  81. %package client
  82. Summary: MySQL - Client
  83. Group: Applications/Databases
  84. Obsoletes: mysql-client MySQL5-client
  85. Provides: mysql-client MySQL5-client
  86. %description client
  87. This package contains the standard MySQL clients and administration tools.
  88. %{see_base}
  89. %package ndb-storage
  90. Summary: MySQL - ndbcluster storage engine
  91. Group: Applications/Databases
  92. %description ndb-storage
  93. This package contains the ndbcluster storage engine.
  94. It is necessary to have this package installed on all
  95. computers that should store ndbcluster table data.
  96. Note that this storage engine can only be used in conjunction
  97. with the MySQL Max server.
  98. %{see_base}
  99. %package ndb-management
  100. Summary: MySQL - ndbcluster storage engine management
  101. Group: Applications/Databases
  102. %description ndb-management
  103. This package contains ndbcluster storage engine management.
  104. It is necessary to have this package installed on at least
  105. one computer in the cluster.
  106. %{see_base}
  107. %package ndb-tools
  108. Summary: MySQL - ndbcluster storage engine basic tools
  109. Group: Applications/Databases
  110. %description ndb-tools
  111. This package contains ndbcluster storage engine basic tools.
  112. %{see_base}
  113. %package ndb-extra
  114. Summary: MySQL - ndbcluster storage engine extra tools
  115. Group: Applications/Databases
  116. %description ndb-extra
  117. This package contains some extra ndbcluster storage engine tools for the advanced user.
  118. They should be used with caution.
  119. %{see_base}
  120. %package test
  121. Requires: %{name}-client = %{version}-%{release} perl-DBI perl
  122. Summary: MySQL - Test suite
  123. Group: Applications/Databases
  124. Obsoletes: mysql-bench MySQL5-bench MySQL-bench
  125. %description test
  126. This package contains the MySQL regression test suite.
  127. %{see_base}
  128. %package devel
  129. Summary: MySQL - Development header files and libraries
  130. Group: Development/Libraries
  131. Requires: %{libpkgname} = %{version}-%{release}
  132. Provides: mysql-devel MySQL5-devel
  133. Obsoletes: mysql-devel MySQL5-devel
  134. %description devel
  135. This package contains the development header files and libraries
  136. necessary to develop MySQL client applications.
  137. %{see_base}
  138. %package -n %{libpkgname}
  139. Summary: The shared libraries required for MySQL clients
  140. Group: System Environment/Libraries
  141. %if %{?_dist_release}!="vl5"
  142. Obsoletes: MySQL-shared < %{version}
  143. %endif
  144. %description -n %{libpkgname}
  145. This package contains the shared libraries (*.so*) which certain
  146. languages and applications need to dynamically load and use MySQL.
  147. %package embedded
  148. Summary: MySQL as an embeddable library
  149. Group: System Environment/Libraries
  150. Obsoletes: mysql-embedded MySQL5-embedded
  151. Provides: mysql-embedded MySQL5-embedded
  152. %description embedded
  153. MySQL is a multi-user, multi-threaded SQL database server. This
  154. package contains a version of the MySQL server that can be embedded
  155. into a client application instead of running as a separate process.
  156. %{see_base}
  157. %package embedded-devel
  158. Summary: Development files for MySQL as an embeddable library
  159. Group: Development/Libraries
  160. Requires: %{name}-embedded = %{version}-%{release}
  161. Requires: %{name}-devel = %{version}-%{release}
  162. %description embedded-devel
  163. MySQL is a multi-user, multi-threaded SQL database server. This
  164. package contains files needed for developing and testing with
  165. the embedded version of the MySQL server.
  166. %{see_base}
  167. %prep
  168. %setup -q -T -a 0 -c -n mysql-%{mysql_version}
  169. mv mysql-%{mysql_version} mysql-debug-%{mysql_version}
  170. pushd mysql-debug-%{mysql_version}
  171. %patch0 -p1 -b .jp
  172. %if %{_lib} == lib64
  173. %patch200 -p0 -b .lib64
  174. %endif
  175. aclocal
  176. autoheader
  177. libtoolize --automake --force
  178. automake --add-missing --copy
  179. autoconf
  180. perl -pi -e 's/-Werror"/"/' configure
  181. popd
  182. %setup -q -D -T -a 0 -n mysql-%{mysql_version}
  183. mv mysql-%{mysql_version} mysql-release-%{mysql_version}
  184. pushd mysql-release-%{mysql_version}
  185. %patch0 -p1 -b .jp
  186. %if %{_lib} == lib64
  187. %patch200 -p0 -b .lib64
  188. %endif
  189. aclocal
  190. autoheader
  191. libtoolize --automake --force
  192. automake --add-missing --copy
  193. autoconf
  194. perl -pi -e 's/-Werror"/"/' configure
  195. popd
  196. %build
  197. BuildMySQL() {
  198. # The --enable-assembler simply does nothing on systems that does not
  199. # support assembler speedups.
  200. sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
  201. CC=\"${CC:-$MYSQL_BUILD_CC}\" \
  202. CXX=\"${CXX:-$MYSQL_BUILD_CXX}\" \
  203. %ifarch x86_64
  204. CFLAGS=\"$CFLAGS -fPIC\" \
  205. CXXFLAGS=\"$CXXFLAGS -fPIC\" \
  206. %else
  207. CFLAGS=\"$CFLAGS\" \
  208. CXXFLAGS=\"$CXXFLAGS\" \
  209. %endif
  210. LDFLAGS=\"$MYSQL_BUILD_LDFLAGS\" \
  211. ./configure \
  212. $* \
  213. --with-mysqld-ldflags='-static' \
  214. --with-client-ldflags='-static' \
  215. --with-zlib-dir=/usr \
  216. --enable-silent-rules \
  217. --enable-assembler \
  218. --enable-local-infile \
  219. --with-fast-mutexes \
  220. --with-mysqld-user=%{mysqld_user} \
  221. --with-unix-socket-path=/var/lib/mysql/mysql.sock \
  222. --with-pic \
  223. --prefix=/ \
  224. --with-extra-charsets=all \
  225. --exec-prefix=%{_exec_prefix} \
  226. --libexecdir=%{_sbindir} \
  227. --libdir=%{_libdir} \
  228. --sysconfdir=%{_sysconfdir} \
  229. --datadir=%{_datadir} \
  230. --localstatedir=%{mysqldatadir} \
  231. --infodir=%{_infodir} \
  232. --includedir=%{_includedir} \
  233. --mandir=%{_mandir} \
  234. --enable-thread-safe-client \
  235. --with-readline \
  236. --with-innodb \
  237. --with-ndbcluster \
  238. --with-archive-storage-engine \
  239. --with-csv-storage-engine \
  240. --with-blackhole-storage-engine \
  241. --with-federated-storage-engine \
  242. --with-partition \
  243. --with-big-tables \
  244. --enable-shared \
  245. --with-comment=\"VineLinux MySQL RPM\" \
  246. --with-charset=utf8 \
  247. --with-client-charset=utf8 \
  248. --with-ssl=/usr \
  249. "
  250. make %{?_smp_mflags}
  251. }
  252. # end of function definition "BuildMySQL"
  253. # Use the build root for temporary storage of the shared libraries.
  254. RBR=$RPM_BUILD_ROOT
  255. # Clean up the BuildRoot first
  256. [ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR;
  257. mkdir -p $RBR%{_libdir}/mysql
  258. #
  259. # Use MYSQL_BUILD_PATH so that we can use a dedicated version of gcc
  260. #
  261. PATH=${MYSQL_BUILD_PATH:-/bin:/usr/bin}
  262. export PATH
  263. # Build the Debug binary.
  264. # Use gcc for C and C++ code (to avoid a dependency on libstdc++ and
  265. # including exceptions into the code
  266. if [ -z "$CXX" -a -z "$CC" ]
  267. then
  268. export CC="gcc"
  269. export CXX="gcc"
  270. fi
  271. # Prepare compiler flags
  272. CFLAGS=${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS}
  273. CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti }
  274. ##############################################################################
  275. #
  276. # Build the debug version
  277. #
  278. ##############################################################################
  279. (
  280. # We are in a subshell, so we can modify variables just for one run.
  281. CFLAGS=`echo " $CFLAGS " | \
  282. sed -e 's/ -O[0-9]* / /' -e 's/ -unroll2 / /' -e 's/ -ip / /' \
  283. -e 's/^ //' -e 's/ $//'`
  284. CXXFLAGS=`echo " $CXXFLAGS " | \
  285. sed -e 's/ -O[0-9]* / /' -e 's/ -unroll2 / /' -e 's/ -ip / /' \
  286. -e 's/^ //' -e 's/ $//'`
  287. # Add -g and --with-debug.
  288. cd mysql-debug-%{mysql_version} &&
  289. CFLAGS="$CFLAGS" \
  290. CXXFLAGS="$CXXFLAGS" \
  291. BuildMySQL --with-debug
  292. )
  293. # We might want to save the config log file
  294. if test -n "$MYSQL_DEBUGCONFLOG_DEST"
  295. then
  296. cp -fp mysql-debug-%{mysql_version}/config.log "$MYSQL_DEBUGCONFLOG_DEST"
  297. fi
  298. #(cd mysql-debug-%{mysql_version} ; make test-bt-debug)
  299. ##############################################################################
  300. #
  301. # Build the release binary
  302. #
  303. ##############################################################################
  304. (cd mysql-release-%{mysql_version} &&
  305. CFLAGS="$CFLAGS" \
  306. CXXFLAGS="$CXXFLAGS" \
  307. BuildMySQL --with-embedded-server
  308. )
  309. pushd mysql-release-%{mysql_version}
  310. # regular build will make libmysqld.a but not libmysqld.so :-(
  311. mkdir libmysqld/work
  312. cd libmysqld/work
  313. ar -x ../libmysqld.a
  314. # remove object file to avoid multiple definition error (is it a bug?)
  315. rm -f libfederated_a-ha_federated.o
  316. gcc $CFLAGS $LDFLAGS -shared -Wl,-soname,libmysqld.so.0 -o libmysqld.so.0.0.1 \
  317. *.o \
  318. -lpthread -lcrypt -lnsl -lssl -lcrypto -lz -lrt -lstdc++ -lm -lc
  319. popd
  320. # We might want to save the config log file
  321. if test -n "$MYSQL_CONFLOG_DEST"
  322. then
  323. cp -fp mysql-release-%{mysql_version}/config.log "$MYSQL_CONFLOG_DEST"
  324. fi
  325. #(cd mysql-release-%{mysql_version} ; make test-bt)
  326. %install
  327. RBR=$RPM_BUILD_ROOT
  328. MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-release-%{mysql_version}
  329. rm -rf $RBR
  330. # Ensure that needed directories exists
  331. install -d $RBR%{_sysconfdir}/{logrotate.d,init.d}
  332. install -d $RBR%{mysqldatadir}/mysql
  333. install -d $RBR%{_datadir}/mysql-test
  334. install -d $RBR%{_includedir}
  335. install -d $RBR%{_libdir}
  336. install -d $RBR%{_mandir}
  337. install -d $RBR%{_sbindir}
  338. # Install all binaries
  339. (cd $MBD && make install DESTDIR=$RBR benchdir_root=%{_datadir})
  340. # Old packages put shared libs in %{_libdir}/ (not %{_libdir}/mysql), so do
  341. # the same here.
  342. #mv $RBR/%{_libdir}/mysql/*.so* $RBR/%{_libdir}/
  343. rm -rf $RBR/mysql-test
  344. ##############################################################################
  345. # Include libgcc.a in the devel subpackage (BUG 4921)
  346. if [ -z "$CXX" -a -z "$CC" ]
  347. then
  348. export CC="gcc"
  349. export CXX="gcc"
  350. fi
  351. if expr "$CC" : ".*gcc.*" > /dev/null ;
  352. then
  353. libgcc=`$CC $CFLAGS --print-libgcc-file`
  354. if [ -f $libgcc ]
  355. then
  356. %define have_libgcc 1
  357. install -m 644 $libgcc $RBR%{_libdir}/mysql/libmygcc.a
  358. fi
  359. fi
  360. ##############################################################################
  361. # install libmysqld.so
  362. install -m 0755 $MBD/libmysqld/work/libmysqld.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/mysql/libmysqld.so.0.0.1
  363. ln -s libmysqld.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/mysql/libmysqld.so.0
  364. ln -s libmysqld.so.0 $RPM_BUILD_ROOT%{_libdir}/mysql/libmysqld.so
  365. # install "mysqld-debug"
  366. $MBD/libtool --mode=execute install -m 755 \
  367. $RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-debug-%{mysql_version}/sql/mysqld \
  368. $RBR%{_sbindir}/mysqld-debug
  369. # install saved perror binary with NDB support (BUG#13740)
  370. install -m 755 $MBD/extra/perror $RBR%{_bindir}/perror
  371. # Install logrotate and autostart
  372. install -m 644 $MBD/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql
  373. install -m 755 $MBD/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql
  374. # in RPMs, it is unlikely that anybody should use "sql-bench"
  375. rm -fr $RBR%{_datadir}/sql-bench
  376. # Create a symlink "rcmysql", pointing to the init.script. SuSE users
  377. # will appreciate that, as all services usually offer this.
  378. ln -s %{_sysconfdir}/init.d/mysql $RPM_BUILD_ROOT%{_sbindir}/rcmysql
  379. # Touch the place where the my.cnf config file and mysqlmanager.passwd
  380. # (MySQL Instance Manager password file) might be located
  381. # Just to make sure it's in the file list and marked as a config file
  382. touch $RBR%{_sysconfdir}/my.cnf
  383. touch $RBR%{_sysconfdir}/mysqlmanager.passwd
  384. mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
  385. echo "%{_libdir}/mysql" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/libmysqlclient%{client_version}-%{_arch}.conf
  386. %pre server
  387. # Shut down a previously installed server first
  388. if test -x %{_sysconfdir}/init.d/mysql
  389. then
  390. %{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1
  391. echo "Giving mysqld a couple of seconds to exit nicely"
  392. sleep 5
  393. elif test -x %{_sysconfdir}/rc.d/init.d/mysql
  394. then
  395. %{_sysconfdir}/rc.d/init.d/mysql stop > /dev/null 2>&1
  396. echo "Giving mysqld a couple of seconds to exit nicely"
  397. sleep 5
  398. fi
  399. %post server
  400. mysql_datadir=%{mysqldatadir}
  401. # Create data directory if needed
  402. if test ! -d $mysql_datadir; then mkdir -m 755 $mysql_datadir; fi
  403. if test ! -d $mysql_datadir/mysql; then mkdir $mysql_datadir/mysql; fi
  404. if test ! -d $mysql_datadir/test; then mkdir $mysql_datadir/test; fi
  405. # Make MySQL start/shutdown automatically when the machine does it.
  406. # use insserv for older SuSE Linux versions
  407. if test -x /sbin/insserv
  408. then
  409. /sbin/insserv %{_sysconfdir}/init.d/mysql
  410. # use chkconfig on Red Hat and newer SuSE releases
  411. elif test -x /sbin/chkconfig
  412. then
  413. /sbin/chkconfig --add mysql
  414. fi
  415. # Create a MySQL user and group. Do not report any problems if it already
  416. # exists.
  417. groupadd -r %{mysqld_group} 2> /dev/null || true
  418. useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
  419. # The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
  420. usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
  421. # Change permissions so that the user that will run the MySQL daemon
  422. # owns all database files.
  423. chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
  424. # Initiate databases if needed
  425. %{_bindir}/mysql_install_db --rpm --user=%{mysqld_user}
  426. # Upgrade databases if needed would go here - but it cannot be automated yet
  427. # Change permissions again to fix any new files.
  428. chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
  429. # Fix permissions for the permission database so that only the user
  430. # can read them.
  431. chmod -R og-rw $mysql_datadir/mysql
  432. # Restart in the same way that mysqld will be started normally.
  433. %{_sysconfdir}/init.d/mysql start
  434. # Allow mysqld_safe to start mysqld and print a message before we exit
  435. sleep 2
  436. #echo "Thank you for installing the MySQL Community Server! For Production
  437. #systems, we recommend MySQL Enterprise, which contains enterprise-ready
  438. #software, intelligent advisory services, and full production support with
  439. #scheduled service packs and more. Visit www.mysql.com/enterprise for more
  440. #information."
  441. %post ndb-storage
  442. mysql_clusterdir=/var/lib/mysql-cluster
  443. # Create cluster directory if needed
  444. if test ! -d $mysql_clusterdir; then mkdir -m 755 $mysql_clusterdir; fi
  445. %preun server
  446. if test $1 = 0
  447. then
  448. # Stop MySQL before uninstalling it
  449. if test -x %{_sysconfdir}/init.d/mysql
  450. then
  451. %{_sysconfdir}/init.d/mysql stop > /dev/null
  452. # Remove autostart of mysql
  453. # for older SuSE Linux versions
  454. if test -x /sbin/insserv
  455. then
  456. /sbin/insserv -r %{_sysconfdir}/init.d/mysql
  457. # use chkconfig on Red Hat and newer SuSE releases
  458. elif test -x /sbin/chkconfig
  459. then
  460. /sbin/chkconfig --del mysql
  461. fi
  462. fi
  463. fi
  464. # We do not remove the mysql user since it may still own a lot of
  465. # database files.
  466. %post -n %{libpkgname}
  467. /sbin/ldconfig
  468. %postun -n %{libpkgname}
  469. /sbin/ldconfig
  470. # Clean up the BuildRoot
  471. %clean
  472. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  473. %files server
  474. %defattr(-,root,root,0755)
  475. %doc mysql-release-%{mysql_version}/COPYING mysql-release-%{mysql_version}/README
  476. %doc mysql-release-%{mysql_version}/support-files/my-*.cnf
  477. %doc mysql-release-%{mysql_version}/support-files/ndb-*.ini
  478. %doc %attr(644, root, root) %{_infodir}/mysql.info*
  479. %doc %attr(644, root, man) %{_mandir}/man1/innochecksum.1*
  480. %doc %attr(644, root, man) %{_mandir}/man1/my_print_defaults.1*
  481. %doc %attr(644, root, man) %{_mandir}/man1/myisam_ftdump.1*
  482. %doc %attr(644, root, man) %{_mandir}/man1/myisamchk.1*
  483. %doc %attr(644, root, man) %{_mandir}/man1/myisamlog.1*
  484. %doc %attr(644, root, man) %{_mandir}/man1/myisampack.1*
  485. %doc %attr(644, root, man) %{_mandir}/man8/mysqld.8*
  486. %doc %attr(644, root, man) %{_mandir}/man1/mysqld_multi.1*
  487. %doc %attr(644, root, man) %{_mandir}/man1/mysqld_safe.1*
  488. %doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_privilege_tables.1*
  489. %doc %attr(644, root, man) %{_mandir}/man1/mysql_install_db.1*
  490. %doc %attr(644, root, man) %{_mandir}/man1/mysql_upgrade.1*
  491. %doc %attr(644, root, man) %{_mandir}/man1/mysqlhotcopy.1*
  492. %doc %attr(644, root, man) %{_mandir}/man1/mysqlman.1*
  493. %doc %attr(644, root, man) %{_mandir}/man8/mysqlmanager.8*
  494. %doc %attr(644, root, man) %{_mandir}/man1/mysql.server.1*
  495. %doc %attr(644, root, man) %{_mandir}/man1/mysqltest.1*
  496. %doc %attr(644, root, man) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
  497. %doc %attr(644, root, man) %{_mandir}/man1/mysql_zap.1*
  498. %doc %attr(644, root, man) %{_mandir}/man1/mysqlbug.1*
  499. %doc %attr(644, root, man) %{_mandir}/man1/perror.1*
  500. %doc %attr(644, root, man) %{_mandir}/man1/replace.1*
  501. %doc %attr(644, root, man) %{_mandir}/man1/mysql_convert_table_format.1*
  502. %doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_extensions.1*
  503. %doc %attr(644, root, man) %{_mandir}/man1/mysql_secure_installation.1*
  504. %doc %attr(644, root, man) %{_mandir}/man1/mysql_setpermission.1*
  505. %doc %attr(644, root, man) %{_mandir}/man1/mysqldumpslow.1*
  506. %doc %attr(644, root, man) %{_mandir}/man1/resolve_stack_dump.1*
  507. %doc %attr(644, root, man) %{_mandir}/man1/resolveip.1*
  508. %ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf
  509. %ghost %config(noreplace,missingok) %{_sysconfdir}/mysqlmanager.passwd
  510. %attr(755, root, root) %{_bindir}/innochecksum
  511. %attr(755, root, root) %{_bindir}/my_print_defaults
  512. %attr(755, root, root) %{_bindir}/myisam_ftdump
  513. %attr(755, root, root) %{_bindir}/myisamchk
  514. %attr(755, root, root) %{_bindir}/myisamlog
  515. %attr(755, root, root) %{_bindir}/myisampack
  516. %attr(755, root, root) %{_bindir}/mysql_convert_table_format
  517. %attr(755, root, root) %{_bindir}/mysql_fix_extensions
  518. %attr(755, root, root) %{_bindir}/mysql_fix_privilege_tables
  519. %attr(755, root, root) %{_bindir}/mysql_install_db
  520. %attr(755, root, root) %{_bindir}/mysql_secure_installation
  521. %attr(755, root, root) %{_bindir}/mysql_setpermission
  522. %attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
  523. %attr(755, root, root) %{_bindir}/mysql_upgrade
  524. %attr(755, root, root) %{_bindir}/mysql_zap
  525. %attr(755, root, root) %{_bindir}/mysqlbug
  526. %attr(755, root, root) %{_bindir}/mysqld_multi
  527. %attr(755, root, root) %{_bindir}/mysqld_safe
  528. %attr(755, root, root) %{_bindir}/mysqldumpslow
  529. %attr(755, root, root) %{_bindir}/mysqlhotcopy
  530. %attr(755, root, root) %{_bindir}/mysqltest
  531. %attr(755, root, root) %{_bindir}/perror
  532. %attr(755, root, root) %{_bindir}/replace
  533. %attr(755, root, root) %{_bindir}/resolve_stack_dump
  534. %attr(755, root, root) %{_bindir}/resolveip
  535. %attr(755, root, root) %{_sbindir}/mysqld
  536. %attr(755, root, root) %{_sbindir}/mysqld-debug
  537. %attr(755, root, root) %{_sbindir}/mysqlmanager
  538. %attr(755, root, root) %{_sbindir}/rcmysql
  539. %dir %attr(755, root, root) %{_libdir}/mysql/plugin
  540. %attr(755, root, root) %{_libdir}/mysql/plugin/*.so*
  541. %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
  542. %attr(755, root, root) %{_sysconfdir}/init.d/mysql
  543. %attr(755, root, root) %{_datadir}/mysql/
  544. %files client
  545. %defattr(-, root, root, 0755)
  546. %attr(755, root, root) %{_bindir}/msql2mysql
  547. %attr(755, root, root) %{_bindir}/mysql
  548. %attr(755, root, root) %{_bindir}/mysql_find_rows
  549. %attr(755, root, root) %{_bindir}/mysql_waitpid
  550. %attr(755, root, root) %{_bindir}/mysqlaccess
  551. %attr(755, root, root) %{_bindir}/mysqladmin
  552. %attr(755, root, root) %{_bindir}/mysqlbinlog
  553. %attr(755, root, root) %{_bindir}/mysqlcheck
  554. %attr(755, root, root) %{_bindir}/mysqldump
  555. %attr(755, root, root) %{_bindir}/mysqlimport
  556. %attr(755, root, root) %{_bindir}/mysqlshow
  557. %attr(755, root, root) %{_bindir}/mysqlslap
  558. %doc %attr(644, root, man) %{_mandir}/man1/msql2mysql.1*
  559. %doc %attr(644, root, man) %{_mandir}/man1/mysql.1*
  560. %doc %attr(644, root, man) %{_mandir}/man1/mysql_find_rows.1*
  561. %doc %attr(644, root, man) %{_mandir}/man1/mysqlaccess.1*
  562. %doc %attr(644, root, man) %{_mandir}/man1/mysqladmin.1*
  563. %doc %attr(644, root, man) %{_mandir}/man1/mysqlbinlog.1*
  564. %doc %attr(644, root, man) %{_mandir}/man1/mysqlcheck.1*
  565. %doc %attr(644, root, man) %{_mandir}/man1/mysqldump.1*
  566. %doc %attr(644, root, man) %{_mandir}/man1/mysqlimport.1*
  567. %doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1*
  568. %doc %attr(644, root, man) %{_mandir}/man1/mysqlslap.1*
  569. %files ndb-storage
  570. %defattr(-,root,root,0755)
  571. %attr(755, root, root) %{_sbindir}/ndbd
  572. %doc %attr(644, root, man) %{_mandir}/man8/ndbd.8*
  573. %files ndb-management
  574. %defattr(-,root,root,0755)
  575. %attr(755, root, root) %{_sbindir}/ndb_mgmd
  576. %doc %attr(644, root, man) %{_mandir}/man8/ndb_mgmd.8*
  577. %files ndb-tools
  578. %defattr(-,root,root,0755)
  579. %attr(755, root, root) %{_bindir}/ndb_config
  580. %attr(755, root, root) %{_bindir}/ndb_desc
  581. %attr(755, root, root) %{_bindir}/ndb_error_reporter
  582. %attr(755, root, root) %{_bindir}/ndb_mgm
  583. %attr(755, root, root) %{_bindir}/ndb_print_backup_file
  584. %attr(755, root, root) %{_bindir}/ndb_print_schema_file
  585. %attr(755, root, root) %{_bindir}/ndb_print_sys_file
  586. %attr(755, root, root) %{_bindir}/ndb_restore
  587. %attr(755, root, root) %{_bindir}/ndb_select_all
  588. %attr(755, root, root) %{_bindir}/ndb_select_count
  589. %attr(755, root, root) %{_bindir}/ndb_show_tables
  590. %attr(755, root, root) %{_bindir}/ndb_size.pl
  591. %attr(755, root, root) %{_bindir}/ndb_test_platform
  592. %attr(755, root, root) %{_bindir}/ndb_waiter
  593. %doc %attr(644, root, man) %{_mandir}/man1/ndb_config.1*
  594. %doc %attr(644, root, man) %{_mandir}/man1/ndb_desc.1*
  595. %doc %attr(644, root, man) %{_mandir}/man1/ndb_error_reporter.1*
  596. %doc %attr(644, root, man) %{_mandir}/man1/ndb_mgm.1*
  597. %doc %attr(644, root, man) %{_mandir}/man1/ndb_restore.1*
  598. %doc %attr(644, root, man) %{_mandir}/man1/ndb_print_backup_file.1*
  599. %doc %attr(644, root, man) %{_mandir}/man1/ndb_print_schema_file.1*
  600. %doc %attr(644, root, man) %{_mandir}/man1/ndb_print_sys_file.1*
  601. %doc %attr(644, root, man) %{_mandir}/man1/ndb_select_all.1*
  602. %doc %attr(644, root, man) %{_mandir}/man1/ndb_select_count.1*
  603. %doc %attr(644, root, man) %{_mandir}/man1/ndb_show_tables.1*
  604. %doc %attr(644, root, man) %{_mandir}/man1/ndb_size.pl.1*
  605. %doc %attr(644, root, man) %{_mandir}/man1/ndb_waiter.1*
  606. %files ndb-extra
  607. %defattr(-,root,root,0755)
  608. %attr(755, root, root) %{_bindir}/ndb_delete_all
  609. %attr(755, root, root) %{_bindir}/ndb_drop_index
  610. %attr(755, root, root) %{_bindir}/ndb_drop_table
  611. %attr(755, root, root) %{_sbindir}/ndb_cpcd
  612. %doc %attr(644, root, man) %{_mandir}/man1/ndb_delete_all.1*
  613. %doc %attr(644, root, man) %{_mandir}/man1/ndb_drop_index.1*
  614. %doc %attr(644, root, man) %{_mandir}/man1/ndb_drop_table.1*
  615. %doc %attr(644, root, man) %{_mandir}/man1/ndb_cpcd.1*
  616. %files devel
  617. %defattr(-, root, root, 0755)
  618. %doc mysql-release-%{mysql_version}/EXCEPTIONS-CLIENT
  619. %doc %attr(644, root, man) %{_mandir}/man1/mysql_config.1*
  620. %attr(755, root, root) %{_bindir}/mysql_config
  621. %dir %attr(755, root, root) %{_includedir}/mysql
  622. %dir %attr(755, root, root) %{_libdir}/mysql
  623. %{_includedir}/mysql/*
  624. %{_datadir}/aclocal/mysql.m4
  625. %{_libdir}/mysql/libmysql*.so
  626. %{_libdir}/mysql/libndb*.so
  627. #%{_libdir}/mysql/libdbug.a
  628. #%{_libdir}/mysql/libheap.a
  629. %if %{have_libgcc}
  630. %{_libdir}/mysql/libmygcc.a
  631. %endif
  632. #%{_libdir}/mysql/libmyisam.a
  633. #%{_libdir}/mysql/libmyisammrg.a
  634. #%{_libdir}/mysql/libmysqlclient.a
  635. #%{_libdir}/mysql/libmysqlclient_r.a
  636. #%{_libdir}/mysql/libmystrings.a
  637. #%{_libdir}/mysql/libmysys.a
  638. #%{_libdir}/mysql/libndbclient.a
  639. #%{_libdir}/mysql/libvio.a
  640. #%{_libdir}/mysql/libz.a
  641. %files -n %{libpkgname}
  642. %defattr(-, root, root, 0755)
  643. # Shared libraries (omit for architectures that don't support them)
  644. %{_libdir}/mysql/libmysql*.so.*
  645. %{_libdir}/mysql/libndb*.so.*
  646. %exclude %{_libdir}/mysql/libmysqld.so.*
  647. /etc/ld.so.conf.d/*
  648. %files test
  649. %defattr(-, root, root, 0755)
  650. %{_datadir}/mysql-test
  651. %{_bindir}/mysql_client_test
  652. %{_mandir}/man1/mysql_client_test.1*
  653. %{_mandir}/man1/mysql-stress-test.pl.1*
  654. %{_mandir}/man1/mysql-test-run.pl.1*
  655. %files embedded
  656. %defattr(-, root, root, 0755)
  657. %doc mysql-release-%{mysql_version}/{COPYING,EXCEPTIONS-CLIENT}
  658. %{_libdir}/mysql/libmysqld.so.*
  659. %files embedded-devel
  660. %defattr(-,root,root)
  661. %{_libdir}/mysql/libmysqld.so
  662. #{_libdir}/mysql/libmysqld.a
  663. %{_bindir}/mysql_client_test_embedded
  664. %{_bindir}/mysqltest_embedded
  665. %{_mandir}/man1/mysql_client_test_embedded.1*
  666. %{_mandir}/man1/mysqltest_embedded.1*
  667. %changelog
  668. * Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.54-1
  669. - new upstream release.
  670. - updated jp-patch.
  671. - added ssl support.
  672. * Sat Nov 06 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.52-1
  673. - new upstream release.
  674. - replaced '%%__find_requires' to '%%__perl_requires'.
  675. - updated jp-patch.
  676. * Fri Oct 29 2010 Shu KONNO <owa@bg.wakwak.com> 5.1.44-3
  677. - added mysql-5.1.44-lib64.patch (on x86_64)
  678. - added -fPIC (on x86_64)
  679. * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.44-2
  680. - made embedded package again
  681. * Fri Mar 05 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.44-1
  682. - new upstream release.
  683. - updated jp-patch.
  684. * Thu Feb 04 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-2
  685. - VineSeed: rebuilt with new toolchain.
  686. * Wed Feb 03 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-1
  687. - new upstream release.
  688. - fixed CVE-2009-4484.
  689. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.41-1
  690. - new upstream release.
  691. * Thu Nov 19 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-2
  692. - added net-tools to 'Requires'.
  693. - added groff to 'BuildRequires'.
  694. - renamed subpackage 'MySQL-shared' to 'libmysqlclient16' (VineSeed only).
  695. * Tue Nov 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-1
  696. - new upstream release.
  697. * Sat Sep 26 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.39-1
  698. - new upstream release.
  699. * Sun Jul 5 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.36-1
  700. - new upstream release.
  701. - dropped %%Patch100 (fixed in upstream).
  702. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.35-1
  703. - new upstream release.
  704. - add %%Patch100 (no longer needed for MySQL-5.1.36 or later).
  705. * Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.34-1
  706. - new upstream release.
  707. - rename 'MySQL-bench' to 'MySQL-test'.
  708. - update Patch0.
  709. - change default charset to 'utf8'.
  710. * Sat Apr 12 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.51a-1
  711. - new upstream release.
  712. - update Patch0.
  713. - add "--with-client-charset=ujis".
  714. - sync %%files to official RPM.
  715. - remove MySQL-Max.
  716. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl7
  717. - for VineSeed
  718. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl6
  719. - move shared library from /usr/lib/ to /usr/lib/mysql/
  720. - add /etc/ld.so.conf.d/*.conf
  721. - fix broken libmysqlcient*.la files (or should we remove them permanently?)
  722. * Sat Jun 16 2007 IWAI, Masaharu <iwai@alib.jp> 5.0.27-0vl5
  723. - rebuild <BTS:VineLinux:534>
  724. * Mon Nov 13 2006 NAKAMURA Kenta <kenta@vinelinux.org> 5.0.27-0vl4
  725. - added -fPIC
  726. * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl3
  727. - fixed dependency. <BTS:338>
  728. * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl2
  729. - add %%Patch1. <BTS:320>
  730. * Sat Oct 28 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl1
  731. - new upstream release.
  732. * Fri Oct 27 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.26-0vl1
  733. - new upstream release.
  734. * Sat Jun 3 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.22-0vl1
  735. - new upstream release.
  736. * Sat May 13 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl1
  737. - release++.
  738. * Wed May 10 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl0
  739. - new upstream release.
  740. - for VineSeed.
  741. * Wed Feb 8 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.16-0vl0
  742. - new upstream release.
  743. - replace Patch0 for MySQL-4.1.16.
  744. * Thu Oct 6 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.14-0vl0
  745. - new upstream release.
  746. - add Patch0.
  747. * Tue Sep 6 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.25-0vl0
  748. - new upstream version
  749. -- mysql-4.0.25
  750. * Fri Jan 21 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.23-0vl0
  751. - new upstream version
  752. -- mysql-4.0.23
  753. * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.22-0vl0
  754. - new upstream version
  755. -- mysql-4.0.22
  756. * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.21-0vl1
  757. - new upstream version
  758. -- mysql-4.0.21
  759. * Fri May 21 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.20-0vl1
  760. - new upstream version
  761. -- mysql-4.0.20
  762. * Tue May 04 2004 Tomoya TAKA <taka@vinelinux.org> 4.0.18-0vl2
  763. - modify CFLAGS, CXXFLAGS and configure options for alpha
  764. * Tue Mar 23 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.18-0vl1
  765. - Upgraded to MySQL-4
  766. - added "with-charset=ujis" and "without-readline" to configure (vineseed-plus-02150)
  767. - merged to MySQL Official packages
  768. -- renamed package "MySQL" to "MySQL-server"
  769. -- when using gcc, _always_ use CXX=gcc
  770. -- replaced Copyright with License field (Copyright is obsolete)
  771. -- added myisam_ftdump to the Server package
  772. -- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
  773. -- fixed file permissions (BUG 1672)
  774. -- removed dependency on MySQL-client from the MySQL-devel subpackage
  775. -- as it is not really required. (BUG 1610)
  776. -- Fixed BUG 1162 (removed macro names from the changelog)
  777. -- Really fixed BUG 998 (disable the checking for installed but
  778. -- unpackaged files)
  779. -- Fixed BUG 959 (libmysqld not being compiled properly)
  780. -- Fixed BUG 998 (RPM build errors): added missing files to the
  781. -- distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
  782. -- mysql_fix_privilege_tables.1), removed "-n" from install section.
  783. -- removed the GIF Icon (file was not included in the sources anyway)
  784. -- removed unused variable shared_lib_version
  785. -- do not run automake before building the standard binary
  786. -- (should not be necessary)
  787. -- add server suffix '-standard' to standard binary (to be in line
  788. -- with the binary tarball distributions)
  789. -- allow overriding CC and CXX (required when building
  790. -- with other compilers)
  791. * Thu Apr 14 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.23.56-0vl5
  792. - added BuildRequires: automake16
  793. * Thu Apr 03 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl3
  794. - add '-fPIC -DPIC' to CFLAGS on alpha
  795. - little fix of spec file
  796. * Thu Mar 27 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl2
  797. - enable MySQL-shared subpackage for alpha
  798. - delete 'BuildPrereq: kernel24-headers' for alpha
  799. - fix shared %files (exclude sparc)
  800. * Tue Mar 18 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.56-0vl1
  801. - new upstream version
  802. * Sun Mar 9 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.23.55-0vl2
  803. - fixed devel %files (dropped *.la files)
  804. * Tue Jan 28 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.55-0vl1
  805. - new upstream version
  806. - fixed document permission
  807. * Sat Dec 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.54a-0vl1
  808. - new upstream version
  809. * Sat Oct 19 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl2
  810. - dropped MySQL-Max sub-pakage for sparc/sparc64/alpha
  811. -- don't work
  812. * Wed Oct 16 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl1
  813. - new upstream version
  814. - diseble-assembler in configure on sparc,sparc64,alpha
  815. * Wed Aug 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.52-0vl1
  816. - new upstream version
  817. - moved some man files to main package
  818. - added enable-local-infile in configure
  819. - changed --with-extra-charsets=all in configure
  820. * Fri Jun 14 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl2
  821. - fixed changelog
  822. * Thu Jun 13 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl1
  823. - updated to mysql-3.23.51
  824. * Fri Mar 15 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl2
  825. - rebuild on zlib-1.1.4(security fix.)
  826. * Mon Feb 18 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl1
  827. - updated to mysql-2.23.49
  828. * Tue Feb 12 2002 Tomoya TAKA <taka@vinelinux.org> 3.23.48-0vl2
  829. - add 'BuildPrereq: kernel24-headers' on alpha
  830. - remove shared library and max on alpha
  831. * Tue Feb 12 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.48-0vl1
  832. - updated to mysql-3.23.48
  833. * Thu Jan 03 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.47-0vl1
  834. - updated to mysql-3.23.47
  835. * Wed Dec 05 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.46-0vl1
  836. - updated to mysql-3.23.46
  837. * Thu Nov 29 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.45-0vl1
  838. - updated to mysql-3.23.45
  839. * Tue Nov 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.44-0vl1
  840. - updated to mysql-3.23.44
  841. * Sat Oct 13 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.43-0vl1
  842. - updated to mysql-3.23.43
  843. - removed shared library and max on sparc
  844. * Wed Sep 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.42-0vl1
  845. - updated to mysql-3.23.42
  846. - changed MYSQL_BUILD_CC: and MYSQL_BUILD_XCC: to -gcc
  847. * Thu Aug 30 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.41-0vl1
  848. - updated to mysql-3.23.41
  849. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.40-0vl1
  850. - updated to mysql-3.23.40
  851. * Tue Jul 10 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.39-0vl1
  852. - updated to mysql-3.23.39
  853. * Sat Jun 15 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2
  854. - added configure --with-charset=ujis
  855. * Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2
  856. - used some rpmmacro
  857. * Fri May 25 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl1
  858. - updated to MySQL-3.23.38
  859. * Thu Dec 07 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl2
  860. - removed Bench pakages
  861. * Tue Dec 05 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl1
  862. - removed pt_BR locale
  863. - build on Vine Linux
  864. - partially used rpmmacros
  865. - added %clean tag
  866. * Fri Aug 18 2000 Tim Smith <tim@mysql.com>
  867. - Added separate libmysql_r directory; now both a threaded
  868. and non-threaded library is shipped.
  869. * Wed Sep 28 1999 David Axmark <davida@mysql.com>
  870. - Added the support-files/my-example.cnf to the docs directory.
  871. - Removed devel dependency on base since it is about client
  872. development.
  873. * Wed Sep 8 1999 David Axmark <davida@mysql.com>
  874. - Cleaned up some for 3.23.
  875. * Thu Jul 1 1999 David Axmark <davida@mysql.com>
  876. - Added support for shared libraries in a separate sub
  877. package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
  878. - The --enable-assembler switch is now automatically disables on
  879. platforms there assembler code is unavailable. This should allow
  880. building this RPM on non i386 systems.
  881. * Mon Feb 22 1999 David Axmark <david@detron.se>
  882. - Removed unportable cc switches from the spec file. The defaults can
  883. now be overridden with environment variables. This feature is used
  884. to compile the official RPM with optimal (but compiler version
  885. specific) switches.
  886. - Removed the repetitive description parts for the sub rpms. Maybe add
  887. again if RPM gets a multiline macro capability.
  888. - Added support for a pt_BR translation. Translation contributed by
  889. Jorge Godoy <jorge@bestway.com.br>.
  890. * Wed Nov 4 1998 David Axmark <david@detron.se>
  891. - A lot of changes in all the rpm and install scripts. This may even
  892. be a working RPM :-)
  893. * Sun Aug 16 1998 David Axmark <david@detron.se>
  894. - A developers changelog for MySQL is available in the source RPM. And
  895. there is a history of major user visible changed in the Reference
  896. Manual. Only RPM specific changes will be documented here.