%define name automysqlbackup %define version 3.0.RC6 %define release 5 %define rpmver 3.0.RC6 Summary: automysqlbackup is a script to backup your msql database on sme8 Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GPL Group: /Web/Application Source: %{name}-%{version}.tar.gz URL: http://sourceforge.net/projects/automysqlbackup/ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base, e-smith-release >= 8 BuildRequires: e-smith-devtools Patch0: automysqlbackup-3.0.RC6.specify-event-options.patch %description This RPM is an unofficial addon for the SME Server 8.x. The target audience is the Linux/E-smith administrator who wants to backup their mysql databases with an automatic way. This script is based on automysqlbackup V3.0 %changelog * Sat Aug 22 2015 Stephane de Labrusse 3.0.RC6-5 - first release to smecontribs - added automysqlbackup-3.0.RC6.specify-event-options.patch * Sun Aug 17 2014 Stephane de Labrusse 3.0.RC6-4 - added my own patch against the --events warning --Warning: Skipping the data of table mysql.event. Specify the --events option explicitly. * Sun May 18 2014 Stephane de Labrusse 3.0.RC6.3 - first release for sme9 * Sun Oct 27 2013 Stephane de Labrusse 3.0.RC6.3 - split the contrib in two versions smeserver-automysqlbackup and automysqlbackup * Mon Apr 22 2013 Stephane de Labrusse - [3.0.RC6] version Based on automysqlbackup V3.0 RC6 * Mon Apr 08 2013 Stephane de Labrusse - [0.01] Initial version Based on automysqlbackup V3.0 RC6 %prep rm -rf $RPM_BUILD_ROOT %setup %patch0 -p1 %build %install /bin/rm -rf $RPM_BUILD_ROOT (/usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean rm -rf $RPM_BUILD_ROOT %pre %post %preun %postun