1 |
%define name automysqlbackup |
2 |
%define version 3.0.RC6 |
3 |
%define release 3 |
4 |
%define rpmver 3.0.RC6 |
5 |
|
6 |
|
7 |
Summary: automysqlbackup is a script to backup your msql database on sme8 |
8 |
Name: %{name} |
9 |
Version: %{version} |
10 |
Release: %{release}%{?dist} |
11 |
License: GPL |
12 |
Group: /Web/Application |
13 |
Source: %{name}-%{version}.tar.gz |
14 |
URL: http://sourceforge.net/projects/automysqlbackup/ |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
Requires: e-smith-base, e-smith-release >= 8 |
18 |
BuildRequires: e-smith-devtools |
19 |
|
20 |
%description |
21 |
This RPM is an unofficial addon for the SME Server 8.x. |
22 |
The target audience is the Linux/E-smith administrator |
23 |
who wants to backup their mysql databases with an automatic way. |
24 |
This script is based on automysqlbackup V3.0 |
25 |
|
26 |
|
27 |
|
28 |
%changelog |
29 |
* Sun Oct 27 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3 |
30 |
- split the contrib in two versions smeserver-automysqlbackup and automysqlbackup |
31 |
|
32 |
* Mon Apr 22 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
33 |
- [3.0.RC6] version Based on automysqlbackup V3.0 RC6 |
34 |
* Mon Apr 08 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
35 |
- [0.01] Initial version Based on automysqlbackup V3.0 RC6 |
36 |
|
37 |
%prep |
38 |
rm -rf $RPM_BUILD_ROOT |
39 |
|
40 |
%setup |
41 |
|
42 |
%build |
43 |
|
44 |
%install |
45 |
/bin/rm -rf $RPM_BUILD_ROOT |
46 |
(/usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
47 |
/bin/rm -f %{name}-%{version}-filelist |
48 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
49 |
|
50 |
|
51 |
%files -f %{name}-%{version}-filelist |
52 |
|
53 |
%defattr(-,root,root) |
54 |
|
55 |
%clean |
56 |
rm -rf $RPM_BUILD_ROOT |
57 |
|
58 |
%pre |
59 |
|
60 |
%post |
61 |
|
62 |
|
63 |
%preun |
64 |
%postun |
65 |
|