1 |
%define name automysqlbackup |
%define name automysqlbackup |
2 |
%define version 3.0.RC6 |
%define version 3.0.RC6 |
3 |
%define release 4 |
%define release 6 |
4 |
%define rpmver 3.0.RC6 |
%define rpmver 3.0.RC6 |
5 |
|
|
|
|
|
6 |
Summary: automysqlbackup is a script to backup your msql database on sme8 |
Summary: automysqlbackup is a script to backup your msql database on sme8 |
7 |
Name: %{name} |
Name: %{name} |
8 |
Version: %{version} |
Version: %{version} |
16 |
Requires: e-smith-base, e-smith-release >= 9 |
Requires: e-smith-base, e-smith-release >= 9 |
17 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
18 |
|
|
19 |
|
# This patch is in CVS but was actually added to the script |
20 |
|
# and is not required so please ignore it |
21 |
|
# automysqlbackup-3.0.RC6.specify-event-options.patch |
22 |
|
|
23 |
|
Patch1: automysqlbackup-3.0.RC6.set-backup-dir.patch |
24 |
|
|
25 |
%description |
%description |
26 |
This RPM is an unofficial addon for the SME Server 9.x. |
This RPM is an unofficial addon for the SME Server 9.x. |
27 |
The target audience is the Linux/E-smith administrator |
The target audience is the Linux/E-smith administrator |
28 |
who wants to backup their mysql databases with an automatic way. |
who wants to backup their mysql databases with an automatic way. |
29 |
This script is based on automysqlbackup V3.0 |
This script is based on automysqlbackup V3.0 |
30 |
|
|
31 |
|
%changelog |
32 |
|
* Thu Nov 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-6 |
33 |
|
- Set backupdir if key is empty [SME: 10655] |
34 |
|
- fix some build issues in spec file |
35 |
|
|
36 |
|
* Sat Aug 22 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-5 |
37 |
|
- First release to smecontribs |
38 |
|
|
|
%changelog |
|
39 |
* Sun Aug 17 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-4 |
* Sun Aug 17 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-4 |
40 |
- added my own patch against the --events warning |
- added my own patch against the --events warning |
41 |
--Warning: Skipping the data of table mysql.event. Specify the --events option explicitly. |
--Warning: Skipping the data of table mysql.event. Specify the --events option explicitly. |
48 |
|
|
49 |
* Mon Apr 22 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
* Mon Apr 22 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
50 |
- [3.0.RC6] version Based on automysqlbackup V3.0 RC6 |
- [3.0.RC6] version Based on automysqlbackup V3.0 RC6 |
51 |
|
|
52 |
* Mon Apr 08 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
* Mon Apr 08 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
53 |
- [0.01] Initial version Based on automysqlbackup V3.0 RC6 |
- [0.01] Initial version Based on automysqlbackup V3.0 RC6 |
54 |
|
|
55 |
%prep |
%prep |
|
rm -rf $RPM_BUILD_ROOT |
|
56 |
|
|
57 |
%setup |
%setup -q -n %{name}-%{version} |
58 |
|
|
59 |
|
%patch1 -p1 |
60 |
|
|
61 |
%build |
%build |
62 |
|
# add createlinks if required |
63 |
|
# perl cratelinks |
64 |
|
|
65 |
%install |
%install |
66 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
73 |
|
|
74 |
%defattr(-,root,root) |
%defattr(-,root,root) |
75 |
|
|
76 |
%clean |
%clean |
77 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
78 |
|
|
79 |
%pre |
%pre |
80 |
|
|
81 |
%post |
%post |
82 |
|
|
|
|
|
83 |
%preun |
%preun |
84 |
|
|
85 |
%postun |
%postun |
86 |
|
|