1 |
|
# $Id: e-smith-mysql.spec,v 1.10 2010/10/28 18:15:40 slords Exp $ |
2 |
|
|
3 |
Summary: e-smith specific mysql configuration and templates. |
Summary: e-smith specific mysql configuration and templates. |
4 |
%define name e-smith-mysql |
%define name e-smith-mysql |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.12.0 |
%define version 2.2.0 |
7 |
%define release 14 |
%define release 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: e-smith-mysql-1.12.0-setpassword.patch2 |
Patch0: e-smith-mysql-2.2.0-fixLogging.patch |
14 |
Patch1: e-smith-mysql-1.12.0-flushprivssemicolon.patch |
Patch1: e-smith-mysql-2.2.0-fix_number_strip.patch |
15 |
Patch2: e-smith-mysql-1.12.0-innodb-optional.patch |
Patch2: e-smith-mysql-2.2.0-too-many-open-files-error.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 |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: mysql-server |
Requires: mysql-server |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Tue Mar 1 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
27 |
|
- Cater for open_files_limit option my.cnf through database and template [SME: 6438] |
28 |
|
|
29 |
|
* Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
30 |
|
- Fix stripping of starting numbers from script [SME: 6316] |
31 |
|
|
32 |
|
* Mon Jun 7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
33 |
|
- Fix %postun typo [SME: 6030] |
34 |
|
|
35 |
|
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
36 |
|
- Rework log-error logic [SME: 4807] |
37 |
|
|
38 |
|
* Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
39 |
|
- Fix log-error detection algorithm [SME: 4807] |
40 |
|
|
41 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
42 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
43 |
|
|
44 |
|
* Mon Oct 06 2008 Charlie Brady <charlie_brady@mitel.com> 1.13.0-2 |
45 |
|
- Capture mysql.init error logs to syslog. [SME: 2918] |
46 |
|
|
47 |
|
* Mon Oct 6 2008 Stephen Noble <support@dungog.net> 1.13.0-1 |
48 |
|
- Roll new dev stream [SME: 4627] |
49 |
|
|
50 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-15 |
51 |
|
- quote "$1" in post uninstall script [SME: 349] |
52 |
|
|
53 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
54 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
55 |
|
|
686 |
%patch0 -p1 |
%patch0 -p1 |
687 |
%patch1 -p1 |
%patch1 -p1 |
688 |
%patch2 -p1 |
%patch2 -p1 |
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch10 -p1 |
|
689 |
|
|
690 |
%build |
%build |
691 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
736 |
[ -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 |
737 |
|
|
738 |
%postun |
%postun |
739 |
if [ $1 == 0 ]; then |
if [ "$1" == 0 ]; then |
740 |
[ -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 || : |
741 |
fi |
fi |
742 |
|
|
743 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |