initial commit of file from CVS for automysqlbackup on Thu Oct 9 11:35:36 AEDT 2025
This commit is contained in:
100
automysqlbackup.spec
Normal file
100
automysqlbackup.spec
Normal file
@@ -0,0 +1,100 @@
|
||||
%define name automysqlbackup
|
||||
%define version 3.0.RC6
|
||||
%define release 8
|
||||
%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 >= 10
|
||||
BuildRequires: e-smith-devtools
|
||||
|
||||
# This patch is in CVS but was actually added to the script
|
||||
# and is not required so please ignore it
|
||||
# automysqlbackup-3.0.RC6.specify-event-options.patch
|
||||
|
||||
Patch1: automysqlbackup-3.0.RC6.set-backup-dir.patch
|
||||
Patch2: automysqlbackup-3.0.RC6-bz11970-skip-lock-tables.patch
|
||||
|
||||
%description
|
||||
This RPM is an unofficial addon for the SME Server 9.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
|
||||
* Thu Oct 09 2025 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Mon Aug 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0-RC6-8
|
||||
- Add skip-lock-tables to opts [SME: 11970]
|
||||
- Bump esmith-release requires to 10
|
||||
|
||||
* Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 3.0-RC6-7
|
||||
- Initial import to SME10 tree [SME: 11042]
|
||||
|
||||
* Thu Nov 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-6
|
||||
- Set backupdir if key is empty [SME: 10655]
|
||||
- fix some build issues in spec file
|
||||
|
||||
* Sat Aug 22 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-5
|
||||
- First release to smecontribs
|
||||
|
||||
* Sun Aug 17 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 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 <stephdl@de-labrusse.fr> 3.0.RC6.3
|
||||
- first release for sme9
|
||||
|
||||
* Sun Oct 27 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3
|
||||
- split the contrib in two versions smeserver-automysqlbackup and automysqlbackup
|
||||
|
||||
* Mon Apr 22 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
- [3.0.RC6] version Based on automysqlbackup V3.0 RC6
|
||||
|
||||
* Mon Apr 08 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
- [0.01] Initial version Based on automysqlbackup V3.0 RC6
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
|
||||
%build
|
||||
# add createlinks if required
|
||||
# perl cratelinks
|
||||
|
||||
%install
|
||||
/bin/rm -rf $RPM_BUILD_ROOT
|
||||
(cd 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
|
||||
|
Reference in New Issue
Block a user