diff --git a/.gitignore b/.gitignore index e43b0f9..9d6e5df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .DS_Store +.idea +*.iml diff --git a/CHANGELOG b/CHANGELOG index 6046784..09dcfe9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,22 @@ # Change Log #===================================================================== # +# version 3.0.7 - (2018-05-02) +# - Small changes for MacOS +# version 3.0.6 - (2018-01-10) +# - Fix the mysql login-configuration file cannot be located in a cronjob +# version 3.0.5 - (2017-12-08) +# - Changed usessl to no per default +# version 3.0.4 - (2017-10-27) +# - Adjusted md5sums in install.sh +# version 3.0.3 - (2017-09-27) +# - Configuration fix +# version 3.0.2 - (2017-01-20) +# - Add secure connection config support to install.sh +# version 3.0.1 - (2016-10-05) +# - Forked from Sourceforge +# - Supports MySQL 5.6 and MySQL 5.7 +# - Updated README for login path support # version 3.0_rc4 - (2011-11-24) # - Removing mkfifo commands, thereby improving portability. # - Fixing not working table exclude feature for wildcards. diff --git a/automysqlbackup.spec b/automysqlbackup.spec new file mode 100644 index 0000000..f2ddebb --- /dev/null +++ b/automysqlbackup.spec @@ -0,0 +1,49 @@ +%global commit0 9c7d05ccaf3773e4168278ce3d3da254695b02eb +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global gittag 3.0.7 +%global projname AutoMySQLBackup + +Name: automysqlbackup +Version: 3.0.7 +Release: 1%{?dist} +Summary: MySQL/MariaDB backup script +Group: Applications/Databases +License: GPLv2+ +URL: https://github.com/sixhop/%{projname} +%undefine _disable_source_fetch +Source0: https://github.com/sixhop/%{projname}/archive/%{gittag}/%{projname}-%{version}.tar.gz +%define SHA256SUM0 8641f37ed453c880f541fe729e7b927db62b8d8a81c0d693efb8dd9dece09ee7 +BuildArch: noarch +Requires: bash +Requires: bzip2 +Requires: gzip +Requires: diffutils +Requires: openssl +Requires: mysql + +%description +MySQL/MariaDB backup wrapper script for mysqldump, with support for +backup rotation, encryption, compression and incremental backup. + +%prep +echo "%SHA256SUM0 %SOURCE0" | sha256sum -c - +%autosetup -n %{projname}-%{gittag} + +%build +true + +%install +install -m 755 -d %{buildroot}/%{_bindir} +install -m 755 -d %{buildroot}/%{_sysconfdir}/automysqlbackup + +install -m 755 automysqlbackup %{buildroot}/%{_bindir}/automysqlbackup +install -m 600 automysqlbackup.conf %{buildroot}/%{_sysconfdir}/automysqlbackup/automysqlbackup.conf + +%files +%{_bindir}/automysqlbackup +%config(noreplace) %{_sysconfdir}/automysqlbackup/automysqlbackup.conf +%doc README README.md LICENSE CHANGELOG + +%changelog +* Sun Nov 03 2019 Robert Oschwald 3.0.7 +- Small changes for MacOS