MySQL-vl.spec 39 KB

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