1 |
# $Id$ |
# $Id: e-smith-mysql.spec,v 1.9 2010/06/07 14:04:07 filippocarletti 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 2.2.0 |
%define version 2.2.0 |
7 |
%define release 1 |
%define release 5 |
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-2.2.0-fixLogging.patch |
14 |
|
Patch1: e-smith-mysql-2.2.0-fix_number_strip.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
Requires: mysql-server |
Requires: mysql-server |
22 |
AutoReqProv: no |
AutoReqProv: no |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
|
* Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
26 |
|
- Fix stripping of starting numbers from script [SME: 6316] |
27 |
|
|
28 |
|
* Mon Jun 7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
29 |
|
- Fix %postun typo [SME: 6030] |
30 |
|
|
31 |
|
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
32 |
|
- Rework log-error logic [SME: 4807] |
33 |
|
|
34 |
|
* Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
35 |
|
- Fix log-error detection algorithm [SME: 4807] |
36 |
|
|
37 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
38 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
39 |
|
|
679 |
|
|
680 |
%prep |
%prep |
681 |
%setup |
%setup |
682 |
|
%patch0 -p1 |
683 |
|
%patch1 -p1 |
684 |
|
|
685 |
%build |
%build |
686 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
732 |
|
|
733 |
%postun |
%postun |
734 |
if [ "$1" == 0 ]; then |
if [ "$1" == 0 ]; then |
735 |
[ -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 || : |
736 |
fi |
fi |
737 |
|
|
738 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |