1 |
# $Id$ |
# $Id: e-smith-mysql.spec,v 1.6 2010/06/07 14:38:16 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.0.0 |
%define version 2.0.0 |
7 |
%define release 1 |
%define release 4 |
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.0.0-fixLogging.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: mysql-server |
Requires: mysql-server |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
%changelog |
%changelog |
24 |
|
* Mon Jun 7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.0.0-4.sme |
25 |
|
- Fix %postun typo [SME: 6043] |
26 |
|
|
27 |
|
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
28 |
|
- Rework log-error logic [SME: 4807] |
29 |
|
|
30 |
|
* Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2.sme |
31 |
|
- Fix log-error detection algorithm [SME: 4807] |
32 |
|
|
33 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
34 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
35 |
|
|
669 |
|
|
670 |
%prep |
%prep |
671 |
%setup |
%setup |
672 |
|
%patch0 -p1 |
673 |
|
|
674 |
%build |
%build |
675 |
mkdir -p root/etc/e-smith/sql/init |
mkdir -p root/etc/e-smith/sql/init |
721 |
|
|
722 |
%postun |
%postun |
723 |
if [ "$1" == 0 ]; then |
if [ "$1" == 0 ]; then |
724 |
[ -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 || : |
725 |
fi |
fi |
726 |
|
|
727 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |