1 |
%define name automysqlbackup |
2 |
%define version 3.0.RC6 |
3 |
%define release 5 |
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 >= 9 |
18 |
BuildRequires: e-smith-devtools |
19 |
|
20 |
%description |
21 |
This RPM is an unofficial addon for the SME Server 9.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 |
* Sat Aug 22 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-5 |
30 |
- First release to smecontribs |
31 |
|
32 |
* Sun Aug 17 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-4 |
33 |
- added my own patch against the --events warning |
34 |
--Warning: Skipping the data of table mysql.event. Specify the --events option explicitly. |
35 |
|
36 |
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3 |
37 |
- first release for sme9 |
38 |
|
39 |
* Sun Oct 27 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3 |
40 |
- split the contrib in two versions smeserver-automysqlbackup and automysqlbackup |
41 |
|
42 |
* Mon Apr 22 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
43 |
- [3.0.RC6] version Based on automysqlbackup V3.0 RC6 |
44 |
* Mon Apr 08 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
45 |
- [0.01] Initial version Based on automysqlbackup V3.0 RC6 |
46 |
|
47 |
%prep |
48 |
rm -rf $RPM_BUILD_ROOT |
49 |
|
50 |
%setup |
51 |
|
52 |
%build |
53 |
|
54 |
%install |
55 |
/bin/rm -rf $RPM_BUILD_ROOT |
56 |
(cd root ;/usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
57 |
/bin/rm -f %{name}-%{version}-filelist |
58 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
59 |
|
60 |
|
61 |
%files -f %{name}-%{version}-filelist |
62 |
|
63 |
%defattr(-,root,root) |
64 |
|
65 |
%clean |
66 |
rm -rf $RPM_BUILD_ROOT |
67 |
|
68 |
%pre |
69 |
|
70 |
%post |
71 |
|
72 |
|
73 |
%preun |
74 |
%postun |
75 |
|