2 # - trigger that prepares system from pre-cluster into cluster
3 # - trigger /etc/mysqld.conf into /etc/mysql/mysqld.conf. Solve possible
4 # conflict with /var/lib/mysql/mysqld.conf
5 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1011008.html
6 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1010979.html
9 %bcond_with bdb # Berkeley DB support
11 %include /usr/lib/rpm/macros.perl
12 Summary: MySQL: a very fast and reliable SQL database engine
13 Summary(fr): MySQL: un serveur SQL rapide et fiable
14 Summary(pl): MySQL: bardzo szybka i niezawodna baza danych (SQL)
15 Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável
16 Summary(ru): MySQL - ÂÙÓÔÒÙÊ SQL-ÓÅÒ×ÅÒ
17 Summary(uk): MySQL - Û×ÉÄËÉÊ SQL-ÓÅÒ×ÅÒ
18 Summary(zh_CN): MySQLÊý¾Ý¿â·þÎñÆ÷
20 Group: Applications/Databases
24 Source0: http://mysql.linux.cz/Downloads/MySQL-4.0/mysql-%{version}.tar.gz
25 # Source0-md5: 7c75ac74e23396bd228dbc2c2d1131df
27 Source2: %{name}.sysconfig
28 Source3: %{name}.logrotate
29 Source4: %{name}d.conf
30 Source5: %{name}-clusters.conf
31 Source6: %{name}.monitrc
32 Patch0: %{name}-libs.patch
33 Patch1: %{name}-libwrap.patch
34 Patch2: %{name}-c++.patch
35 Patch3: %{name}-_r-link.patch
36 Patch4: %{name}-info.patch
37 Patch5: %{name}-dump_quote_db_names.patch
38 Patch7: %{name}-sql-cxx-pic.patch
39 Patch8: %{name}-noproc.patch
40 Patch9: %{name}-fix_privilege_tables.patch
41 Patch10: %{name}-nptl.patch
42 Patch11: %{name}-sec-hotcopy.patch
44 URL: http://www.mysql.com/
45 #BuildRequires: ORBit-devel
46 BuildRequires: /bin/ps
47 BuildRequires: autoconf
48 BuildRequires: automake
49 %{?with_bdb:BuildRequires: db3-devel}
50 BuildRequires: libstdc++-devel >= 5:3.0
51 BuildRequires: libtool
52 BuildRequires: libwrap-devel
53 BuildRequires: ncurses-devel >= 4.2
54 BuildRequires: openssl-devel >= 0.9.7d
55 BuildRequires: perl-DBI
56 BuildRequires: perl-devel >= 1:5.6.1
57 BuildRequires: readline-devel >= 4.2
58 BuildRequires: rpm-perlprov >= 4.1-13
59 BuildRequires: texinfo
60 BuildRequires: zlib-devel
61 PreReq: rc-scripts >= 0.2.0
62 Requires(pre): /usr/bin/getgid
63 Requires(pre): /bin/id
64 Requires(pre): /usr/sbin/groupadd
65 Requires(pre): /usr/sbin/useradd
66 Requires(postun): /usr/sbin/userdel
67 Requires(postun): /usr/sbin/groupdel
68 Requires(post,preun): /sbin/chkconfig
69 Requires: %{name}-libs = %{version}-%{release}
70 Requires: /usr/bin/setsid
71 Provides: MySQL-server
73 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75 Obsoletes: mysql-server
77 %define _libexecdir %{_sbindir}
78 %define _localstatedir /var/lib/mysql
79 %define _mysqlhome /home/services/mysql
81 %define _noautoreqdep 'perl(DBD::mysql)'
82 # workaround for buggy gcc 3.3.1
83 %define specflags_alpha -mno-explicit-relocs
86 MySQL is a true multi-user, multi-threaded SQL (Structured Query
87 Language) database server. SQL is the most popular database language
88 in the world. MySQL is a client/server implementation that consists of
89 a server daemon mysqld and many different client programs/libraries.
91 The main goals of MySQL are speed, robustness and easy to use. MySQL
92 was originally developed because we at Tcx needed a SQL server that
93 could handle very big databases with magnitude higher speed than what
94 any database vendor could offer to us. We have now been using MySQL
95 since 1996 in a environment with more than 40 databases, 10,000
96 tables, of which more than 500 have more than 7 million rows. This is
97 about 50G of mission critical data.
99 The base upon which MySQL is built is a set of routines that have been
100 used in a highly demanding production environment for many years.
101 While MySQL is still in development, it already offers a rich and
102 highly useful function set.
105 MySQL est un serveur de bases de donnees SQL vraiment multi-usagers et
106 multi-taches. Le langage SQL est le langage de bases de donnees le
107 plus populaire au monde. MySQL est une implementation client/serveur
108 qui consiste en un serveur (mysqld) et differents
109 programmes/bibliotheques clientes.
111 Les objectifs principaux de MySQL sont: vitesse, robustesse et
112 facilite d'utilisation. MySQL fut originalement developpe parce que
113 nous, chez Tcx, avions besoin d'un serveur SQL qui pouvait gerer de
114 tres grandes bases de donnees avec une vitesse d'un ordre de magnitude
115 superieur a ce que n'importe quel vendeur pouvait nous offrir. Nous
116 utilisons MySQL depuis 1996 dans un environnement avec plus de 40
117 bases de donnees, 10000 tables, desquelles plus de 500 ont plus de 7
118 millions de lignes. Ceci represente environ 50G de donnees critiques.
120 A la base de la conception de MySQL, on retrouve une serie de routines
121 qui ont ete utilisees dans un environnement de production pendant
122 plusieurs annees. Meme si MySQL est encore en developpement, il offre
123 deja une riche et utile serie de fonctions.
126 MySQL to prawdziwie wielou¿ytkownikowy, wielow±tkowy serwer baz danych
127 SQL. SQL jest najpopularniejszym na ¶wiecie jêzykiem u¿ywanym do baz
128 danych. MySQL to implementacja klient/serwer sk³adaj±ca siê z demona
129 mysqld i wielu ró¿nych programów i bibliotek klienckich.
131 G³ównymi celami MySQL-a s± szybko¶æ, potêga i ³atwo¶æ u¿ytkowania.
132 MySQL oryginalnie by³ tworzony, poniewa¿ autorzy w Tcx potrzebowali
133 serwera SQL do obs³ugi bardzo du¿ych baz danych z szybko¶ci± o wiele
134 wiêksz±, ni¿ mogli zaoferowaæ inni producenci baz danych. U¿ywaj± go
135 od 1996 roku w ¶rodowisku z ponad 40 bazami danych, 10 000 tabel,
136 z których ponad 500 zawiera ponad 7 milionów rekordów - w sumie oko³o
137 50GB krytycznych danych.
139 Baza, na której oparty jest MySQL, sk³ada siê ze zbioru procedur,
140 które by³y u¿ywane w bardzo wymagaj±cym ¶rodowisku produkcyjnym przez
141 wiele lat. Pomimo, ¿e MySQL jest ci±gle rozwijany, ju¿ oferuje bogaty
142 i u¿yteczny zbiór funkcji.
144 %description -l pt_BR
145 O MySQL é um servidor de banco de dados SQL realmente multiusuário e
146 multi-tarefa. A linguagem SQL é a mais popular linguagem para banco de
147 dados no mundo. O MySQL é uma implementação cliente/servidor que
148 consiste de um servidor chamado mysqld e diversos
149 programas/bibliotecas clientes. Os principais objetivos do MySQL são:
150 velocidade, robustez e facilidade de uso. O MySQL foi originalmente
151 desenvolvido porque nós na Tcx precisávamos de um servidor SQL que
152 pudesse lidar com grandes bases de dados e com uma velocidade muito
153 maior do que a que qualquer vendedor podia nos oferecer. Estamos
154 usando o MySQL desde 1996 em um ambiente com mais de 40 bases de dados
155 com 10.000 tabelas, das quais mais de 500 têm mais de 7 milhões de
156 linhas. Isto é o equivalente a aproximadamente 50G de dados críticos.
157 A base da construção do MySQL é uma série de rotinas que foram usadas
158 em um ambiente de produção com alta demanda por muitos anos. Mesmo o
159 MySQL estando ainda em desenvolvimento, ele já oferece um conjunto de
160 funções muito ricas e úteis. Veja a documentação para maiores
164 MySQL - ÜÔÏ SQL (Structured Query Language) ÓÅÒ×ÅÒ ÂÁÚÙ ÄÁÎÎÙÈ. MySQL
165 ÂÙÌÁ ÎÁÐÉÓÁÎÁ Michael'ÏÍ (monty) Widenius'ÏÍ. óÍ. ÆÁÊÌ CREDITS ×
166 ÄÉÓÔÒÉÂÕÔÉ×Å ÎÁ ÐÒÅÄÍÅÔ ÄÒÕÇÉÈ ÕÞÁÓÔÎÉËÏ× ÐÒÏÅËÔÁ É ÐÒÏÞÅÊ ÉÎÆÏÒÍÁÃÉÉ
170 MySQL - ÃÅ SQL (Structured Query Language) ÓÅÒ×ÅÒ ÂÁÚÉ ÄÁÎÉÈ. MySQL
171 ÂÕÌÏ ÎÁÐÉÓÁÎÏ Michael'ÏÍ (monty) Widenius'ÏÍ. äÉ×. ÆÁÊÌ CREDITS ×
172 ÄÉÓÔÒÉÂÕÔÉצ ÄÌÑ ¦ÎÆÏÒÍÁæ§ ÐÒÏ ¦ÎÛÉÈ ÕÞÁÓÎÉË¦× ÐÒÏÅËÔÕ ÔÁ ¦ÎÛϧ
176 Summary: MySQL additional utilities
177 Summary(pl): Dodatkowe narzêdzia do MySQL
178 Group: Applications/Databases
179 Requires: %{name}-libs = %{version}-%{release}
182 MySQL additional utilities except Perl scripts (they may be found in
183 %{name}-extras-perl package).
185 %description extras -l pl
186 Dodatkowe narzêdzia do MySQL - z wyj±tkiem skryptów Perla (które s± w
187 pakiecie %{name}-extras-perl).
190 Summary: MySQL additional utilities written in Perl
191 Summary(pl): Dodatkowe narzêdzia do MySQL napisane w Perlu
192 Group: Applications/Databases
193 Requires: %{name}-extras = %{version}-%{release}
194 Requires: perl(DBD::mysql)
196 %description extras-perl
197 MySQL additional utilities written in Perl.
199 %description extras-perl -l pl
200 Dodatkowe narzêdzia do MySQL napisane w Perlu.
203 Summary: MySQL - Client
204 Summary(pl): MySQL - Klient
205 Summary(pt): MySQL - Cliente
206 Summary(ru): MySQL ËÌÉÅÎÔ
207 Summary(uk): MySQL Ë̦¤ÎÔ
208 Group: Applications/Databases
209 Requires: %{name}-libs = %{version}-%{release}
210 Obsoletes: MySQL-client
213 This package contains the standard MySQL clients.
215 %description client -l fr
216 Ce package contient les clients MySQL standards.
218 %description client -l pl
219 Standardowe programy klienckie MySQL.
221 %description client -l pt_BR
222 Este pacote contém os clientes padrão para o MySQL.
224 %description client -l ru
225 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÔÏÌØËÏ ËÌÉÅÎÔ MySQL.
227 %description client -l uk
228 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÁ MySQL.
231 Summary: Shared libraries for MySQL
232 Summary(pl): Biblioteki dzielone MySQL
233 Group: Applications/Databases
234 Obsoletes: libmysql10
237 Shared libraries for MySQL.
239 %description libs -l pl
240 Biblioteki dzielone MySQL.
243 Summary: MySQL - Development header files and libraries
244 Summary(pl): MySQL - Pliki nag³ówkowe i biblioteki dla programistów
245 Summary(pt): MySQL - Medições de desempenho
246 Summary(ru): MySQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
247 Summary(uk): MySQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
248 Group: Development/Libraries
249 Requires: %{name}-libs = %{version}-%{release}
250 Requires: openssl-devel
252 Obsoletes: MySQL-devel
253 Obsoletes: libmysql10-devel
256 This package contains the development header files and libraries
257 necessary to develop MySQL client applications.
259 %description devel -l fr
260 Ce package contient les fichiers entetes et les librairies de
261 developpement necessaires pour developper des applications clientes
264 %description devel -l pl
265 Pliki nag³ówkowe i biblioteki konieczne do kompilacji aplikacji
268 %description devel -l pt_BR
269 Este pacote contém os arquivos de cabeçalho (header files) e
270 bibliotecas necessárias para desenvolver aplicações clientes do MySQL.
272 %description devel -l ru
273 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ
274 ÒÁÚÒÁÂÏÔËÉ ËÌÉÅÎÔÓËÉÈ ÐÒÉÌÏÖÅÎÉÊ.
276 %description devel -l uk
277 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ, ÎÅÏÂȦÄΦ ÄÌÑ
278 ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ-Ë̦¤ÎÔ¦×.
281 Summary: MySQL static libraries
282 Summary(pl): Biblioteki statyczne MySQL
283 Summary(ru): MySQL - ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ
284 Summary(uk): MySQL - ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ
285 Group: Development/Libraries
286 Requires: %{name}-devel = %{version}-%{release}
287 Obsoletes: MySQL-static
290 MySQL static libraries.
292 %description static -l pl
293 Biblioteki statyczne MySQL.
295 %description static -l ru
296 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ, ÎÅÏÂÈÏÄÉÍÙÅ
297 ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ËÌÉÅÎÔÓËÉÈ ÐÒÉÌÏÖÅÎÉÊ.
299 %description static -l uk
300 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ, ÎÅÏÂȦÄΦ ÄÌÑ
301 ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ-Ë̦¤ÎÔ¦×.
304 Summary: MySQL - Benchmarks
305 Summary(pl): MySQL - Programy testuj±ce szybko¶æ dzia³ania bazy
306 Summary(pt): MySQL - Medições de desempenho
307 Summary(ru): MySQL - ÂÅÎÞÍÁÒËÉ
308 Summary(uk): MySQL - ÂÅÎÞÍÁÒËÉ
309 Group: Applications/Databases
310 Requires: %{name} = %{version}-%{release}
311 Requires: %{name}-client
312 Requires: perl(DBD::mysql)
313 Obsoletes: MySQL-bench
316 This package contains MySQL benchmark scripts and data.
318 %description bench -l pl
319 Programy testuj±ce szybko¶æ serwera MySQL.
321 %description bench -l pt_BR
322 Este pacote contém medições de desempenho de scripts e dados do MySQL.
324 %description bench -l ru
325 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓËÒÉÐÔÙ É ÄÁÎÎÙÅ ÄÌÑ ÏÃÅÎËÉ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔÉ
328 %description bench -l uk
329 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓËÒÉÐÔÉ ÔÁ ÄÁΦ ÄÌÑ ÏæÎËÉ ÐÒÏÄÕËÔÉ×ÎÏÓÔ¦ MySQL.
332 Summary: MySQL manual
333 Summary(pl): Podrêcznik u¿ytkownika MySQL
334 Group: Applications/Databases
337 This package contains manual in HTML format.
339 %description doc -l pl
340 Podrêcznik MySQL-a w formacie HTML.
351 # this is strange: mysqld functions for UDF modules are not explicitly defined,
352 # so -rdynamic is used; in such case gcc3+ld on alpha doesn't like C++ vtables
353 # in objects compiled without -fPIC
361 %{__perl} -pi -e 's@/lib/libpthread@/%{_lib}/libpthread@' configure.in
368 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions %{!?debug:-fomit-frame-pointer}"
369 CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
372 FIND_PROC='/bin/ps p $$PID' \
374 CHECK_PID='/bin/kill -0 $$PID' \
379 --enable-thread-safe-client \
380 %{?with_bdb:--with-berkeley-db} \
381 --with-comment="PLD Linux Distribution MySQL RPM" \
382 --with%{!?debug:out}-debug \
383 --with-embedded-server \
384 --with-extra-charsets=all \
387 --with-mysqld-user=mysql \
388 --with-named-curses-libs="-lncurses" \
392 --with-unix-socket-path=/var/lib/mysql/mysql.sock \
398 # NOTE that /var/lib/mysql/mysql.sock is symlink to real sock file
399 # (it defaults to first cluster but user may change it to whatever
402 echo -e "all:\ninstall:\nclean:\nlink_sources:\n" > libmysqld/examples/Makefile
404 %{__make} benchdir=$RPM_BUILD_ROOT%{_datadir}/sql-bench
405 %{__make} -C Docs mysql.info
408 rm -rf $RPM_BUILD_ROOT
409 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,mysql,monit} \
410 $RPM_BUILD_ROOT/var/{log/{archiv,}/mysql,lib/mysql} \
411 $RPM_BUILD_ROOT{%{_infodir},%{_mysqlhome}}
414 install -d $RPM_BUILD_ROOT/var/lib/mysql/bdb/{log,tmp}
419 DESTDIR=$RPM_BUILD_ROOT \
420 benchdir=%{_datadir}/sql-bench \
422 # libsdir is to avoid installing innodb static libs in $RPM_BUILD_ROOT../libs
424 install Docs/mysql.info $RPM_BUILD_ROOT%{_infodir}
426 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/mysql
427 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/mysql
428 install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/mysql
429 # This is template for configuration file which is created after 'service mysql init'
430 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/mysql/mysqld.conf
431 install %{SOURCE5} $RPM_BUILD_ROOT/etc/mysql/clusters.conf
432 install %{SOURCE6} $RPM_BUILD_ROOT/etc/monit
433 touch $RPM_BUILD_ROOT/var/log/mysql/{err,log,update,isamlog.log}
435 # remove mysqld's *.po files
436 find . $RPM_BUILD_ROOT%{_datadir}/%{name} -name \*.txt | xargs -n 100 rm -f
437 mv -f $RPM_BUILD_ROOT%{_libdir}/mysql/lib* $RPM_BUILD_ROOT%{_libdir}
438 %{__perl} -pi -e 's,%{_libdir}/mysql,%{_libdir},;' $RPM_BUILD_ROOT%{_libdir}/libmysqlclient.la
440 rm -rf $RPM_BUILD_ROOT%{_prefix}/mysql-test
443 rm -rf $RPM_BUILD_ROOT
446 if [ -n "`getgid mysql`" ]; then
447 if [ "`getgid mysql`" != "89" ]; then
448 echo "Error: group mysql doesn't have gid=89. Correct this before installing mysql." 1>&2
452 /usr/sbin/groupadd -g 89 -r -f mysql
454 if [ -n "`id -u mysql 2>/dev/null`" ]; then
455 if [ "`id -u mysql`" != "89" ]; then
456 echo "Error: user mysql doesn't have uid=89. Correct this before installing mysql." 1>&2
460 /usr/sbin/useradd -M -o -r -u 89 \
461 -d %{_mysqlhome} -s /bin/sh -g mysql \
462 -c "MySQL Server" mysql 1>&2
466 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
467 /sbin/chkconfig --add mysql
468 if [ -f /var/lock/subsys/mysql ]; then
469 /etc/rc.d/init.d/mysql restart >&2
471 echo "Run \"/etc/rc.d/init.d/mysql start\" to start mysql." >&2
475 if [ "$1" = "0" ]; then
476 if [ -f /var/lock/subsys/mysql ]; then
477 /etc/rc.d/init.d/mysql stop
479 /sbin/chkconfig --del mysql
483 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
484 if [ "$1" = "0" ]; then
485 /usr/sbin/userdel mysql
486 /usr/sbin/groupdel mysql
489 %post libs -p /sbin/ldconfig
490 %postun libs -p /sbin/ldconfig
492 %triggerpostun -- mysql <= 4.0.20-2
493 # For clusters in /etc/mysql/clusters.conf
494 if [ -f "/etc/sysconfig/mysql" ]; then
495 . /etc/sysconfig/mysql
496 if [ -n "$MYSQL_DB_CLUSTERS" ]; then
497 for i in "$MYSQL_DB_CLUSTERS"; do
498 echo "$i/mysqld.conf=$i" >> /etc/mysql/clusters.conf
500 echo "# Do not use **obsolete** option MYSQL_DB_CLUSTERS" >> /etc/sysconfig/mysql
501 echo "# USE /etc/mysql/clusters.conf instead" >> /etc/sysconfig/mysql
502 echo "Converted clusters from MYSQL_DB_CLUSTERS to /etc/mysql/clusters.conf."
503 echo "You NEED to fix your /etc/sysconfig/mysql and verify /etc/mysql/clusters.conf."
508 %defattr(644,root,root,755)
509 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/logrotate.d/mysql
510 %attr(754,root,root) /etc/rc.d/init.d/mysql
511 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/mysql
512 %attr(751,root,root) %dir /etc/mysql
513 %attr(640,root,mysql) %config(noreplace) %verify(not md5 size mtime) /etc/mysql/clusters.conf
514 %attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
515 %attr(755,root,root) %{_bindir}/isamchk
516 %attr(755,root,root) %{_bindir}/isamlog
517 %attr(755,root,root) %{_bindir}/myisamchk
518 %attr(755,root,root) %{_bindir}/myisamlog
519 %attr(755,root,root) %{_bindir}/myisampack
520 %attr(755,root,root) %{_bindir}/pack_isam
521 %attr(755,root,root) %{_sbindir}/mysqld
522 %{_mandir}/man1/isamchk.1*
523 %{_mandir}/man1/isamlog.1*
524 %{_mandir}/man1/mysqld.1*
526 %attr(700,mysql,mysql) %{_mysqlhome}
527 # root:root is proper here for AC mysql.rpm while mysql:mysql is potential security hole
528 %attr(751,root,root) /var/lib/mysql
529 %attr(750,mysql,mysql) %dir /var/log/mysql
530 %attr(750,mysql,mysql) %dir /var/log/archiv/mysql
531 %attr(640,mysql,mysql) %config(noreplace) %verify(not md5 size mtime) /var/log/mysql/*
533 %{_infodir}/mysql.info*
534 %dir %{_datadir}/mysql
535 # This is template for configuration file which is created after 'service mysql init'
536 %{_datadir}/mysql/mysqld.conf
537 %{_datadir}/mysql/charsets
538 %{_datadir}/mysql/english
539 %lang(cs) %{_datadir}/mysql/czech
540 %lang(da) %{_datadir}/mysql/danish
541 %lang(de) %{_datadir}/mysql/german
542 %lang(el) %{_datadir}/mysql/greek
543 %lang(es) %{_datadir}/mysql/spanish
544 %lang(et) %{_datadir}/mysql/estonian
545 %lang(fr) %{_datadir}/mysql/french
546 %lang(hu) %{_datadir}/mysql/hungarian
547 %lang(it) %{_datadir}/mysql/italian
548 %lang(ja) %{_datadir}/mysql/japanese
549 %lang(ko) %{_datadir}/mysql/korean
550 %lang(nl) %{_datadir}/mysql/dutch
551 %lang(nb) %{_datadir}/mysql/norwegian
552 %lang(nn) %{_datadir}/mysql/norwegian-ny
553 %lang(pl) %{_datadir}/mysql/polish
554 %lang(pt) %{_datadir}/mysql/portuguese
555 %lang(ro) %{_datadir}/mysql/romanian
556 %lang(ru) %{_datadir}/mysql/russian
557 %lang(sk) %{_datadir}/mysql/slovak
558 %lang(sv) %{_datadir}/mysql/swedish
559 %lang(uk) %{_datadir}/mysql/ukrainian
562 %defattr(644,root,root,755)
563 %attr(755,root,root) %{_bindir}/msql2mysql
564 %attr(755,root,root) %{_bindir}/mysql_fix_privilege_tables
565 %attr(755,root,root) %{_bindir}/perror
566 %attr(755,root,root) %{_bindir}/my_print_defaults
567 %attr(755,root,root) %{_bindir}/replace
568 %attr(755,root,root) %{_bindir}/resolveip
569 %{_mandir}/man1/mysql_fix_privilege_tables.1*
570 %{_mandir}/man1/perror.1*
571 %{_mandir}/man1/replace.1*
574 %defattr(644,root,root,755)
575 %attr(755,root,root) %{_bindir}/mysql_convert_table_format
576 %attr(755,root,root) %{_bindir}/mysqldumpslow
577 %attr(755,root,root) %{_bindir}/mysqlhotcopy
578 %attr(755,root,root) %{_bindir}/mysql_setpermission
579 %attr(755,root,root) %{_bindir}/mysql_zap
580 %attr(755,root,root) %{_bindir}/mysql_find_rows
581 %attr(755,root,root) %{_bindir}/mysqlaccess
582 %{_mandir}/man1/mysql_zap.1*
583 %{_mandir}/man1/mysqlaccess.1*
586 %defattr(644,root,root,755)
587 %attr(755,root,root) %{_bindir}/mysql
588 %attr(755,root,root) %{_bindir}/mysqlbug
589 %attr(755,root,root) %{_bindir}/mysqldump
590 %attr(755,root,root) %{_bindir}/mysqlimport
591 %attr(755,root,root) %{_bindir}/mysqlmanager*
592 %attr(755,root,root) %{_bindir}/mysqlshow
593 %attr(755,root,root) %{_bindir}/mysqlbinlog
594 %attr(755,root,root) %{_bindir}/mysqladmin
595 %attr(755,root,root) %{_bindir}/mysqltest
596 %{_mandir}/man1/mysql.1*
597 %{_mandir}/man1/mysqladmin.1*
598 %{_mandir}/man1/mysqldump.1*
599 %{_mandir}/man1/mysqlshow.1*
602 %defattr(644,root,root,755)
603 %attr(755,root,root) %{_libdir}/lib*.so.*.*
606 %defattr(644,root,root,755)
607 %attr(755,root,root) %{_bindir}/mysql_config
608 %attr(755,root,root) %{_libdir}/lib*.so
610 %{_libdir}/lib*[!tr].a
614 %defattr(644,root,root,755)
615 %{_libdir}/lib*[tr].a
618 %defattr(644,root,root,755)
619 %dir %{_datadir}/sql-bench
620 %{_datadir}/sql-bench/[CDRl]*
621 %attr(755,root,root) %{_datadir}/sql-bench/[bcgrst]*
624 %defattr(644,root,root,755)
625 %doc Docs/manual.html Docs/manual_toc.html