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