51 |
%define muser mysql |
%define muser mysql |
52 |
Summary: A very fast and reliable SQL database engine |
Summary: A very fast and reliable SQL database engine |
53 |
Name: mysql |
Name: mysql |
54 |
Version: 5.5.10 |
Version: 5.5.23 |
55 |
Release: %mkrel 8 |
Release: %mkrel 1 |
56 |
Group: Databases |
Group: Databases |
57 |
License: GPL |
License: GPL |
58 |
URL: http://www.mysql.com/ |
URL: http://www.mysql.com/ |
60 |
# To remove the non-free documentation, run this script after downloading |
# To remove the non-free documentation, run this script after downloading |
61 |
# the tarball into the current directory: |
# the tarball into the current directory: |
62 |
# ./generate-tarball.sh $VERSION |
# ./generate-tarball.sh $VERSION |
63 |
Source0: mysql-%{version}-nodocs.tar.gz |
Source0: mysql-%{version}-nodocs.tar.xz |
64 |
Source1: generate-tarball.sh |
Source1: generate-tarball.sh |
65 |
Source2: mysqld.sysconfig |
Source2: mysqld.sysconfig |
66 |
Source3: my.cnf |
Source3: my.cnf |
77 |
Patch7: mysql-dubious-exports.patch |
Patch7: mysql-dubious-exports.patch |
78 |
Patch8: mysql-disable-test.patch |
Patch8: mysql-disable-test.patch |
79 |
Patch9: mysql-home.patch |
Patch9: mysql-home.patch |
|
Patch10: mysql-embedded-crash.patch |
|
80 |
|
|
81 |
# mandriva patches |
# mandriva patches |
82 |
Patch100: mysql-mysqldumpslow_no_basedir.diff |
Patch100: mysql-mysqldumpslow_no_basedir.diff |
84 |
Patch102: mysql-initscript.diff |
Patch102: mysql-initscript.diff |
85 |
Patch103: mysql_upgrade-exit-status.patch |
Patch103: mysql_upgrade-exit-status.patch |
86 |
Patch104: mysql-5.1.31-shebang.patch |
Patch104: mysql-5.1.31-shebang.patch |
87 |
Patch105: mysql-5.1.35-test-variables-big.patch |
Patch105: mysql-5.5.23-test-variables-big.patch |
88 |
Patch106: mysql-5.1.36-hotcopy.patch |
Patch106: mysql-5.1.36-hotcopy.patch |
89 |
Patch107: mysql-install_db-quiet.patch |
Patch107: mysql-install_db-quiet.patch |
90 |
Patch109: mysql_valist_fix.patch |
Patch109: mysql_valist_fix.patch |
299 |
%patch7 -p1 -b .dubious-exports |
%patch7 -p1 -b .dubious-exports |
300 |
%patch8 -p1 -b .disable-test |
%patch8 -p1 -b .disable-test |
301 |
%patch9 -p1 -b .mysql-home |
%patch9 -p1 -b .mysql-home |
|
%patch10 -p1 -b .mysql-embedded-crash |
|
302 |
|
|
303 |
# mandriva patches |
# mandriva patches |
304 |
%patch100 -p0 -b .mysqldumpslow_no_basedir |
%patch100 -p0 -b .mysqldumpslow_no_basedir |
306 |
%patch102 -p0 -b .initscript |
%patch102 -p0 -b .initscript |
307 |
%patch103 -p1 -b .mysql_upgrade-exit-status |
%patch103 -p1 -b .mysql_upgrade-exit-status |
308 |
%patch104 -p1 -b .shebang |
%patch104 -p1 -b .shebang |
309 |
%patch105 -p0 -b .test-variables-big |
%patch105 -p1 -b .test-variables-big |
310 |
%patch106 -p0 -b .hotcopy |
%patch106 -p0 -b .hotcopy |
311 |
%patch107 -p0 -b .install_db-quiet |
%patch107 -p0 -b .install_db-quiet |
312 |
%patch109 -p1 -b .va_list_arm |
%patch109 -p1 -b .va_list_arm |
484 |
rm -f %{buildroot}%{_datadir}/mysql/mysql.server |
rm -f %{buildroot}%{_datadir}/mysql/mysql.server |
485 |
rm -f %{buildroot}%{_datadir}/mysql/ndb-config-2-node.ini |
rm -f %{buildroot}%{_datadir}/mysql/ndb-config-2-node.ini |
486 |
rm -f %{buildroot}%{_datadir}/mysql/binary-configure |
rm -f %{buildroot}%{_datadir}/mysql/binary-configure |
487 |
|
rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini |
488 |
rm -f %{buildroot}%{_mandir}/man1/make_win_bin_dist.1* |
rm -f %{buildroot}%{_mandir}/man1/make_win_bin_dist.1* |
489 |
rm -f %{buildroot}%{_mandir}/man1/make_win_src_distribution.1* |
rm -f %{buildroot}%{_mandir}/man1/make_win_src_distribution.1* |
490 |
rm -f %{buildroot}%{_datadir}/mysql/magic |
rm -f %{buildroot}%{_datadir}/mysql/magic |
645 |
%attr(0755,root,root) %{_bindir}/mysqlcheck |
%attr(0755,root,root) %{_bindir}/mysqlcheck |
646 |
%attr(0755,root,root) %{_bindir}/mysqldump |
%attr(0755,root,root) %{_bindir}/mysqldump |
647 |
%attr(0755,root,root) %{_bindir}/mysqldumpslow |
%attr(0755,root,root) %{_bindir}/mysqldumpslow |
648 |
|
%attr(0755,root,root) %{_bindir}/mysql_embedded |
649 |
%attr(0755,root,root) %{_bindir}/mysql_find_rows |
%attr(0755,root,root) %{_bindir}/mysql_find_rows |
650 |
%attr(0755,root,root) %{_bindir}/mysqlimport |
%attr(0755,root,root) %{_bindir}/mysqlimport |
651 |
%attr(0755,root,root) %{_bindir}/mysqloptimize |
%attr(0755,root,root) %{_bindir}/mysqloptimize |
652 |
|
%attr(0755,root,root) %{_bindir}/mysql_plugin |
653 |
%attr(0755,root,root) %{_bindir}/mysqlrepair |
%attr(0755,root,root) %{_bindir}/mysqlrepair |
654 |
%attr(0755,root,root) %{_bindir}/mysqlshow |
%attr(0755,root,root) %{_bindir}/mysqlshow |
655 |
%attr(0755,root,root) %{_bindir}/mysqlslap |
%attr(0755,root,root) %{_bindir}/mysqlslap |
665 |
%attr(0644,root,root) %{_mandir}/man1/mysqldumpslow.1* |
%attr(0644,root,root) %{_mandir}/man1/mysqldumpslow.1* |
666 |
%attr(0644,root,root) %{_mandir}/man1/mysql_find_rows.1* |
%attr(0644,root,root) %{_mandir}/man1/mysql_find_rows.1* |
667 |
%attr(0644,root,root) %{_mandir}/man1/mysqlimport.1* |
%attr(0644,root,root) %{_mandir}/man1/mysqlimport.1* |
668 |
|
%attr(0644,root,root) %{_mandir}/man1/mysql_plugin.1* |
669 |
%attr(0644,root,root) %{_mandir}/man1/mysqlshow.1* |
%attr(0644,root,root) %{_mandir}/man1/mysqlshow.1* |
670 |
%attr(0644,root,root) %{_mandir}/man1/mysql_waitpid.1* |
%attr(0644,root,root) %{_mandir}/man1/mysql_waitpid.1* |
671 |
|
|