f08d742
Name:           borgmatic
47bb7fa
Version:        1.5.18
88a308f
Release:        1%{?dist}
c922650
Summary:        Simple Python wrapper script for borgbackup
c922650
c922650
License:        GPLv3
c922650
URL:            https://torsion.org/borgmatic
f08d742
Source0:        https://projects.torsion.org/witten/borgmatic/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
f08d742
f08d742
BuildArch:      noarch
f08d742
314f40e
BuildRequires:  python%{python3_pkgversion}-devel
d6f785d
BuildRequires:  python%{python3_pkgversion}-setuptools
314f40e
%if 0%{?fedora} < 30 || 0%{?rhel} < 8
314f40e
BuildRequires:  systemd
314f40e
%else
f08d742
BuildRequires:  systemd-rpm-macros
314f40e
%endif
c922650
6f23d9a
Requires:       borgbackup
314f40e
Requires:       python%{python3_pkgversion}-colorama
25ca1fd
Requires:       python%{python3_pkgversion}-requests
314f40e
Requires:       python%{python3_pkgversion}-ruamel-yaml
314f40e
Requires:       python%{python3_pkgversion}-pykwalify
f08d742
6f23d9a
c922650
%description
c922650
borgmatic (formerly atticmatic) is a simple Python wrapper script for
c922650
the Borg backup software that initiates a backup, prunes any old backups
c922650
according to a retention policy, and validates backups for consistency.
c922650
f08d742
c922650
%prep
f08d742
%autosetup -n %{name}
f08d742
c922650
%build
c922650
%py3_build
c922650
c922650
f08d742
%install
c922650
%py3_install
c922650
f08d742
install -dm 0750 %{buildroot}%{_sysconfdir}/borgmatic
f08d742
install -dm 0750 %{buildroot}%{_sysconfdir}/borgmatic.d
c922650
f08d742
sed -i 's#^ExecStart=.*#ExecStart=%{_bindir}/%{name}#' sample/systemd/%{name}.service
f08d742
install -Dpm 0644 sample/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service
f08d742
install -Dpm 0644 sample/systemd/%{name}.timer %{buildroot}%{_unitdir}/%{name}.timer
c922650
c922650
c922650
%files
f08d742
%doc AUTHORS NEWS README.md
f08d742
%license LICENSE
795f581
%attr(0750, root, root) %{_sysconfdir}/borgmatic
795f581
%attr(0750, root, root) %{_sysconfdir}/borgmatic.d
eec239b
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
f08d742
%{python3_sitelib}/%{name}
c922650
%{_bindir}/borgmatic
c922650
%{_bindir}/generate-borgmatic-config
c922650
%{_bindir}/upgrade-borgmatic-config
f08d742
%{_bindir}/validate-borgmatic-config
c922650
%{_unitdir}/borgmatic.service
c922650
%{_unitdir}/borgmatic.timer
f08d742
c922650
c922650
%post
c922650
%systemd_post borgmatic.timer
c922650
f08d742
c922650
%preun
c922650
%systemd_preun borgmatic.timer
c922650
f08d742
c922650
%postun
c922650
%systemd_postun borgmatic.timer
c922650
f08d742
c922650
%changelog
47bb7fa
* Tue Aug 10 2021 Felix Kaechele <heffer@fedoraproject.org> - 1.5.18-1
47bb7fa
- update to 1.5.18
47bb7fa
88a308f
* Tue Aug 03 2021 Felix Kaechele <heffer@fedoraproject.org> - 1.5.17-1
88a308f
- update to 1.5.17
88a308f
a11a794
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.15-2
a11a794
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a11a794
e1ca28d
* Fri Jun 18 2021 Felix Kaechele <heffer@fedoraproject.org> - 1.5.15-1
e1ca28d
- update to 1.5.15
e1ca28d
00592fb
* Tue Jun 08 2021 Felix Kaechele <heffer@fedoraproject.org> - 1.5.14-1
00592fb
- update to 1.5.14
00592fb
f1455e0
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5.13-2
f1455e0
- Rebuilt for Python 3.10
f1455e0
0b90005
* Wed Mar 31 2021 Felix Kaechele <heffer@fedoraproject.org> - 1.5.13-1
0b90005
- update to 1.5.13
0b90005
5af929d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-2
5af929d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5af929d
a7ed9ef
* Sat Nov 21 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.11-1
a7ed9ef
- update to 1.5.11
a7ed9ef
4e6364d
* Fri Sep 04 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.10-1
4e6364d
- update to 1.5.10
4e6364d
5405168
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.9-2
5405168
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5405168
d0df148
* Thu Jul 23 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.9-1
d0df148
- update to 1.5.9
d0df148
dc5b36c
* Sun Jul 12 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.8-1
dc5b36c
- update to 1.5.8
dc5b36c
d6f785d
* Wed Jun 24 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.7-1
d6f785d
- update to 1.5.7
d6f785d
- add python3-setuptools BuildRequires
d6f785d
635d1e8
* Sun Jun 07 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.6-1
635d1e8
- update to 1.5.6
635d1e8
c48ae26
* Thu May 28 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-2
c48ae26
- Rebuilt for Python 3.9
c48ae26
ecfe802
* Wed May 27 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.5-1
ecfe802
- update to 1.5.5
47f94f7
0627e1f
* Sat May 16 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.4-1
0627e1f
- update to 1.5.4
0627e1f
75ba932
* Thu May 14 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.3-1
75ba932
- update to 1.5.3
75ba932
b4c6a1d
* Sat Apr 25 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.2-1
b4c6a1d
- update to 1.5.2
b4c6a1d
75f2cd4
* Mon Feb 03 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.1-1
75f2cd4
- update to 1.5.1
75f2cd4
853c349
* Tue Jan 28 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.5.0-1
853c349
- update to 1.5.0
853c349
6ece14e
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.22-2
6ece14e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6ece14e
95cc9ba
* Thu Jan 23 2020 Felix Kaechele <heffer@fedoraproject.org> - 1.4.22-1
95cc9ba
- update to 1.4.22
95cc9ba
7d92c74
* Sat Dec 21 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.21-1
7d92c74
- update to 1.4.21
7d92c74
25ca1fd
* Fri Dec 13 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.20-1
25ca1fd
- update to 1.4.20
25ca1fd
- added missing Requires for python-requests
25ca1fd
2d35e37
* Mon Dec 09 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.18-1
2d35e37
- update to 1.4.18
2d35e37
e22b587
* Sat Dec 07 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.17-1
e22b587
- update to 1.4.17
e22b587
5ed7be5
* Tue Dec 03 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.16-1
5ed7be5
- update to 1.4.16
5ed7be5
5ed7be5
* Tue Nov 26 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.15-1
5ed7be5
- update to 1.4.15
5ed7be5
5ed7be5
* Tue Nov 26 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.14-1
5ed7be5
- update to 1.4.14
5ed7be5
69bd52e
* Wed Nov 20 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.13-1
69bd52e
- update to 1.4.13
69bd52e
69bd52e
* Mon Nov 18 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.12-1
69bd52e
- update to 1.4.12
69bd52e
2661db8
* Mon Nov 18 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.11-1
2661db8
- update to 1.4.11
2661db8
4bc0953
* Wed Nov 13 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.10-1
4bc0953
- update to 1.4.10
4bc0953
ed2db7e
* Tue Nov 12 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.9-1
ed2db7e
- update to 1.4.9
ed2db7e
f1dbb3b
* Tue Nov 12 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.8-1
f1dbb3b
- update to 1.4.8
f1dbb3b
2bbe955
* Mon Nov 04 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.6-1
f1dbb3b
- update to 1.4.6
2bbe955
368b783
* Wed Oct 23 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.4.0-1
368b783
- update to 1.4.0
368b783
e8db474
* Mon Oct 21 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.3.26-1
e8db474
- update to 1.3.26
e8db474
314f40e
* Sat Oct 12 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.3.23-2
314f40e
- insert conditionals for F29 and EL7
314f40e
- bring back python3_version variable for EL7 compatibility
314f40e
f08d742
* Fri Oct 11 2019 Felix Kaechele <heffer@fedoraproject.org> - 1.3.23-1
f08d742
- update to 1.3.23
f08d742
- fix dependencies
f08d742
- build for noarch
f08d742
- use release tarball directly from upstream
f08d742
- include docs and license from release tarball
f08d742
- use included unit and timer files
f08d742
- remove tests, they require internet access
f08d742
- cleanups and modernizations
f08d742
b4cf07e
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-6
b4cf07e
- Rebuilt for Python 3.8.0rc1 (#1748018)
b4cf07e
2bb472d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-5
2bb472d
- Rebuilt for Python 3.8
2bb472d
3f746e6
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
3f746e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3f746e6
83de871
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
83de871
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
83de871
08feb42
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
08feb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
08feb42
4a575d5
* Fri Jun 29 2018 Benjamin Pereto <benjamin@sandchaschte.ch> - 1.2.0-1
4a575d5
- upstream release 1.2.0
4a575d5
- added missing deps ruamel.yaml and pykwalify
4a575d5
99606f8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.15-3
99606f8
- Rebuilt for Python 3.7
99606f8
9aa4297
* Thu Apr 12 2018 Benjamin Pereto <benjamin@sandchaschte.ch> - 1.1.15-2
9aa4297
- add empty /etc/borgmatic.d as described in documentation
795f581
- add empty /etc/borgmatic as described in documentation
9aa4297
c3d7577
* Thu Apr 12 2018 Benjamin Pereto <benjamin@sandchaschte.ch> - 1.1.15-1
c922650
- Initial packaging for the borgmatic project
c922650