MySQL-vl.spec 39 KB

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