diff --git a/mysql.spec b/mysql.spec index 5565660..9d79cee 100644 --- a/mysql.spec +++ b/mysql.spec @@ -1,6 +1,6 @@ Name: mysql Version: 3.23.49 -Release: 2 +Release: 3 Source0: http://www.mysql.com/Downloads/MySQL-3.23/mysql-%{version}.tar.bz2 Source1: mysql.init Source2: mysql.logrotate @@ -66,6 +66,10 @@ developing MySQL applications. CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-rtti -fno-exceptions" CXX=gcc +export CFLAGS CXXFLAGS CXX + +#CPPFLAGS="$CFLAGS" +#export CPPFLAGS %configure --without-debug \ --without-readline \ @@ -112,6 +116,10 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/mysqld install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/my.cnf rm -f $RPM_BUILD_ROOT/%{_infodir}/dir* +# Doesn't contain anything +rm -f Docs/manual.ps + + %clean rm -rf $RPM_BUILD_ROOT @@ -183,12 +191,33 @@ fi /usr/lib/mysql/libmysqlclient*.so.* %dir /usr/share/mysql -/usr/share/mysql/* - +/usr/share/mysql/english +%lang(cs) /usr/share/mysql/czech +%lang(da) /usr/share/mysql/danish +%lang(nl) /usr/share/mysql/dutch +%lang(et) /usr/share/mysql/estonian +%lang(fr) /usr/share/mysql/french +%lang(de) /usr/share/mysql/german +%lang(hu) /usr/share/mysql/hungarian +%lang(it) /usr/share/mysql/italian +%lang(ja) /usr/share/mysql/japanese +%lang(ko) /usr/share/mysql/korean +%lang(no) /usr/share/mysql/norwegian +%lang(no) /usr/share/mysql/norwegian-ny +%lang(pl) /usr/share/mysql/polish +%lang(pt) /usr/share/mysql/portuguese +%lang(ro) /usr/share/mysql/romanian +%lang(ru) /usr/share/mysql/russian +%lang(sk) /usr/share/mysql/slovak +%lang(es) /usr/share/mysql/spanish +%lang(sv) /usr/share/mysql/swedish +%lang(uk) /usr/share/mysql/ukrainian +/usr/share/mysql/charsets %config(noreplace) /etc/my.cnf %files server %defattr(-,root,root) +%doc support-files/*.cnf /usr/bin/mysqladmin /usr/bin/safe_mysqld /usr/libexec/* @@ -206,7 +235,13 @@ fi /usr/lib/mysql/libmysqlclient*.so %changelog -* Thu Feb 21 2002 Trond Eivind Glomsrød 3.23.50-1 +* Mon Apr 8 2002 Trond Eivind Glomsrød 3.23.49-2 +- Add the various .cnf examples as doc files to mysql-server (#60349) +- Don't include manual.ps, it's just 200 bytes with a URL inside (#60349) +- Don't include random files in /usr/share/mysql (#60349) +- langify (#60349) + +* Thu Feb 21 2002 Trond Eivind Glomsrød 3.23.49-2 - Rebuild * Sun Feb 17 2002 Trond Eivind Glomsrød 3.23.49-1