1 |
Summary: e-smith specific mysql configuration and templates. |
Summary: e-smith specific mysql configuration and templates. |
2 |
%define name e-smith-mysql |
%define name e-smith-mysql |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.12.0 |
%define version 1.13.0 |
5 |
%define release 14 |
%define release 1 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
|
Patch0: e-smith-mysql-1.12.0-setpassword.patch2 |
|
|
Patch1: e-smith-mysql-1.12.0-flushprivssemicolon.patch |
|
|
Patch2: e-smith-mysql-1.12.0-innodb-optional.patch |
|
|
Patch3: e-smith-mysql-1.12.0-install_db.patch |
|
|
Patch4: e-smith-mysql-1.12.0.disabled_pre_backup.patch |
|
|
Patch5: e-smith-mysql-1.12.0.failed_restore.patch |
|
|
Patch6: e-smith-mysql-1.12.0-split_backup_db.patch |
|
|
Patch7: e-smith-mysql-1.12.0-mysqluser.patch |
|
|
Patch8: e-smith-mysql-1.12.0-max_allowed_packet.patch |
|
|
Patch9: e-smith-mysql-1.12.0-max_allowed_packet2.patch |
|
|
Patch10: e-smith-mysql-1.12.0-force_upgrade.patch |
|
11 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
12 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
13 |
Requires: mysql-server |
Requires: mysql-server |
18 |
AutoReqProv: no |
AutoReqProv: no |
19 |
|
|
20 |
%changelog |
%changelog |
21 |
|
* Mon Oct 6 2008 Stephen Noble <support@dungog.net> 1.13.0-1 |
22 |
|
- Roll new dev stream [SME: 4627] |
23 |
|
|
24 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-15 |
25 |
|
- quote "$1" in post uninstall script [SME: 349] |
26 |
|
|
27 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
28 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
29 |
|
|
657 |
|
|
658 |
%prep |
%prep |
659 |
%setup |
%setup |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch10 -p1 |
|
660 |
|
|
661 |
%build |
%build |
662 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
707 |
[ -e /etc/rc.d/init.d/mysqld ] || ln -s ./mysql /etc/rc.d/init.d/mysqld |
[ -e /etc/rc.d/init.d/mysqld ] || ln -s ./mysql /etc/rc.d/init.d/mysqld |
708 |
|
|
709 |
%postun |
%postun |
710 |
if [ $1 == 0 ]; then |
if [ "$1" == 0 ]; then |
711 |
[ -l /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld |
[ -l /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld |
712 |
fi |
fi |
713 |
|
|