Skip to content

Commit 64024ef

Browse files
authored
Merge pull request #35 from robertoschwald/spec-support
SPEC support, CHANGELOG update
2 parents 7320f93 + c553624 commit 64024ef

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
.DS_Store
2+
.idea
3+
*.iml

CHANGELOG

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22
# Change Log
33
#=====================================================================
44
#
5+
# version 3.0.7 - (2018-05-02)
6+
# - Small changes for MacOS
7+
# version 3.0.6 - (2018-01-10)
8+
# - Fix the mysql login-configuration file cannot be located in a cronjob
9+
# version 3.0.5 - (2017-12-08)
10+
# - Changed usessl to no per default
11+
# version 3.0.4 - (2017-10-27)
12+
# - Adjusted md5sums in install.sh
13+
# version 3.0.3 - (2017-09-27)
14+
# - Configuration fix
15+
# version 3.0.2 - (2017-01-20)
16+
# - Add secure connection config support to install.sh
17+
# version 3.0.1 - (2016-10-05)
18+
# - Forked from Sourceforge
19+
# - Supports MySQL 5.6 and MySQL 5.7
20+
# - Updated README for login path support
521
# version 3.0_rc4 - (2011-11-24)
622
# - Removing mkfifo commands, thereby improving portability.
723
# - Fixing not working table exclude feature for wildcards.

automysqlbackup.spec

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
%global commit0 9c7d05ccaf3773e4168278ce3d3da254695b02eb
2+
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
3+
%global gittag 3.0.7
4+
%global projname AutoMySQLBackup
5+
6+
Name: automysqlbackup
7+
Version: 3.0.7
8+
Release: 1%{?dist}
9+
Summary: MySQL/MariaDB backup script
10+
Group: Applications/Databases
11+
License: GPLv2+
12+
URL: https://github.com/sixhop/%{projname}
13+
%undefine _disable_source_fetch
14+
Source0: https://github.com/sixhop/%{projname}/archive/%{gittag}/%{projname}-%{version}.tar.gz
15+
%define SHA256SUM0 8641f37ed453c880f541fe729e7b927db62b8d8a81c0d693efb8dd9dece09ee7
16+
BuildArch: noarch
17+
Requires: bash
18+
Requires: bzip2
19+
Requires: gzip
20+
Requires: diffutils
21+
Requires: openssl
22+
Requires: mysql
23+
24+
%description
25+
MySQL/MariaDB backup wrapper script for mysqldump, with support for
26+
backup rotation, encryption, compression and incremental backup.
27+
28+
%prep
29+
echo "%SHA256SUM0 %SOURCE0" | sha256sum -c -
30+
%autosetup -n %{projname}-%{gittag}
31+
32+
%build
33+
true
34+
35+
%install
36+
install -m 755 -d %{buildroot}/%{_bindir}
37+
install -m 755 -d %{buildroot}/%{_sysconfdir}/automysqlbackup
38+
39+
install -m 755 automysqlbackup %{buildroot}/%{_bindir}/automysqlbackup
40+
install -m 600 automysqlbackup.conf %{buildroot}/%{_sysconfdir}/automysqlbackup/automysqlbackup.conf
41+
42+
%files
43+
%{_bindir}/automysqlbackup
44+
%config(noreplace) %{_sysconfdir}/automysqlbackup/automysqlbackup.conf
45+
%doc README README.md LICENSE CHANGELOG
46+
47+
%changelog
48+
* Sun Nov 03 2019 Robert Oschwald <[email protected]> 3.0.7
49+
- Small changes for MacOS

0 commit comments

Comments
 (0)