MySQL-vl.spec 40 KB

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