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