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
498
This is a brief description of the upgrade process. Important details
499
can be found in the MySQL manual, in the Upgrading section.
500
******************************************************************
506
# Shut down a previously installed server first
507
if test -x %{_sysconfdir}/init.d/mysql
509
%{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1
510
echo "Giving mysqld a couple of seconds to exit nicely"
512
elif test -x %{_sysconfdir}/rc.d/init.d/mysql
514
%{_sysconfdir}/rc.d/init.d/mysql stop > /dev/null 2>&1
515
echo "Giving mysqld a couple of seconds to exit nicely"
520
mysql_datadir=%{mysqldatadir}
522
# Create data directory if needed
523
if test ! -d $mysql_datadir; then mkdir -m 755 $mysql_datadir; fi
524
if test ! -d $mysql_datadir/mysql; then mkdir $mysql_datadir/mysql; fi
525
if test ! -d $mysql_datadir/test; then mkdir $mysql_datadir/test; fi
527
# Make MySQL start/shutdown automatically when the machine does it.
528
# use insserv for older SuSE Linux versions
529
if test -x /sbin/insserv
531
/sbin/insserv %{_sysconfdir}/init.d/mysql
532
# use chkconfig on Red Hat and newer SuSE releases
533
elif test -x /sbin/chkconfig
535
/sbin/chkconfig --add mysql
538
# Create a MySQL user and group. Do not report any problems if it already
540
groupadd -r %{mysqld_group} 2> /dev/null || true
541
useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
542
# The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
543
usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
545
# Change permissions so that the user that will run the MySQL daemon
546
# owns all database files.
547
chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
549
# Initiate databases if needed
550
%{_bindir}/mysql_install_db --rpm --user=%{mysqld_user}
552
# Upgrade databases if needed would go here - but it cannot be automated yet
554
# Change permissions again to fix any new files.
555
chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
557
# Fix permissions for the permission database so that only the user
559
chmod -R og-rw $mysql_datadir/mysql
561
# Restart in the same way that mysqld will be started normally.
562
%{_sysconfdir}/init.d/mysql start
564
# Allow mysqld_safe to start mysqld and print a message before we exit
567
#echo "Thank you for installing the MySQL Community Server! For Production
568
#systems, we recommend MySQL Enterprise, which contains enterprise-ready
569
#software, intelligent advisory services, and full production support with
570
#scheduled service packs and more. Visit www.mysql.com/enterprise for more
574
mysql_clusterdir=/var/lib/mysql-cluster
576
# Create cluster directory if needed
577
if test ! -d $mysql_clusterdir; then mkdir -m 755 $mysql_clusterdir; fi
583
# Stop MySQL before uninstalling it
584
if test -x %{_sysconfdir}/init.d/mysql
586
%{_sysconfdir}/init.d/mysql stop > /dev/null
588
# Remove autostart of mysql
589
# for older SuSE Linux versions
590
if test -x /sbin/insserv
592
/sbin/insserv -r %{_sysconfdir}/init.d/mysql
593
# use chkconfig on Red Hat and newer SuSE releases
594
elif test -x /sbin/chkconfig
596
/sbin/chkconfig --del mysql
601
# We do not remove the mysql user since it may still own a lot of
604
# Clean up the BuildRoot
606
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
609
%defattr(-,root,root,0755)
611
%doc mysql-release-%{mysql_version}/COPYING mysql-release-%{mysql_version}/README
612
%doc mysql-release-%{mysql_version}/support-files/my-*.cnf
613
%doc mysql-release-%{mysql_version}/support-files/ndb-*.ini
615
%doc %attr(644, root, root) %{_infodir}/mysql.info*
617
%doc %attr(644, root, man) %{_mandir}/man1/my_print_defaults.1*
618
%doc %attr(644, root, man) %{_mandir}/man1/myisam_ftdump.1*
619
%doc %attr(644, root, man) %{_mandir}/man1/myisamchk.1*
620
%doc %attr(644, root, man) %{_mandir}/man1/myisamlog.1*
621
%doc %attr(644, root, man) %{_mandir}/man1/myisampack.1*
622
%doc %attr(644, root, man) %{_mandir}/man8/mysqld.8*
623
%doc %attr(644, root, man) %{_mandir}/man1/mysqld_multi.1*
624
%doc %attr(644, root, man) %{_mandir}/man1/mysqld_safe.1*
625
%doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_privilege_tables.1*
626
%doc %attr(644, root, man) %{_mandir}/man1/mysql_install_db.1*
627
%doc %attr(644, root, man) %{_mandir}/man1/mysqlhotcopy.1*
628
%doc %attr(644, root, man) %{_mandir}/man1/mysqlman.1*
629
%doc %attr(644, root, man) %{_mandir}/man1/mysql.server.1*
630
%doc %attr(644, root, man) %{_mandir}/man1/mysqltest.1*
631
%doc %attr(644, root, man) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
632
%doc %attr(644, root, man) %{_mandir}/man1/mysql_zap.1*
633
%doc %attr(644, root, man) %{_mandir}/man1/perror.1*
634
%doc %attr(644, root, man) %{_mandir}/man1/replace.1*
636
%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf
638
%attr(755, root, root) %{_bindir}/my_print_defaults
639
%attr(755, root, root) %{_bindir}/myisam_ftdump
640
%attr(755, root, root) %{_bindir}/myisamchk
641
%attr(755, root, root) %{_bindir}/myisamlog
642
%attr(755, root, root) %{_bindir}/myisampack
643
%attr(755, root, root) %{_bindir}/mysql_convert_table_format
644
%attr(755, root, root) %{_bindir}/mysql_fix_extensions
645
%attr(755, root, root) %{_bindir}/mysql_fix_privilege_tables
646
%attr(755, root, root) %{_bindir}/mysql_install_db
647
%attr(755, root, root) %{_bindir}/mysql_secure_installation
648
%attr(755, root, root) %{_bindir}/mysql_setpermission
649
%attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
650
%attr(755, root, root) %{_bindir}/mysql_zap
651
%attr(755, root, root) %{_bindir}/mysqlbug
652
%attr(755, root, root) %{_bindir}/mysqld_multi
653
%attr(755, root, root) %{_bindir}/mysqld_safe
654
%attr(755, root, root) %{_bindir}/mysqldumpslow
655
%attr(755, root, root) %{_bindir}/mysqlhotcopy
656
%attr(755, root, root) %{_bindir}/mysqltest
657
%attr(755, root, root) %{_bindir}/perror
658
%attr(755, root, root) %{_bindir}/replace
659
%attr(755, root, root) %{_bindir}/resolve_stack_dump
660
%attr(755, root, root) %{_bindir}/resolveip
662
%attr(755, root, root) %{_sbindir}/mysqld
663
%attr(755, root, root) %{_sbindir}/mysqld-debug
664
%attr(755, root, root) %{_sbindir}/rcmysql
666
%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
667
%attr(755, root, root) %{_sysconfdir}/init.d/mysql
669
%attr(755, root, root) %{_datadir}/mysql/
672
%defattr(-, root, root, 0755)
673
%attr(755, root, root) %{_bindir}/msql2mysql
674
%attr(755, root, root) %{_bindir}/mysql
675
%attr(755, root, root) %{_bindir}/mysql_find_rows
676
%attr(755, root, root) %{_bindir}/mysql_waitpid
677
%attr(755, root, root) %{_bindir}/mysqlaccess
678
%attr(755, root, root) %{_bindir}/mysqladmin
679
%attr(755, root, root) %{_bindir}/mysqlbinlog
680
%attr(755, root, root) %{_bindir}/mysqlcheck
681
%attr(755, root, root) %{_bindir}/mysqldump
682
%attr(755, root, root) %{_bindir}/mysqlimport
683
%attr(755, root, root) %{_bindir}/mysqlshow
684
%attr(755, root, root) %{_bindir}/mysqlslap
686
%doc %attr(644, root, man) %{_mandir}/man1/msql2mysql.1*
687
%doc %attr(644, root, man) %{_mandir}/man1/mysql.1*
688
%doc %attr(644, root, man) %{_mandir}/man1/mysqlaccess.1*
689
%doc %attr(644, root, man) %{_mandir}/man1/mysqladmin.1*
690
%doc %attr(644, root, man) %{_mandir}/man1/mysqlbinlog.1*
691
%doc %attr(644, root, man) %{_mandir}/man1/mysqlcheck.1*
692
%doc %attr(644, root, man) %{_mandir}/man1/mysqldump.1*
693
%doc %attr(644, root, man) %{_mandir}/man1/mysqlimport.1*
694
%doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1*
695
%doc %attr(644, root, man) %{_mandir}/man1/mysqlslap.1*
704
%defattr(-,root,root,0755)
705
%attr(755, root, root) %{_sbindir}/ndbd
706
%doc %attr(644, root, man) %{_mandir}/man8/ndbd.8*
708
%files ndb-management
709
%defattr(-,root,root,0755)
710
%attr(755, root, root) %{_sbindir}/ndb_mgmd
711
%doc %attr(644, root, man) %{_mandir}/man8/ndb_mgmd.8*
714
%defattr(-,root,root,0755)
715
%attr(755, root, root) %{_bindir}/ndb_config
716
%attr(755, root, root) %{_bindir}/ndb_desc
717
%attr(755, root, root) %{_bindir}/ndb_error_reporter
718
%attr(755, root, root) %{_bindir}/ndb_mgm
719
%attr(755, root, root) %{_bindir}/ndb_print_backup_file
720
%attr(755, root, root) %{_bindir}/ndb_print_schema_file
721
%attr(755, root, root) %{_bindir}/ndb_print_sys_file
722
%attr(755, root, root) %{_bindir}/ndb_restore
723
%attr(755, root, root) %{_bindir}/ndb_select_all
724
%attr(755, root, root) %{_bindir}/ndb_select_count
725
%attr(755, root, root) %{_bindir}/ndb_show_tables
726
%attr(755, root, root) %{_bindir}/ndb_size.pl
727
%attr(755, root, root) %{_bindir}/ndb_test_platform
728
%attr(755, root, root) %{_bindir}/ndb_waiter
729
%doc %attr(644, root, man) %{_mandir}/man1/ndb_config.1*
730
%doc %attr(644, root, man) %{_mandir}/man1/ndb_desc.1*
731
%doc %attr(644, root, man) %{_mandir}/man1/ndb_error_reporter.1*
732
%doc %attr(644, root, man) %{_mandir}/man1/ndb_print_backup_file.1*
733
%doc %attr(644, root, man) %{_mandir}/man1/ndb_print_schema_file.1*
734
%doc %attr(644, root, man) %{_mandir}/man1/ndb_print_sys_file.1*
735
%doc %attr(644, root, man) %{_mandir}/man1/ndb_select_all.1*
736
%doc %attr(644, root, man) %{_mandir}/man1/ndb_select_count.1*
737
%doc %attr(644, root, man) %{_mandir}/man1/ndb_show_tables.1*
738
%doc %attr(644, root, man) %{_mandir}/man1/ndb_size.pl.1*
739
%doc %attr(644, root, man) %{_mandir}/man1/ndb_waiter.1*
742
%defattr(-,root,root,0755)
743
%attr(755, root, root) %{_sbindir}/ndb_cpcd
744
%attr(755, root, root) %{_bindir}/ndb_delete_all
745
%attr(755, root, root) %{_bindir}/ndb_drop_index
746
%attr(755, root, root) %{_bindir}/ndb_drop_table
747
%doc %attr(644, root, man) %{_mandir}/man1/ndb_delete_all.1*
748
%doc %attr(644, root, man) %{_mandir}/man1/ndb_drop_index.1*
749
%doc %attr(644, root, man) %{_mandir}/man1/ndb_drop_table.1*
752
%defattr(-, root, root, 0755)
753
%doc mysql-release-%{mysql_version}/EXCEPTIONS-CLIENT
754
%doc %attr(644, root, man) %{_mandir}/man1/mysql_config.1*
755
%attr(755, root, root) %{_bindir}/mysql_config
756
%dir %attr(755, root, root) %{_includedir}/mysql
757
%dir %attr(755, root, root) %{_libdir}/mysql
758
%{_includedir}/mysql/*
759
%{_libdir}/mysql/libdbug.a
760
%{_libdir}/mysql/libheap.a
762
%{_libdir}/mysql/libmygcc.a
764
%{_libdir}/mysql/libmyisam.a
765
%{_libdir}/mysql/libmyisammrg.a
766
%{_libdir}/mysql/libmysqlclient.a
767
%{_libdir}/mysql/libmysqlclient.la
768
%{_libdir}/mysql/libmysqlclient_r.a
769
%{_libdir}/mysql/libmysqlclient_r.la
770
%{_libdir}/mysql/libmystrings.a
771
%{_libdir}/mysql/libmysys.a
772
%{_libdir}/mysql/libndbclient.a
773
%{_libdir}/mysql/libndbclient.la
774
%{_libdir}/mysql/libvio.a
775
%{_libdir}/mysql/libz.a
776
%{_libdir}/mysql/libz.la
779
%defattr(-, root, root, 0755)
780
# Shared libraries (omit for architectures that don't support them)
781
%{_libdir}/libmysql*.so*
782
%{_libdir}/libndb*.so*
785
%defattr(-, root, root, 0755)
786
%attr(-, root, root) %{_datadir}/mysql-test
787
%attr(755, root, root) %{_bindir}/mysql_client_test
788
%attr(755, root, root) %{_bindir}/mysql_client_test_embedded
789
%attr(755, root, root) %{_bindir}/mysqltest_embedded
790
%doc %attr(644, root, man) %{_mandir}/man1/mysql_client_test.1*
791
%doc %attr(644, root, man) %{_mandir}/man1/mysql_client_test_embedded.1*
792
%doc %attr(644, root, man) %{_mandir}/man1/mysql-stress-test.pl.1*
793
%doc %attr(644, root, man) %{_mandir}/man1/mysql-test-run.pl.1*
794
%doc %attr(644, root, man) %{_mandir}/man1/mysqltest_embedded.1*
797
%defattr(-, root, root, 0755)
798
%attr(644, root, root) %{_libdir}/mysql/libmysqld.a
800
# The spec file changelog only includes changes made to the spec file
801
# itself - note that they must be ordered by date (important when
804
* Wed Mar 19 2008 Joerg Bruehe <joerg@mysql.com>
806
- Add the man pages for "ndbd" and "ndb_mgmd".
808
* Mon Feb 18 2008 Timothy Smith <tim@mysql.com>
810
- Require a manual upgrade if the alread-installed mysql-server is
811
from another vendor, or is of a different major version.
813
* Fri Dec 21 2007 Joerg Bruehe <joerg@mysql.com>
815
- "mysqlmanager" got removed from version 6.0, all references deleted.
817
* Thu Dec 06 2007 Jonathan Perkin <jperkin@mysql.com>
819
- Enabled the "Falcon" storage engine on i386/x86_64.
821
* Wed May 02 2007 Joerg Bruehe <joerg@mysql.com>
823
- "ndb_size.tmpl" is not needed any more,
824
"man1/mysql_install_db.1" lacked the trailing '*'.
826
* Sat Apr 07 2007 Kent Boortz <kent@mysql.com>
828
- Removed man page for "mysql_create_system_tables"
830
* Wed Mar 21 2007 Daniel Fischer <df@mysql.com>
834
* Mon Mar 19 2007 Daniel Fischer <df@mysql.com>
836
- Remove Max RPMs; the server RPMs contain a mysqld compiled with all
837
features that previously only were built into Max.
839
* Fri Mar 02 2007 Joerg Bruehe <joerg@mysql.com>
841
- Add several man pages for NDB which are now created.
843
* Fri Jan 05 2007 Kent Boortz <kent@mysql.com>
845
- Put back "libmygcc.a", found no real reason it was removed.
847
- Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
848
correct "libgcc.a" path is returned for the 32/64 bit architecture.
850
* Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com>
852
- Fix the move of "mysqlmanager" to section 8: Directory name was wrong.
854
* Thu Dec 14 2006 Joerg Bruehe <joerg@mysql.com>
856
- Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
858
- The "mysqlmanager" man page got moved from section 1 to 8.
860
* Thu Nov 30 2006 Joerg Bruehe <joerg@mysql.com>
862
- Call "make install" using "benchdir_root=%{_datadir}",
863
because that is affecting the regression test suite as well.
865
* Thu Nov 16 2006 Joerg Bruehe <joerg@mysql.com>
867
- Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
868
replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
871
* Mon Nov 13 2006 Joerg Bruehe <joerg@mysql.com>
873
- Add "--with-partition" to all server builds.
875
- Use "--report-features" in one test run per server build.
877
* Tue Aug 15 2006 Joerg Bruehe <joerg@mysql.com>
879
- The "max" server is removed from packages, effective from 5.1.12-beta.
880
Delete all steps to build, package, or install it.
882
* Mon Jul 10 2006 Joerg Bruehe <joerg@mysql.com>
884
- Fix a typing error in the "make" target for the Perl script to run the tests.
886
* Tue Jul 04 2006 Joerg Bruehe <joerg@mysql.com>
888
- Use the Perl script to run the tests, because it will automatically check
889
whether the server is configured with SSL.
891
* Tue Jun 27 2006 Joerg Bruehe <joerg@mysql.com>
893
- move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)
895
- Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
896
there are some more aspects which need to be solved before this is possible.
897
For now, just ensure the binary "mysql_upgrade" is delivered and installed.
899
* Thu Jun 22 2006 Joerg Bruehe <joerg@mysql.com>
901
- Close a gap of the previous version by explicitly using
902
a newly created temporary directory for the socket to be used
903
in the "mysql_upgrade" operation, overriding any local setting.
905
* Tue Jun 20 2006 Joerg Bruehe <joerg@mysql.com>
907
- To run "mysql_upgrade", we need a running server;
908
start it in isolation and skip password checks.
910
* Sat May 20 2006 Kent Boortz <kent@mysql.com>
912
- Always compile for PIC, position independent code.
914
* Wed May 10 2006 Kent Boortz <kent@mysql.com>
916
- Use character set "all" when compiling with Cluster, to make Cluster
917
nodes independent on the character set directory, and the problem
918
that two RPM sub packages both wants to install this directory.
920
* Mon May 01 2006 Kent Boortz <kent@mysql.com>
922
- Use "./libtool --mode=execute" instead of searching for the
923
executable in current directory and ".libs".
925
* Fri Apr 28 2006 Kent Boortz <kent@mysql.com>
927
- Install and run "mysql_upgrade"
929
* Wed Apr 12 2006 Jim Winstead <jimw@mysql.com>
931
- Remove sql-bench, and MySQL-bench RPM (will be built as an independent
932
project from the mysql-bench repository)
934
* Tue Apr 11 2006 Jim Winstead <jimw@mysql.com>
936
- Remove old mysqltestmanager and related programs
937
* Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
939
- Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
941
* Wed Mar 07 2006 Kent Boortz <kent@mysql.com>
943
- Changed product name from "Community Edition" to "Community Server"
945
* Mon Mar 06 2006 Kent Boortz <kent@mysql.com>
947
- Fast mutexes is now disabled by default, but should be
948
used in Linux builds.
950
* Mon Feb 20 2006 Kent Boortz <kent@mysql.com>
952
- Reintroduced a max build
953
- Limited testing of 'debug' and 'max' servers
954
- Berkeley DB only in 'max'
956
* Mon Feb 13 2006 Joerg Bruehe <joerg@mysql.com>
958
- Use "-i" on "make test-force";
959
this is essential for later evaluation of this log file.
961
* Thu Feb 09 2006 Kent Boortz <kent@mysql.com>
963
- Pass '-static' to libtool, link static with our own libraries, dynamic
964
with system libraries. Link with the bundled zlib.
966
* Wed Feb 08 2006 Kristian Nielsen <knielsen@mysql.com>
968
- Modified RPM spec to match new 5.1 debug+max combined community packaging.
970
* Sun Dec 18 2005 Kent Boortz <kent@mysql.com>
972
- Added "client/mysqlslap"
974
* Mon Dec 12 2005 Rodrigo Novo <rodrigo@mysql.com>
976
- Added zlib to the list of (static) libraries installed
977
- Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
978
- Compile MySQL with bundled zlib
979
- Fixed %packager name to "MySQL Production Engineering Team"
981
* Mon Dec 05 2005 Joerg Bruehe <joerg@mysql.com>
983
- Avoid using the "bundled" zlib on "shared" builds:
984
As it is not installed (on the build system), this gives dependency
985
problems with "libtool" causing the build to fail.
986
(Change was done on Nov 11, but left uncommented.)
988
* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com>
990
- Extend the file existence check for "init.d/mysql" on un-install
991
to also guard the call to "insserv"/"chkconfig".
993
* Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com>
995
- added more man pages
997
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
999
- Made yaSSL support an option (off by default)
1001
* Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
1003
- Enabled yaSSL support
1005
* Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
1007
- Give mode arguments the same way in all places
1008
- Moved copy of mysqld.a to "standard" build, but
1009
disabled it as we don't do embedded yet in 5.0
1011
* Fri Oct 14 2005 Kent Boortz <kent@mysql.com>
1013
- For 5.x, always compile with --with-big-tables
1014
- Copy the config.log file to location outside
1017
* Fri Oct 14 2005 Kent Boortz <kent@mysql.com>
1019
- Removed unneeded/obsolete configure options
1020
- Added archive engine to standard server
1021
- Removed the embedded server from experimental server
1022
- Changed suffix "-Max" => "-max"
1023
- Changed comment string "Max" => "Experimental"
1025
* Thu Oct 13 2005 Lenz Grimmer <lenz@mysql.com>
1027
- added a usermod call to assign a potential existing mysql user to the
1028
correct user group (BUG#12823)
1029
- Save the perror binary built during Max build so it supports the NDB
1030
error codes (BUG#13740)
1031
- added a separate macro "mysqld_group" to be able to define the
1032
user group of the mysql user seperately, if desired.
1034
* Thu Sep 29 2005 Lenz Grimmer <lenz@mysql.com>
1036
- fixed the removing of the RPM_BUILD_ROOT in the %clean section (the
1037
$RBR variable did not get expanded, thus leaving old build roots behind)
1039
* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com>
1041
- Fixed the creation of the mysql user group account in the postinstall
1043
- Fixed enabling the Archive storage engine in the Max binary
1045
* Tue Aug 02 2005 Lenz Grimmer <lenz@mysql.com>
1047
- Fixed the Requires: tag for the server RPM (BUG 12233)
1049
* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com>
1051
- create a "mysql" user group and assign the mysql user account to that group
1052
in the server postinstall section. (BUG 10984)
1054
* Tue Jun 14 2005 Lenz Grimmer <lenz@mysql.com>
1056
- Do not build statically on i386 by default, only when adding either "--with
1057
static" or "--define '_with_static 1'" to the RPM build options. Static
1058
linking really only makes sense when linking against the specially patched
1061
* Mon Jun 06 2005 Lenz Grimmer <lenz@mysql.com>
1063
- added mysql_client_test to the "bench" subpackage (BUG 10676)
1064
- added the libndbclient static and shared libraries (BUG 10676)
1066
* Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com>
1068
- use "mysqldatadir" variable instead of hard-coding the path multiple times
1069
- use the "mysqld_user" variable on all occasions a user name is referenced
1070
- removed (incomplete) Brazilian translations
1071
- removed redundant release tags from the subpackage descriptions
1073
* Wed May 25 2005 Joerg Bruehe <joerg@mysql.com>
1075
- Added a "make clean" between separate calls to "BuildMySQL".
1077
* Thu May 12 2005 Guilhem Bichot <guilhem@mysql.com>
1079
- Removed the mysql_tableinfo script made obsolete by the information schema
1081
* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com>
1083
- Enabled the "blackhole" storage engine for the Max RPM
1085
* Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com>
1087
- removed the MySQL manual files (html/ps/texi) - they have been removed
1088
from the MySQL sources and are now available seperately.
1090
* Mon Apr 4 2005 Petr Chardin <petr@mysql.com>
1092
- old mysqlmanager, mysqlmanagerc and mysqlmanager-pwger renamed into
1093
mysqltestmanager, mysqltestmanager and mysqltestmanager-pwgen respectively
1095
* Fri Mar 18 2005 Lenz Grimmer <lenz@mysql.com>
1097
- Disabled RAID in the Max binaries once and for all (it has finally been
1098
removed from the source tree)
1100
* Sun Feb 20 2005 Petr Chardin <petr@mysql.com>
1102
- Install MySQL Instance Manager together with mysqld, touch mysqlmanager
1105
* Mon Feb 14 2005 Lenz Grimmer <lenz@mysql.com>
1107
- Fixed the compilation comments and moved them into the separate build sections
1108
for Max and Standard
1110
* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com>
1112
- enabled the "Ndbcluster" storage engine for the max binary
1113
- added extra make install in ndb subdir after Max build to get ndb binaries
1114
- added packages for ndbcluster storage engine
1116
* Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com>
1118
- replaced obsoleted "BuildPrereq" with "BuildRequires" instead
1120
* Thu Jan 13 2005 Lenz Grimmer <lenz@mysql.com>
1122
- enabled the "Federated" storage engine for the max binary
1124
* Tue Jan 04 2005 Petr Chardin <petr@mysql.com>
1126
- ISAM and merge storage engines were purged. As well as appropriate
1127
tools and manpages (isamchk and isamlog)
1129
* Thu Dec 31 2004 Lenz Grimmer <lenz@mysql.com>
1131
- enabled the "Archive" storage engine for the max binary
1132
- enabled the "CSV" storage engine for the max binary
1133
- enabled the "Example" storage engine for the max binary
1135
* Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com>
1137
- MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860)
1139
* Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com>
1141
- do not link statically on IA64/AMD64 as these systems do not have
1142
a patched glibc installed
1144
* Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com>
1146
- Added libmygcc.a to the devel subpackage (required to link applications
1147
against the the embedded server libmysqld.a) (BUG 4921)
1149
* Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com>
1151
- Added EXCEPTIONS-CLIENT to the "devel" package
1153
* Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com>
1155
- disabled OpenSSL in the Max binaries again (the RPM packages were the
1156
only exception to this anyway) (BUG 1043)
1158
* Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com>
1160
- fixed server postinstall (mysql_install_db was called with the wrong
1163
* Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com>
1165
- added mysql_tzinfo_to_sql to the server subpackage
1166
- run "make clean" instead of "make distclean"
1168
* Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com>
1170
- added ncurses-devel to the build prerequisites (BUG 3377)
1172
* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com>
1174
- when using gcc, _always_ use CXX=gcc
1175
- replaced Copyright with License field (Copyright is obsolete)
1177
* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com>
1179
- added myisam_ftdump to the Server package
1181
* Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com>
1183
- link the mysql client against libreadline instead of libedit (BUG 2289)
1185
* Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com>
1187
- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
1189
* Fri Dec 13 2003 Lenz Grimmer <lenz@mysql.com>
1191
- fixed file permissions (BUG 1672)
1193
* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com>
1195
- made testing for gcc3 a bit more robust
1197
* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com>
1199
- added missing file mysql_create_system_tables to the server subpackage
1201
* Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com>
1203
- removed dependency on MySQL-client from the MySQL-devel subpackage
1204
as it is not really required. (BUG 1610)
1206
* Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com>
1208
- Fixed BUG 1162 (removed macro names from the changelog)
1209
- Really fixed BUG 998 (disable the checking for installed but
1212
* Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com>
1214
- Fixed BUG 959 (libmysqld not being compiled properly)
1215
- Fixed BUG 998 (RPM build errors): added missing files to the
1216
distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
1217
mysql_fix_privilege_tables.1), removed "-n" from install section.
1219
* Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com>
1221
- removed the GIF Icon (file was not included in the sources anyway)
1222
- removed unused variable shared_lib_version
1223
- do not run automake before building the standard binary
1224
(should not be necessary)
1225
- add server suffix '-standard' to standard binary (to be in line
1226
with the binary tarball distributions)
1227
- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
1228
_datadir, _includedir) throughout the spec file.
1229
- allow overriding CC and CXX (required when building with other compilers)
1231
* Fri May 16 2003 Lenz Grimmer <lenz@mysql.com>
1233
- re-enabled RAID again
1235
* Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com>
1237
- disabled MyISAM RAID (--with-raid) - it throws an assertion which
1238
needs to be investigated first.
1240
* Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com>
1242
- added missing file mysql_secure_installation to server subpackage
1245
* Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com>
1247
- re-added missing pre- and post(un)install scripts to server subpackage
1248
- added config file /etc/my.cnf to the file list (just for completeness)
1249
- make sure to create the datadir with 755 permissions
1251
* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com>
1253
- removed unused CC and CXX variables
1254
- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
1256
* Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com>
1258
- renamed package "MySQL" to "MySQL-server"
1259
- fixed Copyright tag
1260
- added mysql_waitpid to client subpackage (required for mysql-test-run)
1262
* Wed Nov 27 2002 Lenz Grimmer <lenz@mysql.com>
1264
- moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of
1265
Linux distributions now support this scheme as proposed by the LSB either
1266
directly or via a compatibility symlink)
1267
- Use new "restart" init script action instead of starting and stopping
1269
- Be more flexible in activating the automatic bootup - use insserv (on
1270
older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and
1271
others) to create the respective symlinks
1273
* Wed Sep 25 2002 Lenz Grimmer <lenz@mysql.com>
1275
- MySQL-Max now requires MySQL >= 4.0 to avoid version mismatches
1276
(mixing 3.23 and 4.0 packages)
1278
* Fri Aug 09 2002 Lenz Grimmer <lenz@mysql.com>
1280
- Turn off OpenSSL in MySQL-Max for now until it works properly again
1281
- enable RAID for the Max binary instead
1282
- added compatibility link: safe_mysqld -> mysqld_safe to ease the
1283
transition from 3.23
1285
* Thu Jul 18 2002 Lenz Grimmer <lenz@mysql.com>
1287
- Reworked the build steps a little bit: the Max binary is supposed
1288
to include OpenSSL, which cannot be linked statically, thus trying
1289
to statically link against a special glibc is futile anyway
1290
- because of this, it is not required to make yet another build run
1291
just to compile the shared libs (saves a lot of time)
1292
- updated package description of the Max subpackage
1293
- clean up the BuildRoot directory afterwards
1295
* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com>
1297
- Updated Packager information
1298
- Fixed the build options: the regular package is supposed to
1299
include InnoDB and linked statically, while the Max package
1300
should include BDB and SSL support
1302
* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com>
1304
- Use more RPM macros (e.g. infodir, mandir) to make the spec
1306
- reorganized the installation of documentation files: let RPM
1308
- reorganized the file list: actually install man pages along
1309
with the binaries of the respective subpackage
1310
- do not include libmysqld.a in the devel subpackage as well, if we
1311
have a special "embedded" subpackage
1312
- reworked the package descriptions
1314
* Mon Oct 8 2001 Monty
1316
- Added embedded server as a separate RPM
1318
* Fri Apr 13 2001 Monty
1320
- Added mysqld-max to the distribution
1322
* Tue Jan 2 2001 Monty
1324
- Added mysql-test to the bench package
1326
* Fri Aug 18 2000 Tim Smith <tim@mysql.com>
1328
- Added separate libmysql_r directory; now both a threaded
1329
and non-threaded library is shipped.
1331
* Wed Sep 28 1999 David Axmark <davida@mysql.com>
1333
- Added the support-files/my-example.cnf to the docs directory.
1335
- Removed devel dependency on base since it is about client
1338
* Wed Sep 8 1999 David Axmark <davida@mysql.com>
1340
- Cleaned up some for 3.23.
1342
* Thu Jul 1 1999 David Axmark <davida@mysql.com>
1344
- Added support for shared libraries in a separate sub
1345
package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
1347
- The --enable-assembler switch is now automatically disables on
1348
platforms there assembler code is unavailable. This should allow
1349
building this RPM on non i386 systems.
1351
* Mon Feb 22 1999 David Axmark <david@detron.se>
1353
- Removed unportable cc switches from the spec file. The defaults can
1354
now be overridden with environment variables. This feature is used
1355
to compile the official RPM with optimal (but compiler version
1358
- Removed the repetitive description parts for the sub rpms. Maybe add
1359
again if RPM gets a multiline macro capability.
1361
- Added support for a pt_BR translation. Translation contributed by
1362
Jorge Godoy <jorge@bestway.com.br>.
1364
* Wed Nov 4 1998 David Axmark <david@detron.se>
1366
- A lot of changes in all the rpm and install scripts. This may even
1367
be a working RPM :-)
1369
* Sun Aug 16 1998 David Axmark <david@detron.se>
1371
- A developers changelog for MySQL is available in the source RPM. And
1372
there is a history of major user visible changed in the Reference
1373
Manual. Only RPM specific changes will be documented here.