1
# Copyright (C) 2000-2007 MySQL AB
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
# GNU General Public License for more details.
12
# You should have received a copy of the GNU General Public License
13
# along with this program; see the file COPYING. If not, write to the
14
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston
17
%define mysql_version @VERSION@
18
%define mysql_vendor MySQL AB
20
# use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x)
21
# to enable static linking (off by default)
22
%{?_with_static:%define STATIC_BUILD 1}
23
%{!?_with_static:%define STATIC_BUILD 0}
25
# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x)
26
# to build with yaSSL support (off by default)
27
%{?_with_yassl:%define YASSL_BUILD 1}
28
%{!?_with_yassl:%define YASSL_BUILD 0}
33
%define release 0.glibc23
36
%define mysqld_user mysql
37
%define mysqld_group mysql
38
%define server_suffix -standard
39
%define mysqldatadir /var/lib/mysql
41
# We don't package all files installed into the build root by intention -
42
# See BUG#998 for details.
43
%define _unpackaged_files_terminate_build 0
45
%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
47
# On SuSE 9 no separate "debuginfo" package is built. To enable basic
48
# debugging on that platform, we don't strip binaries on SuSE 9. We
49
# disable the strip of binaries by redefining the RPM macro
50
# "__os_install_post" leaving out the script calls that normally does
51
# this. We do this in all cases, as on platforms where "debuginfo" is
52
# created, a script "find-debuginfo.sh" will be called that will do
53
# the strip anyway, part of separating the executable and debug
54
# information into separate files put into separate packages.
56
# Some references (shows more advanced conditional usage):
57
# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
58
# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
59
# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
60
# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
62
%define __os_install_post /usr/lib/rpm/brp-compress
65
Summary: MySQL: a very fast and reliable SQL database server
66
Group: Applications/Databases
67
Version: @MYSQL_NO_DASH_VERSION@
70
Source: http://www.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/mysql-%{mysql_version}.tar.gz
71
URL: http://www.mysql.com/
72
Packager: MySQL Production Engineering Team <build@mysql.com>
73
Vendor: %{mysql_vendor}
74
Provides: msqlormysql MySQL-server mysql
75
BuildRequires: ncurses-devel
78
# Think about what you use here since the first step is to
80
BuildRoot: %{_tmppath}/%{name}-%{version}-build
84
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
85
and robust SQL (Structured Query Language) database server. MySQL Server
86
is intended for mission-critical, heavy-load production systems as well
87
as for embedding into mass-deployed software. MySQL is a trademark of
90
Copyright (C) 2000-2007 MySQL AB
91
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
92
and you are welcome to modify and redistribute it under the GPL license.
94
The MySQL web site (http://www.mysql.com/) provides the latest
95
news and information about the MySQL software. Also please see the
96
documentation and the manual for more information.
99
Summary: MySQL: a very fast and reliable SQL database server
100
Group: Applications/Databases
101
Requires: coreutils grep procps /usr/sbin/useradd /usr/sbin/groupadd /sbin/chkconfig
102
Provides: msqlormysql mysql-server mysql MySQL
103
Obsoletes: MySQL mysql mysql-server
106
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
107
and robust SQL (Structured Query Language) database server. MySQL Server
108
is intended for mission-critical, heavy-load production systems as well
109
as for embedding into mass-deployed software. MySQL is a trademark of
112
Copyright (C) 2000-2007 MySQL AB
113
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
114
and you are welcome to modify and redistribute it under the GPL license.
116
The MySQL web site (http://www.mysql.com/) provides the latest
117
news and information about the MySQL software. Also please see the
118
documentation and the manual for more information.
120
This package includes the MySQL server binary (incl. InnoDB) as well
121
as related utilities to run and administrate a MySQL server.
123
If you want to access and work with the database, you have to install
124
package "MySQL-client" as well!
127
Summary: MySQL - Client
128
Group: Applications/Databases
129
Obsoletes: mysql-client
130
Provides: mysql-client
133
This package contains the standard MySQL clients and administration tools.
138
Summary: MySQL - ndbcluster storage engine
139
Group: Applications/Databases
141
%description ndb-storage
142
This package contains the ndbcluster storage engine.
143
It is necessary to have this package installed on all
144
computers that should store ndbcluster table data.
148
%package ndb-management
149
Summary: MySQL - ndbcluster storage engine management
150
Group: Applications/Databases
152
%description ndb-management
153
This package contains ndbcluster storage engine management.
154
It is necessary to have this package installed on at least
155
one computer in the cluster.
160
Summary: MySQL - ndbcluster storage engine basic tools
161
Group: Applications/Databases
163
%description ndb-tools
164
This package contains ndbcluster storage engine basic tools.
169
Summary: MySQL - ndbcluster storage engine extra tools
170
Group: Applications/Databases
172
%description ndb-extra
173
This package contains some extra ndbcluster storage engine tools for the advanced user.
174
They should be used with caution.
179
Requires: %{name}-client perl-DBI perl
180
Summary: MySQL - Test suite
181
Group: Applications/Databases
183
Obsoletes: mysql-bench mysql-test
187
This package contains the MySQL regression test suite.
192
Summary: MySQL - Development header files and libraries
193
Group: Applications/Databases
194
Provides: mysql-devel
195
Obsoletes: mysql-devel
198
This package contains the development header files and libraries
199
necessary to develop MySQL client applications.
204
Summary: MySQL - Shared libraries
205
Group: Applications/Databases
208
This package contains the shared libraries (*.so*) which certain
209
languages and applications need to dynamically load and use MySQL.
212
Requires: %{name}-devel
213
Summary: MySQL - embedded library
214
Group: Applications/Databases
215
Obsoletes: mysql-embedded
217
%description embedded
218
This package contains the MySQL server as an embedded library.
220
The embedded MySQL server library makes it possible to run a
221
full-featured MySQL server inside the client application.
222
The main benefits are increased speed and more simple management
223
for embedded applications.
225
The API is identical for the embedded MySQL version and the
226
client/server version.
231
# We unpack the source two times, for 'debug' and 'release' build.
232
%setup -T -a 0 -c -n mysql-%{mysql_version}
233
mv mysql-%{mysql_version} mysql-debug-%{mysql_version}
234
%setup -D -T -a 0 -n mysql-%{mysql_version}
235
mv mysql-%{mysql_version} mysql-release-%{mysql_version}
240
# The --enable-assembler simply does nothing on systems that does not
241
# support assembler speedups.
242
sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
243
CC=\"${CC:-$MYSQL_BUILD_CC}\" \
244
CXX=\"${CXX:-$MYSQL_BUILD_CXX}\" \
246
CXXFLAGS=\"$CXXFLAGS\" \
247
LDFLAGS=\"$MYSQL_BUILD_LDFLAGS\" \
250
--with-mysqld-ldflags='-static' \
251
--with-client-ldflags='-static' \
252
--with-zlib-dir=bundled \
254
--enable-local-infile \
255
--with-fast-mutexes \
256
--with-mysqld-user=%{mysqld_user} \
257
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
260
--with-extra-charsets=all \
264
--exec-prefix=%{_exec_prefix} \
265
--libexecdir=%{_sbindir} \
266
--libdir=%{_libdir} \
267
--sysconfdir=%{_sysconfdir} \
268
--datadir=%{_datadir} \
269
--localstatedir=%{mysqldatadir} \
270
--infodir=%{_infodir} \
271
--includedir=%{_includedir} \
272
--mandir=%{_mandir} \
273
--enable-thread-safe-client \
279
# Use our own copy of glibc
281
OTHER_LIBC_DIR=/usr/local/mysql-glibc
282
USE_OTHER_LIBC_DIR=""
283
if test -d "$OTHER_LIBC_DIR"
285
USE_OTHER_LIBC_DIR="--with-other-libc=$OTHER_LIBC_DIR"
288
# Use the build root for temporary storage of the shared libraries.
292
# Clean up the BuildRoot first
293
[ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR;
294
mkdir -p $RBR%{_libdir}/mysql
297
# Use MYSQL_BUILD_PATH so that we can use a dedicated version of gcc
299
PATH=${MYSQL_BUILD_PATH:-/bin:/usr/bin}
302
# Build the Debug binary.
304
# Use gcc for C and C++ code (to avoid a dependency on libstdc++ and
305
# including exceptions into the code
306
if [ -z "$CXX" -a -z "$CC" ]
312
##############################################################################
314
# Build the debug version
316
##############################################################################
318
# Strip -Oxxx, add -g and --with-debug.
319
(cd mysql-debug-%{mysql_version} &&
320
CFLAGS=`echo "${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS} -g" | sed -e 's/-O[0-9]*//g'` \
321
CXXFLAGS=`echo "${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti} -g" | sed -e 's/-O[0-9]*//g'` \
322
BuildMySQL "--enable-shared \
326
--with-archive-storage-engine \
327
--with-csv-storage-engine \
328
--with-example-storage-engine \
329
--with-blackhole-storage-engine \
330
--with-federated-storage-engine \
338
--with-comment=\"MySQL Community Server - Debug (GPL)\"")
340
# We might want to save the config log file
341
if test -n "$MYSQL_DEBUGCONFLOG_DEST"
343
cp -fp mysql-debug-%{mysql_version}/config.log "$MYSQL_DEBUGCONFLOG_DEST"
346
(cd mysql-debug-%{mysql_version} ; make test-bt-debug)
348
##############################################################################
350
# Build the release binary
352
##############################################################################
354
(cd mysql-release-%{mysql_version} &&
355
CFLAGS="${MYSQL_BUILD_CFLAGS:-$RPM_OPT_FLAGS} -g" \
356
CXXFLAGS="${MYSQL_BUILD_CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti} -g" \
357
BuildMySQL "--enable-shared \
360
--with-archive-storage-engine \
361
--with-csv-storage-engine \
362
--with-example-storage-engine \
363
--with-blackhole-storage-engine \
364
--with-federated-storage-engine \
371
--with-embedded-server \
373
--with-comment=\"MySQL Community Server (GPL)\"")
374
# We might want to save the config log file
375
if test -n "$MYSQL_CONFLOG_DEST"
377
cp -fp mysql-release-%{mysql_version}/config.log "$MYSQL_CONFLOG_DEST"
380
(cd mysql-release-%{mysql_version} ; make test-bt)
382
##############################################################################
384
# Include libgcc.a in the devel subpackage (BUG 4921)
385
if expr "$CC" : ".*gcc.*" > /dev/null ;
387
libgcc=`$CC $CFLAGS --print-libgcc-file`
390
%define have_libgcc 1
391
install -m 644 $libgcc $RBR%{_libdir}/mysql/libmygcc.a
395
##############################################################################
399
MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-release-%{mysql_version}
401
# Ensure that needed directories exists
402
install -d $RBR%{_sysconfdir}/{logrotate.d,init.d}
403
install -d $RBR%{mysqldatadir}/mysql
404
install -d $RBR%{_datadir}/mysql-test
405
install -d $RBR%{_includedir}
406
install -d $RBR%{_libdir}
407
install -d $RBR%{_mandir}
408
install -d $RBR%{_sbindir}
411
# Install all binaries
412
(cd $MBD && make install DESTDIR=$RBR benchdir_root=%{_datadir})
413
# Old packages put shared libs in %{_libdir}/ (not %{_libdir}/mysql), so do
415
mv $RBR/%{_libdir}/mysql/*.so* $RBR/%{_libdir}/
417
# install "mysqld-debug"
418
$MBD/libtool --mode=execute install -m 755 \
419
$RPM_BUILD_DIR/mysql-%{mysql_version}/mysql-debug-%{mysql_version}/sql/mysqld \
420
$RBR%{_sbindir}/mysqld-debug
422
# install saved perror binary with NDB support (BUG#13740)
423
install -m 755 $MBD/extra/perror $RBR%{_bindir}/perror
425
# Install logrotate and autostart
426
install -m 644 $MBD/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql
427
install -m 755 $MBD/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql
429
# Install embedded server library in the build root
430
install -m 644 $MBD/libmysqld/libmysqld.a $RBR%{_libdir}/mysql/
432
# Create a symlink "rcmysql", pointing to the init.script. SuSE users
433
# will appreciate that, as all services usually offer this.
434
ln -s %{_sysconfdir}/init.d/mysql $RPM_BUILD_ROOT%{_sbindir}/rcmysql
436
# Touch the place where the my.cnf config file might be located.
437
# Just to make sure it's in the file list and marked as a config file.
438
touch $RBR%{_sysconfdir}/my.cnf
441
# Check if we can safely upgrade. An upgrade is only safe if it's from one
442
# of our RPMs in the same version family.
444
installed=`rpm -q --whatprovides mysql-server 2> /dev/null`
445
if [ $? -eq 0 -a -n "$installed" ]; then
446
vendor=`rpm -q --queryformat='%{VENDOR}' "$installed" 2>&1`
447
version=`rpm -q --queryformat='%{VERSION}' "$installed" 2>&1`
448
myvendor='%{mysql_vendor}'
449
myversion='%{mysql_version}'
451
old_family=`echo $version | sed -n -e 's,^\([1-9][0-9]*\.[0-9][0-9]*\)\..*$,\1,p'`
452
new_family=`echo $myversion | sed -n -e 's,^\([1-9][0-9]*\.[0-9][0-9]*\)\..*$,\1,p'`
454
[ -z "$vendor" ] && vendor='<unknown>'
455
[ -z "$old_family" ] && old_family="<unrecognized version $version>"
456
[ -z "$new_family" ] && new_family="<bad package specification: version $myversion>"
459
if [ "$vendor" != "$myvendor" ]; then
460
error_text="$error_text
461
The current MySQL server package is provided by a different
462
vendor ($vendor) than $myvendor. Some files may be installed
463
to different locations, including log files and the service
464
startup script in %{_sysconfdir}/init.d/.
468
if [ "$old_family" != "$new_family" ]; then
469
error_text="$error_text
470
Upgrading directly from MySQL $old_family to MySQL $new_family may not
471
be safe in all cases. A manual dump and restore using mysqldump is
472
recommended. It is important to review the MySQL manual's Upgrading
473
section for version-specific incompatibilities.
477
if [ -n "$error_text" ]; then
480
******************************************************************
481
A MySQL server package ($installed) is installed.
483
A manual upgrade is required.
485
- Ensure that you have a complete, working backup of your data and my.cnf
487
- Shut down the MySQL server cleanly
488
- Remove the existing MySQL packages. Usually this command will
489
list the packages you should remove:
490
rpm -qa | grep -i '^mysql-'
492
You may choose to use 'rpm --nodeps -ev <package-name>' to remove
493
the package which contains the mysqlclient shared library. The
494
library will be reinstalled by the MySQL-shared-compat package.
495
- Install the new MySQL packages supplied by $myvendor
496
- Ensure that the MySQL server is started
497
- Run the 'mysql_upgrade' program
499
This is a brief description of the upgrade process. Important details
500
can be found in the MySQL manual, in the Upgrading section.
501
******************************************************************
507
# Shut down a previously installed server first
508
if test -x %{_sysconfdir}/init.d/mysql
510
%{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1
511
echo "Giving mysqld a couple of seconds to exit nicely"
513
elif test -x %{_sysconfdir}/rc.d/init.d/mysql
515
%{_sysconfdir}/rc.d/init.d/mysql stop > /dev/null 2>&1
516
echo "Giving mysqld a couple of seconds to exit nicely"
521
mysql_datadir=%{mysqldatadir}
523
# Create data directory if needed
524
if test ! -d $mysql_datadir; then mkdir -m 755 $mysql_datadir; fi
525
if test ! -d $mysql_datadir/mysql; then mkdir $mysql_datadir/mysql; fi
526
if test ! -d $mysql_datadir/test; then mkdir $mysql_datadir/test; fi
528
# Make MySQL start/shutdown automatically when the machine does it.
529
# use insserv for older SuSE Linux versions
530
if test -x /sbin/insserv
532
/sbin/insserv %{_sysconfdir}/init.d/mysql
533
# use chkconfig on Red Hat and newer SuSE releases
534
elif test -x /sbin/chkconfig
536
/sbin/chkconfig --add mysql
539
# Create a MySQL user and group. Do not report any problems if it already
541
groupadd -r %{mysqld_group} 2> /dev/null || true
542
useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
543
# The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
544
usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
546
# Change permissions so that the user that will run the MySQL daemon
547
# owns all database files.
548
chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
550
# Initiate databases if needed
551
%{_bindir}/mysql_install_db --rpm --user=%{mysqld_user}
553
# Upgrade databases if needed would go here - but it cannot be automated yet
555
# Change permissions again to fix any new files.
556
chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
558
# Fix permissions for the permission database so that only the user
560
chmod -R og-rw $mysql_datadir/mysql
562
# Restart in the same way that mysqld will be started normally.
563
%{_sysconfdir}/init.d/mysql start
565
# Allow mysqld_safe to start mysqld and print a message before we exit
568
#echo "Thank you for installing the MySQL Community Server! For Production
569
#systems, we recommend MySQL Enterprise, which contains enterprise-ready
570
#software, intelligent advisory services, and full production support with
571
#scheduled service packs and more. Visit www.mysql.com/enterprise for more
575
mysql_clusterdir=/var/lib/mysql-cluster
577
# Create cluster directory if needed
578
if test ! -d $mysql_clusterdir; then mkdir -m 755 $mysql_clusterdir; fi
584
# Stop MySQL before uninstalling it
585
if test -x %{_sysconfdir}/init.d/mysql
587
%{_sysconfdir}/init.d/mysql stop > /dev/null
589
# Remove autostart of mysql
590
# for older SuSE Linux versions
591
if test -x /sbin/insserv
593
/sbin/insserv -r %{_sysconfdir}/init.d/mysql
594
# use chkconfig on Red Hat and newer SuSE releases
595
elif test -x /sbin/chkconfig
597
/sbin/chkconfig --del mysql
602
# We do not remove the mysql user since it may still own a lot of
605
# Clean up the BuildRoot
607
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
610
%defattr(-,root,root,0755)
612
%doc mysql-release-%{mysql_version}/COPYING mysql-release-%{mysql_version}/README
613
%doc mysql-release-%{mysql_version}/support-files/my-*.cnf
614
%doc mysql-release-%{mysql_version}/support-files/ndb-*.ini
616
%doc %attr(644, root, root) %{_infodir}/mysql.info*
618
%doc %attr(644, root, man) %{_mandir}/man1/my_print_defaults.1*
619
%doc %attr(644, root, man) %{_mandir}/man1/myisam_ftdump.1*
620
%doc %attr(644, root, man) %{_mandir}/man1/myisamchk.1*
621
%doc %attr(644, root, man) %{_mandir}/man1/myisamlog.1*
622
%doc %attr(644, root, man) %{_mandir}/man1/myisampack.1*
623
%doc %attr(644, root, man) %{_mandir}/man8/mysqld.8*
624
%doc %attr(644, root, man) %{_mandir}/man1/mysqld_multi.1*
625
%doc %attr(644, root, man) %{_mandir}/man1/mysqld_safe.1*
626
%doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_privilege_tables.1*
627
%doc %attr(644, root, man) %{_mandir}/man1/mysql_install_db.1*
628
%doc %attr(644, root, man) %{_mandir}/man1/mysql_upgrade.1*
629
%doc %attr(644, root, man) %{_mandir}/man1/mysqlhotcopy.1*
630
%doc %attr(644, root, man) %{_mandir}/man1/mysqlman.1*
631
%doc %attr(644, root, man) %{_mandir}/man1/mysql.server.1*
632
%doc %attr(644, root, man) %{_mandir}/man1/mysqltest.1*
633
%doc %attr(644, root, man) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
634
%doc %attr(644, root, man) %{_mandir}/man1/mysql_zap.1*
635
%doc %attr(644, root, man) %{_mandir}/man1/perror.1*
636
%doc %attr(644, root, man) %{_mandir}/man1/replace.1*
638
%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf
640
%attr(755, root, root) %{_bindir}/my_print_defaults
641
%attr(755, root, root) %{_bindir}/myisam_ftdump
642
%attr(755, root, root) %{_bindir}/myisamchk
643
%attr(755, root, root) %{_bindir}/myisamlog
644
%attr(755, root, root) %{_bindir}/myisampack
645
%attr(755, root, root) %{_bindir}/mysql_convert_table_format
646
%attr(755, root, root) %{_bindir}/mysql_fix_extensions
647
%attr(755, root, root) %{_bindir}/mysql_fix_privilege_tables
648
%attr(755, root, root) %{_bindir}/mysql_install_db
649
%attr(755, root, root) %{_bindir}/mysql_secure_installation
650
%attr(755, root, root) %{_bindir}/mysql_setpermission
651
%attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
652
%attr(755, root, root) %{_bindir}/mysql_upgrade
653
%attr(755, root, root) %{_bindir}/mysql_zap
654
%attr(755, root, root) %{_bindir}/mysqlbug
655
%attr(755, root, root) %{_bindir}/mysqld_multi
656
%attr(755, root, root) %{_bindir}/mysqld_safe
657
%attr(755, root, root) %{_bindir}/mysqldumpslow
658
%attr(755, root, root) %{_bindir}/mysqlhotcopy
659
%attr(755, root, root) %{_bindir}/mysqltest
660
%attr(755, root, root) %{_bindir}/perror
661
%attr(755, root, root) %{_bindir}/replace
662
%attr(755, root, root) %{_bindir}/resolve_stack_dump
663
%attr(755, root, root) %{_bindir}/resolveip
665
%attr(755, root, root) %{_sbindir}/mysqld
666
%attr(755, root, root) %{_sbindir}/mysqld-debug
667
%attr(755, root, root) %{_sbindir}/rcmysql
669
%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
670
%attr(755, root, root) %{_sysconfdir}/init.d/mysql
672
%attr(755, root, root) %{_datadir}/mysql/
675
%defattr(-, root, root, 0755)
676
%attr(755, root, root) %{_bindir}/msql2mysql
677
%attr(755, root, root) %{_bindir}/mysql
678
%attr(755, root, root) %{_bindir}/mysql_find_rows
679
%attr(755, root, root) %{_bindir}/mysql_waitpid
680
%attr(755, root, root) %{_bindir}/mysqlaccess
681
%attr(755, root, root) %{_bindir}/mysqladmin
682
%attr(755, root, root) %{_bindir}/mysqlbinlog
683
%attr(755, root, root) %{_bindir}/mysqlcheck
684
%attr(755, root, root) %{_bindir}/mysqldump
685
%attr(755, root, root) %{_bindir}/mysqlimport
686
%attr(755, root, root) %{_bindir}/mysqlshow
687
%attr(755, root, root) %{_bindir}/mysqlslap
689
%doc %attr(644, root, man) %{_mandir}/man1/msql2mysql.1*
690
%doc %attr(644, root, man) %{_mandir}/man1/mysql.1*
691
%doc %attr(644, root, man) %{_mandir}/man1/mysqlaccess.1*
692
%doc %attr(644, root, man) %{_mandir}/man1/mysqladmin.1*
693
%doc %attr(644, root, man) %{_mandir}/man1/mysqlbinlog.1*
694
%doc %attr(644, root, man) %{_mandir}/man1/mysqlcheck.1*
695
%doc %attr(644, root, man) %{_mandir}/man1/mysqldump.1*
696
%doc %attr(644, root, man) %{_mandir}/man1/mysqlimport.1*
697
%doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1*
698
%doc %attr(644, root, man) %{_mandir}/man1/mysqlslap.1*
707
%defattr(-,root,root,0755)
708
%attr(755, root, root) %{_sbindir}/ndbd
709
%doc %attr(644, root, man) %{_mandir}/man8/ndbd.8*
711
%files ndb-management
712
%defattr(-,root,root,0755)
713
%attr(755, root, root) %{_sbindir}/ndb_mgmd
714
%doc %attr(644, root, man) %{_mandir}/man8/ndb_mgmd.8*
717
%defattr(-,root,root,0755)
718
%attr(755, root, root) %{_bindir}/ndb_config
719
%attr(755, root, root) %{_bindir}/ndb_desc
720
%attr(755, root, root) %{_bindir}/ndb_error_reporter
721
%attr(755, root, root) %{_bindir}/ndb_mgm
722
%attr(755, root, root) %{_bindir}/ndb_print_backup_file
723
%attr(755, root, root) %{_bindir}/ndb_print_schema_file
724
%attr(755, root, root) %{_bindir}/ndb_print_sys_file
725
%attr(755, root, root) %{_bindir}/ndb_restore
726
%attr(755, root, root) %{_bindir}/ndb_select_all
727
%attr(755, root, root) %{_bindir}/ndb_select_count
728
%attr(755, root, root) %{_bindir}/ndb_show_tables
729
%attr(755, root, root) %{_bindir}/ndb_size.pl
730
%attr(755, root, root) %{_bindir}/ndb_test_platform
731
%attr(755, root, root) %{_bindir}/ndb_waiter
732
%doc %attr(644, root, man) %{_mandir}/man1/ndb_config.1*
733
%doc %attr(644, root, man) %{_mandir}/man1/ndb_desc.1*
734
%doc %attr(644, root, man) %{_mandir}/man1/ndb_error_reporter.1*
735
%doc %attr(644, root, man) %{_mandir}/man1/ndb_print_backup_file.1*
736
%doc %attr(644, root, man) %{_mandir}/man1/ndb_print_schema_file.1*
737
%doc %attr(644, root, man) %{_mandir}/man1/ndb_print_sys_file.1*
738
%doc %attr(644, root, man) %{_mandir}/man1/ndb_select_all.1*
739
%doc %attr(644, root, man) %{_mandir}/man1/ndb_select_count.1*
740
%doc %attr(644, root, man) %{_mandir}/man1/ndb_show_tables.1*
741
%doc %attr(644, root, man) %{_mandir}/man1/ndb_size.pl.1*
742
%doc %attr(644, root, man) %{_mandir}/man1/ndb_waiter.1*
745
%defattr(-,root,root,0755)
746
%attr(755, root, root) %{_sbindir}/ndb_cpcd
747
%attr(755, root, root) %{_bindir}/ndb_delete_all
748
%attr(755, root, root) %{_bindir}/ndb_drop_index
749
%attr(755, root, root) %{_bindir}/ndb_drop_table
750
%doc %attr(644, root, man) %{_mandir}/man1/ndb_delete_all.1*
751
%doc %attr(644, root, man) %{_mandir}/man1/ndb_drop_index.1*
752
%doc %attr(644, root, man) %{_mandir}/man1/ndb_drop_table.1*
755
%defattr(-, root, root, 0755)
756
%doc mysql-release-%{mysql_version}/EXCEPTIONS-CLIENT
757
%doc %attr(644, root, man) %{_mandir}/man1/mysql_config.1*
758
%attr(755, root, root) %{_bindir}/mysql_config
759
%dir %attr(755, root, root) %{_includedir}/mysql
760
%dir %attr(755, root, root) %{_libdir}/mysql
761
%{_includedir}/mysql/*
762
%{_libdir}/mysql/libdbug.a
763
%{_libdir}/mysql/libheap.a
765
%{_libdir}/mysql/libmygcc.a
767
%{_libdir}/mysql/libmyisam.a
768
%{_libdir}/mysql/libmyisammrg.a
769
%{_libdir}/mysql/libmysqlclient.a
770
%{_libdir}/mysql/libmysqlclient.la
771
%{_libdir}/mysql/libmysqlclient_r.a
772
%{_libdir}/mysql/libmysqlclient_r.la
773
%{_libdir}/mysql/libmystrings.a
774
%{_libdir}/mysql/libmysys.a
775
%{_libdir}/mysql/libndbclient.a
776
%{_libdir}/mysql/libndbclient.la
777
%{_libdir}/mysql/libvio.a
778
%{_libdir}/mysql/libz.a
779
%{_libdir}/mysql/libz.la
782
%defattr(-, root, root, 0755)
783
# Shared libraries (omit for architectures that don't support them)
784
%{_libdir}/libmysql*.so*
785
%{_libdir}/libndb*.so*
788
%defattr(-, root, root, 0755)
789
%attr(-, root, root) %{_datadir}/mysql-test
790
%attr(755, root, root) %{_bindir}/mysql_client_test
791
%attr(755, root, root) %{_bindir}/mysql_client_test_embedded
792
%attr(755, root, root) %{_bindir}/mysqltest_embedded
793
%doc %attr(644, root, man) %{_mandir}/man1/mysql_client_test.1*
794
%doc %attr(644, root, man) %{_mandir}/man1/mysql_client_test_embedded.1*
795
%doc %attr(644, root, man) %{_mandir}/man1/mysql-stress-test.pl.1*
796
%doc %attr(644, root, man) %{_mandir}/man1/mysql-test-run.pl.1*
797
%doc %attr(644, root, man) %{_mandir}/man1/mysqltest_embedded.1*
800
%defattr(-, root, root, 0755)
801
%attr(644, root, root) %{_libdir}/mysql/libmysqld.a
803
# The spec file changelog only includes changes made to the spec file
804
# itself - note that they must be ordered by date (important when
807
* Wed Mar 19 2008 Joerg Bruehe <joerg@mysql.com>
809
- Add the man pages for "ndbd" and "ndb_mgmd".
811
* Mon Feb 18 2008 Timothy Smith <tim@mysql.com>
813
- Require a manual upgrade if the alread-installed mysql-server is
814
from another vendor, or is of a different major version.
816
* Fri Dec 21 2007 Joerg Bruehe <joerg@mysql.com>
818
- "mysqlmanager" got removed from version 6.0, all references deleted.
820
* Thu Dec 06 2007 Jonathan Perkin <jperkin@mysql.com>
822
- Enabled the "Falcon" storage engine on i386/x86_64.
824
* Wed May 02 2007 Joerg Bruehe <joerg@mysql.com>
826
- "ndb_size.tmpl" is not needed any more,
827
"man1/mysql_install_db.1" lacked the trailing '*'.
829
* Sat Apr 07 2007 Kent Boortz <kent@mysql.com>
831
- Removed man page for "mysql_create_system_tables"
833
* Wed Mar 21 2007 Daniel Fischer <df@mysql.com>
837
* Mon Mar 19 2007 Daniel Fischer <df@mysql.com>
839
- Remove Max RPMs; the server RPMs contain a mysqld compiled with all
840
features that previously only were built into Max.
842
* Fri Mar 02 2007 Joerg Bruehe <joerg@mysql.com>
844
- Add several man pages for NDB which are now created.
846
* Fri Jan 05 2007 Kent Boortz <kent@mysql.com>
848
- Put back "libmygcc.a", found no real reason it was removed.
850
- Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
851
correct "libgcc.a" path is returned for the 32/64 bit architecture.
853
* Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com>
855
- Fix the move of "mysqlmanager" to section 8: Directory name was wrong.
857
* Thu Dec 14 2006 Joerg Bruehe <joerg@mysql.com>
859
- Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
861
- The "mysqlmanager" man page got moved from section 1 to 8.
863
* Thu Nov 30 2006 Joerg Bruehe <joerg@mysql.com>
865
- Call "make install" using "benchdir_root=%{_datadir}",
866
because that is affecting the regression test suite as well.
868
* Thu Nov 16 2006 Joerg Bruehe <joerg@mysql.com>
870
- Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
871
replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
874
* Mon Nov 13 2006 Joerg Bruehe <joerg@mysql.com>
876
- Add "--with-partition" to all server builds.
878
- Use "--report-features" in one test run per server build.
880
* Tue Aug 15 2006 Joerg Bruehe <joerg@mysql.com>
882
- The "max" server is removed from packages, effective from 5.1.12-beta.
883
Delete all steps to build, package, or install it.
885
* Mon Jul 10 2006 Joerg Bruehe <joerg@mysql.com>
887
- Fix a typing error in the "make" target for the Perl script to run the tests.
889
* Tue Jul 04 2006 Joerg Bruehe <joerg@mysql.com>
891
- Use the Perl script to run the tests, because it will automatically check
892
whether the server is configured with SSL.
894
* Tue Jun 27 2006 Joerg Bruehe <joerg@mysql.com>
896
- move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)
898
- Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
899
there are some more aspects which need to be solved before this is possible.
900
For now, just ensure the binary "mysql_upgrade" is delivered and installed.
902
* Thu Jun 22 2006 Joerg Bruehe <joerg@mysql.com>
904
- Close a gap of the previous version by explicitly using
905
a newly created temporary directory for the socket to be used
906
in the "mysql_upgrade" operation, overriding any local setting.
908
* Tue Jun 20 2006 Joerg Bruehe <joerg@mysql.com>
910
- To run "mysql_upgrade", we need a running server;
911
start it in isolation and skip password checks.
913
* Sat May 20 2006 Kent Boortz <kent@mysql.com>
915
- Always compile for PIC, position independent code.
917
* Wed May 10 2006 Kent Boortz <kent@mysql.com>
919
- Use character set "all" when compiling with Cluster, to make Cluster
920
nodes independent on the character set directory, and the problem
921
that two RPM sub packages both wants to install this directory.
923
* Mon May 01 2006 Kent Boortz <kent@mysql.com>
925
- Use "./libtool --mode=execute" instead of searching for the
926
executable in current directory and ".libs".
928
* Fri Apr 28 2006 Kent Boortz <kent@mysql.com>
930
- Install and run "mysql_upgrade"
932
* Wed Apr 12 2006 Jim Winstead <jimw@mysql.com>
934
- Remove sql-bench, and MySQL-bench RPM (will be built as an independent
935
project from the mysql-bench repository)
937
* Tue Apr 11 2006 Jim Winstead <jimw@mysql.com>
939
- Remove old mysqltestmanager and related programs
940
* Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
942
- Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
944
* Wed Mar 07 2006 Kent Boortz <kent@mysql.com>
946
- Changed product name from "Community Edition" to "Community Server"
948
* Mon Mar 06 2006 Kent Boortz <kent@mysql.com>
950
- Fast mutexes is now disabled by default, but should be
951
used in Linux builds.
953
* Mon Feb 20 2006 Kent Boortz <kent@mysql.com>
955
- Reintroduced a max build
956
- Limited testing of 'debug' and 'max' servers
957
- Berkeley DB only in 'max'
959
* Mon Feb 13 2006 Joerg Bruehe <joerg@mysql.com>
961
- Use "-i" on "make test-force";
962
this is essential for later evaluation of this log file.
964
* Thu Feb 09 2006 Kent Boortz <kent@mysql.com>
966
- Pass '-static' to libtool, link static with our own libraries, dynamic
967
with system libraries. Link with the bundled zlib.
969
* Wed Feb 08 2006 Kristian Nielsen <knielsen@mysql.com>
971
- Modified RPM spec to match new 5.1 debug+max combined community packaging.
973
* Sun Dec 18 2005 Kent Boortz <kent@mysql.com>
975
- Added "client/mysqlslap"
977
* Mon Dec 12 2005 Rodrigo Novo <rodrigo@mysql.com>
979
- Added zlib to the list of (static) libraries installed
980
- Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
981
- Compile MySQL with bundled zlib
982
- Fixed %packager name to "MySQL Production Engineering Team"
984
* Mon Dec 05 2005 Joerg Bruehe <joerg@mysql.com>
986
- Avoid using the "bundled" zlib on "shared" builds:
987
As it is not installed (on the build system), this gives dependency
988
problems with "libtool" causing the build to fail.
989
(Change was done on Nov 11, but left uncommented.)
991
* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com>
993
- Extend the file existence check for "init.d/mysql" on un-install
994
to also guard the call to "insserv"/"chkconfig".
996
* Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com>
998
- added more man pages
1000
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
1002
- Made yaSSL support an option (off by default)
1004
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
1006
- Enabled yaSSL support
1008
* Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
1010
- Give mode arguments the same way in all places
1011
- Moved copy of mysqld.a to "standard" build, but
1012
disabled it as we don't do embedded yet in 5.0
1014
* Fri Oct 14 2005 Kent Boortz <kent@mysql.com>
1016
- For 5.x, always compile with --with-big-tables
1017
- Copy the config.log file to location outside
1020
* Fri Oct 14 2005 Kent Boortz <kent@mysql.com>
1022
- Removed unneeded/obsolete configure options
1023
- Added archive engine to standard server
1024
- Removed the embedded server from experimental server
1025
- Changed suffix "-Max" => "-max"
1026
- Changed comment string "Max" => "Experimental"
1028
* Thu Oct 13 2005 Lenz Grimmer <lenz@mysql.com>
1030
- added a usermod call to assign a potential existing mysql user to the
1031
correct user group (BUG#12823)
1032
- Save the perror binary built during Max build so it supports the NDB
1033
error codes (BUG#13740)
1034
- added a separate macro "mysqld_group" to be able to define the
1035
user group of the mysql user seperately, if desired.
1037
* Thu Sep 29 2005 Lenz Grimmer <lenz@mysql.com>
1039
- fixed the removing of the RPM_BUILD_ROOT in the %clean section (the
1040
$RBR variable did not get expanded, thus leaving old build roots behind)
1042
* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com>
1044
- Fixed the creation of the mysql user group account in the postinstall
1046
- Fixed enabling the Archive storage engine in the Max binary
1048
* Tue Aug 02 2005 Lenz Grimmer <lenz@mysql.com>
1050
- Fixed the Requires: tag for the server RPM (BUG 12233)
1052
* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com>
1054
- create a "mysql" user group and assign the mysql user account to that group
1055
in the server postinstall section. (BUG 10984)
1057
* Tue Jun 14 2005 Lenz Grimmer <lenz@mysql.com>
1059
- Do not build statically on i386 by default, only when adding either "--with
1060
static" or "--define '_with_static 1'" to the RPM build options. Static
1061
linking really only makes sense when linking against the specially patched
1064
* Mon Jun 06 2005 Lenz Grimmer <lenz@mysql.com>
1066
- added mysql_client_test to the "bench" subpackage (BUG 10676)
1067
- added the libndbclient static and shared libraries (BUG 10676)
1069
* Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com>
1071
- use "mysqldatadir" variable instead of hard-coding the path multiple times
1072
- use the "mysqld_user" variable on all occasions a user name is referenced
1073
- removed (incomplete) Brazilian translations
1074
- removed redundant release tags from the subpackage descriptions
1076
* Wed May 25 2005 Joerg Bruehe <joerg@mysql.com>
1078
- Added a "make clean" between separate calls to "BuildMySQL".
1080
* Thu May 12 2005 Guilhem Bichot <guilhem@mysql.com>
1082
- Removed the mysql_tableinfo script made obsolete by the information schema
1084
* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com>
1086
- Enabled the "blackhole" storage engine for the Max RPM
1088
* Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com>
1090
- removed the MySQL manual files (html/ps/texi) - they have been removed
1091
from the MySQL sources and are now available seperately.
1093
* Mon Apr 4 2005 Petr Chardin <petr@mysql.com>
1095
- old mysqlmanager, mysqlmanagerc and mysqlmanager-pwger renamed into
1096
mysqltestmanager, mysqltestmanager and mysqltestmanager-pwgen respectively
1098
* Fri Mar 18 2005 Lenz Grimmer <lenz@mysql.com>
1100
- Disabled RAID in the Max binaries once and for all (it has finally been
1101
removed from the source tree)
1103
* Sun Feb 20 2005 Petr Chardin <petr@mysql.com>
1105
- Install MySQL Instance Manager together with mysqld, touch mysqlmanager
1108
* Mon Feb 14 2005 Lenz Grimmer <lenz@mysql.com>
1110
- Fixed the compilation comments and moved them into the separate build sections
1111
for Max and Standard
1113
* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com>
1115
- enabled the "Ndbcluster" storage engine for the max binary
1116
- added extra make install in ndb subdir after Max build to get ndb binaries
1117
- added packages for ndbcluster storage engine
1119
* Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com>
1121
- replaced obsoleted "BuildPrereq" with "BuildRequires" instead
1123
* Thu Jan 13 2005 Lenz Grimmer <lenz@mysql.com>
1125
- enabled the "Federated" storage engine for the max binary
1127
* Tue Jan 04 2005 Petr Chardin <petr@mysql.com>
1129
- ISAM and merge storage engines were purged. As well as appropriate
1130
tools and manpages (isamchk and isamlog)
1132
* Thu Dec 31 2004 Lenz Grimmer <lenz@mysql.com>
1134
- enabled the "Archive" storage engine for the max binary
1135
- enabled the "CSV" storage engine for the max binary
1136
- enabled the "Example" storage engine for the max binary
1138
* Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com>
1140
- MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860)
1142
* Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com>
1144
- do not link statically on IA64/AMD64 as these systems do not have
1145
a patched glibc installed
1147
* Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com>
1149
- Added libmygcc.a to the devel subpackage (required to link applications
1150
against the the embedded server libmysqld.a) (BUG 4921)
1152
* Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com>
1154
- Added EXCEPTIONS-CLIENT to the "devel" package
1156
* Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com>
1158
- disabled OpenSSL in the Max binaries again (the RPM packages were the
1159
only exception to this anyway) (BUG 1043)
1161
* Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com>
1163
- fixed server postinstall (mysql_install_db was called with the wrong
1166
* Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com>
1168
- added mysql_tzinfo_to_sql to the server subpackage
1169
- run "make clean" instead of "make distclean"
1171
* Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com>
1173
- added ncurses-devel to the build prerequisites (BUG 3377)
1175
* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com>
1177
- when using gcc, _always_ use CXX=gcc
1178
- replaced Copyright with License field (Copyright is obsolete)
1180
* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com>
1182
- added myisam_ftdump to the Server package
1184
* Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com>
1186
- link the mysql client against libreadline instead of libedit (BUG 2289)
1188
* Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com>
1190
- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
1192
* Fri Dec 13 2003 Lenz Grimmer <lenz@mysql.com>
1194
- fixed file permissions (BUG 1672)
1196
* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com>
1198
- made testing for gcc3 a bit more robust
1200
* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com>
1202
- added missing file mysql_create_system_tables to the server subpackage
1204
* Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com>
1206
- removed dependency on MySQL-client from the MySQL-devel subpackage
1207
as it is not really required. (BUG 1610)
1209
* Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com>
1211
- Fixed BUG 1162 (removed macro names from the changelog)
1212
- Really fixed BUG 998 (disable the checking for installed but
1215
* Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com>
1217
- Fixed BUG 959 (libmysqld not being compiled properly)
1218
- Fixed BUG 998 (RPM build errors): added missing files to the
1219
distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
1220
mysql_fix_privilege_tables.1), removed "-n" from install section.
1222
* Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com>
1224
- removed the GIF Icon (file was not included in the sources anyway)
1225
- removed unused variable shared_lib_version
1226
- do not run automake before building the standard binary
1227
(should not be necessary)
1228
- add server suffix '-standard' to standard binary (to be in line
1229
with the binary tarball distributions)
1230
- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
1231
_datadir, _includedir) throughout the spec file.
1232
- allow overriding CC and CXX (required when building with other compilers)
1234
* Fri May 16 2003 Lenz Grimmer <lenz@mysql.com>
1236
- re-enabled RAID again
1238
* Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com>
1240
- disabled MyISAM RAID (--with-raid) - it throws an assertion which
1241
needs to be investigated first.
1243
* Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com>
1245
- added missing file mysql_secure_installation to server subpackage
1248
* Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com>
1250
- re-added missing pre- and post(un)install scripts to server subpackage
1251
- added config file /etc/my.cnf to the file list (just for completeness)
1252
- make sure to create the datadir with 755 permissions
1254
* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com>
1256
- removed unused CC and CXX variables
1257
- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
1259
* Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com>
1261
- renamed package "MySQL" to "MySQL-server"
1262
- fixed Copyright tag
1263
- added mysql_waitpid to client subpackage (required for mysql-test-run)
1265
* Wed Nov 27 2002 Lenz Grimmer <lenz@mysql.com>
1267
- moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of
1268
Linux distributions now support this scheme as proposed by the LSB either
1269
directly or via a compatibility symlink)
1270
- Use new "restart" init script action instead of starting and stopping
1272
- Be more flexible in activating the automatic bootup - use insserv (on
1273
older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and
1274
others) to create the respective symlinks
1276
* Wed Sep 25 2002 Lenz Grimmer <lenz@mysql.com>
1278
- MySQL-Max now requires MySQL >= 4.0 to avoid version mismatches
1279
(mixing 3.23 and 4.0 packages)
1281
* Fri Aug 09 2002 Lenz Grimmer <lenz@mysql.com>
1283
- Turn off OpenSSL in MySQL-Max for now until it works properly again
1284
- enable RAID for the Max binary instead
1285
- added compatibility link: safe_mysqld -> mysqld_safe to ease the
1286
transition from 3.23
1288
* Thu Jul 18 2002 Lenz Grimmer <lenz@mysql.com>
1290
- Reworked the build steps a little bit: the Max binary is supposed
1291
to include OpenSSL, which cannot be linked statically, thus trying
1292
to statically link against a special glibc is futile anyway
1293
- because of this, it is not required to make yet another build run
1294
just to compile the shared libs (saves a lot of time)
1295
- updated package description of the Max subpackage
1296
- clean up the BuildRoot directory afterwards
1298
* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com>
1300
- Updated Packager information
1301
- Fixed the build options: the regular package is supposed to
1302
include InnoDB and linked statically, while the Max package
1303
should include BDB and SSL support
1305
* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com>
1307
- Use more RPM macros (e.g. infodir, mandir) to make the spec
1309
- reorganized the installation of documentation files: let RPM
1311
- reorganized the file list: actually install man pages along
1312
with the binaries of the respective subpackage
1313
- do not include libmysqld.a in the devel subpackage as well, if we
1314
have a special "embedded" subpackage
1315
- reworked the package descriptions
1317
* Mon Oct 8 2001 Monty
1319
- Added embedded server as a separate RPM
1321
* Fri Apr 13 2001 Monty
1323
- Added mysqld-max to the distribution
1325
* Tue Jan 2 2001 Monty
1327
- Added mysql-test to the bench package
1329
* Fri Aug 18 2000 Tim Smith <tim@mysql.com>
1331
- Added separate libmysql_r directory; now both a threaded
1332
and non-threaded library is shipped.
1334
* Wed Sep 28 1999 David Axmark <davida@mysql.com>
1336
- Added the support-files/my-example.cnf to the docs directory.
1338
- Removed devel dependency on base since it is about client
1341
* Wed Sep 8 1999 David Axmark <davida@mysql.com>
1343
- Cleaned up some for 3.23.
1345
* Thu Jul 1 1999 David Axmark <davida@mysql.com>
1347
- Added support for shared libraries in a separate sub
1348
package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
1350
- The --enable-assembler switch is now automatically disables on
1351
platforms there assembler code is unavailable. This should allow
1352
building this RPM on non i386 systems.
1354
* Mon Feb 22 1999 David Axmark <david@detron.se>
1356
- Removed unportable cc switches from the spec file. The defaults can
1357
now be overridden with environment variables. This feature is used
1358
to compile the official RPM with optimal (but compiler version
1361
- Removed the repetitive description parts for the sub rpms. Maybe add
1362
again if RPM gets a multiline macro capability.
1364
- Added support for a pt_BR translation. Translation contributed by
1365
Jorge Godoy <jorge@bestway.com.br>.
1367
* Wed Nov 4 1998 David Axmark <david@detron.se>
1369
- A lot of changes in all the rpm and install scripts. This may even
1370
be a working RPM :-)
1372
* Sun Aug 16 1998 David Axmark <david@detron.se>
1374
- A developers changelog for MySQL is available in the source RPM. And
1375
there is a history of major user visible changed in the Reference
1376
Manual. Only RPM specific changes will be documented here.