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