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