## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: borgmatic Version: 1.9.2 Release: %autorelease Summary: Simple Python wrapper script for borgbackup License: GPL-3.0-or-later URL: https://torsion.org/borgmatic Source0: https://projects.torsion.org/borgmatic-collective/borgmatic/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: systemd-rpm-macros Requires: borgbackup # These hints are for commands run as part of the database backup and restore # hooks. It is assumed that users who configure these hooks will already have # the respective DBMS installed, otherwise there'd be nothing to back up. # Leaving this here for posterity. Suggests: mysql Suggests: postgresql Suggests: sqlite %description borgmatic (formerly atticmatic) is a simple Python wrapper script for the Borg backup software that initiates a backup, prunes any old backups according to a retention policy, and validates backups for consistency. %generate_buildrequires %pyproject_buildrequires %prep %autosetup -n %{name} %build %pyproject_wheel %{__python3} -c 'from borgmatic.commands.completion.bash import bash_completion; print(bash_completion())' > %{name}-bash-completion %install %pyproject_install %pyproject_save_files %{name} install -dm 0750 %{buildroot}%{_sysconfdir}/borgmatic install -dm 0750 %{buildroot}%{_sysconfdir}/borgmatic.d sed -i 's#/root/.local/bin/borgmatic#%{_bindir}/%{name}#' sample/systemd/%{name}.service install -Dpm 0644 sample/systemd/%{name}.service %{buildroot}%{_unitdir}/%{name}.service install -Dpm 0644 sample/systemd/%{name}.timer %{buildroot}%{_unitdir}/%{name}.timer install -Dpm 0644 %{name}-bash-completion %{buildroot}%{_datadir}/bash-completion/completions/%{name} %files -f %{pyproject_files} %doc AUTHORS NEWS README.md %license LICENSE %attr(0750, root, root) %{_sysconfdir}/borgmatic %attr(0750, root, root) %{_sysconfdir}/borgmatic.d %{_bindir}/borgmatic %{_bindir}/generate-borgmatic-config %{_bindir}/validate-borgmatic-config %{_datadir}/bash-completion/completions/%{name} %{_unitdir}/borgmatic.service %{_unitdir}/borgmatic.timer %post %systemd_post borgmatic.timer %preun %systemd_preun borgmatic.timer %postun %systemd_postun borgmatic.timer %changelog ## START: Generated by rpmautospec * Tue Nov 19 2024 Felix Kaechele - 1.9.2-1 - update to 1.9.2 * Mon Nov 11 2024 Felix Kaechele - 1.9.1-1 - update to 1.9.1 * Wed Jul 17 2024 Fedora Release Engineering - 1.8.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jul 04 2024 Felix Kaechele - 1.8.13-1 - update to 1.8.13 * Mon Jun 24 2024 Felix Kaechele - 1.8.12-1 - update to 1.8.12 * Sat Jun 08 2024 Python Maint - 1.8.11-2 - Rebuilt for Python 3.13 * Mon Apr 29 2024 Felix Kaechele - 1.8.11-1 - update to 1.8.11 * Tue Apr 16 2024 Felix Kaechele - 1.8.10-1 - update to 1.8.10 * Thu Apr 11 2024 Felix Kaechele - 1.8.9-1 - update to 1.8.9 * Fri Feb 02 2024 Felix Kaechele - 1.8.8-1 - update to 1.8.8 * Tue Jan 23 2024 Fedora Release Engineering - 1.8.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 04 2024 Felix Kaechele - 1.8.6-1 - update to 1.8.6 * Mon Nov 20 2023 Felix Kaechele - 1.8.5-1 - update to 1.8.5 * Sun Oct 01 2023 Felix Kaechele - 1.8.3-1 - update to 1.8.3 * Sun Aug 20 2023 Felix Kaechele - 1.8.2-1 - update to 1.8.2 * Fri Aug 04 2023 Felix Kaechele - 1.8.1-1 - update to 1.8.1 * Wed Jul 19 2023 Felix Kaechele - 1.8.0-1 - update to 1.8.0 * Wed Jul 19 2023 Fedora Release Engineering - 1.7.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 26 2023 Python Maint - 1.7.15-2 - Rebuilt for Python 3.12 * Sun Jun 25 2023 Felix Kaechele - 1.7.15-1 - update to 1.7.15 - upstream removed `upgrade-borgmatic-config` command - updated module import for bash completion * Thu Jun 15 2023 Python Maint - 1.7.14-2 - Rebuilt for Python 3.12 * Tue Jun 06 2023 Felix Kaechele - 1.7.14-1 - update to 1.7.14 * Wed May 17 2023 Felix Kaechele - 1.7.13-1 - update to 1.7.13 * Sat Apr 15 2023 Felix Kaechele - 1.7.12-1 - update to 1.7.12 * Tue Apr 04 2023 Felix Kaechele - 1.7.11-1 - update to 1.7.11 * Tue Mar 28 2023 Felix Kaechele - 1.7.10-1 - update to 1.7.10 * Thu Mar 16 2023 Felix Kaechele - 1.7.9-1 - update to 1.7.9 - add Suggests for externally called DBMS commands * Fri Mar 03 2023 Felix Kaechele - 1.7.8-1 - update to 1.7.8 * Fri Feb 24 2023 Felix Kaechele - 1.7.7-1 - update to 1.7.7 * Tue Jan 31 2023 Felix Kaechele - 1.7.6-1 - update to 1.7.6 * Wed Jan 18 2023 Fedora Release Engineering - 1.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 01 2022 Felix Kaechele - 1.7.5-1 - update to 1.7.5 * Sat Oct 15 2022 Felix Kaechele - 1.7.4-1 - update to 1.7.4 * Wed Oct 12 2022 Felix Kaechele - 1.7.3-1 - update to 1.7.3 * Fri Sep 09 2022 Felix Kaechele - 1.7.2-1 - update to 1.7.2 * Sat Sep 03 2022 Felix Kaechele - 1.7.1-1 - update to 1.7.1 * Thu Jul 21 2022 Felix Kaechele - 1.6.6-1 - update to 1.6.6 * Wed Jul 20 2022 Fedora Release Engineering - 1.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 01 2022 Felix Kaechele - 1.6.5-1 - update to 1.6.5 * Sun Jun 26 2022 Felix Kaechele - 1.6.4-2 - fixup version in setup.py - use pyproject_save_files * Sat Jun 25 2022 Felix Kaechele - 1.6.4-1 - update to 1.6.4 - update source URL * Mon Jun 13 2022 Python Maint - 1.6.3-2 - Rebuilt for Python 3.11 * Fri Jun 10 2022 Felix Kaechele - 1.6.3-1 - update to 1.6.3 * Wed Jun 01 2022 Felix Kaechele - 1.6.2-2 - use pyproject rpm macros - drop support for EPEL < 9 * Wed Jun 01 2022 Felix Kaechele - 1.6.2-1 - update to 1.6.2 - install bash-completion files * Wed May 25 2022 Felix Kaechele - 1.6.1-1 - update to 1.6.1 * Wed Apr 27 2022 Felix Kaechele - 1.6.0-1 - update to 1.6.0 * Mon Mar 14 2022 Felix Kaechele - 1.5.24-1 - update to 1.5.24 * Thu Feb 10 2022 Felix Kaechele - 1.5.23-1 - update to 1.5.23 * Fri Feb 04 2022 Felix Kaechele - 1.5.22-2 - fix sed on systemd unit to only replace the path * Fri Feb 04 2022 Felix Kaechele - 1.5.22-1 - update to 1.5.22 * Wed Jan 19 2022 Fedora Release Engineering - 1.5.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Nov 24 2021 Felix Kaechele - 1.5.21-1 - update to 1.5.21 * Mon Oct 11 2021 Felix Kaechele - 1.5.20-1 - update to 1.5.20 * Tue Aug 10 2021 Felix Kaechele - 1.5.18-1 - update to 1.5.18 * Tue Aug 03 2021 Felix Kaechele - 1.5.17-1 - update to 1.5.17 * Wed Jul 21 2021 Fedora Release Engineering - 1.5.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 18 2021 Felix Kaechele - 1.5.15-1 - update to 1.5.15 * Tue Jun 08 2021 Felix Kaechele - 1.5.14-1 - update to 1.5.14 * Fri Jun 04 2021 Python Maint - 1.5.13-2 - Rebuilt for Python 3.10 * Wed Mar 31 2021 Felix Kaechele - 1.5.13-1 - update to 1.5.13 * Tue Jan 26 2021 Fedora Release Engineering - 1.5.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Nov 21 2020 Felix Kaechele - 1.5.11-1 - update to 1.5.11 * Fri Sep 04 2020 Felix Kaechele - 1.5.10-1 - update to 1.5.10 * Mon Jul 27 2020 Fedora Release Engineering - 1.5.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 23 2020 Felix Kaechele - 1.5.9-1 - update to 1.5.9 * Sun Jul 12 2020 Felix Kaechele - 1.5.8-1 - update to 1.5.8 * Wed Jun 24 2020 Felix Kaechele - 1.5.7-1 - update to 1.5.7 - add python3-setuptools BuildRequires * Sun Jun 07 2020 Felix Kaechele - 1.5.6-1 - update to 1.5.6 * Thu May 28 2020 Miro Hrončok - 1.5.5-2 - Rebuilt for Python 3.9 * Wed May 27 2020 Felix Kaechele - 1.5.5-1 - update to 1.5.5 * Sat May 16 2020 Felix Kaechele - 1.5.4-1 - update to 1.5.4 * Thu May 14 2020 Felix Kaechele - 1.5.3-1 - update to 1.5.3 * Sat Apr 25 2020 Felix Kaechele - 1.5.2-1 - update to 1.5.2 * Mon Feb 03 2020 Felix Kaechele - 1.5.1-1 - update to 1.5.1 * Tue Jan 28 2020 Felix Kaechele - 1.5.0-1 - update to 1.5.0 * Tue Jan 28 2020 Fedora Release Engineering - 1.4.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 23 2020 Felix Kaechele - 1.4.22-1 - update to 1.4.22 * Sat Dec 21 2019 Felix Kaechele - 1.4.21-1 - update to 1.4.21 * Fri Dec 13 2019 Felix Kaechele - 1.4.20-1 - update to 1.4.20 - added missing Requires for python-requests * Mon Dec 09 2019 Felix Kaechele - 1.4.18-1 - update to 1.4.18 * Sat Dec 07 2019 Felix Kaechele - 1.4.17-1 - update to 1.4.17 * Tue Dec 03 2019 Felix Kaechele - 1.4.16-1 - update to 1.4.16 * Tue Nov 26 2019 Felix Kaechele - 1.4.15-1 - update to 1.4.15 * Tue Nov 26 2019 Felix Kaechele - 1.4.14-1 - update to 1.4.14 * Wed Nov 20 2019 Felix Kaechele - 1.4.13-1 - update to 1.4.13 * Mon Nov 18 2019 Felix Kaechele - 1.4.12-1 - update to 1.4.12 * Mon Nov 18 2019 Felix Kaechele - 1.4.11-1 - update to 1.4.11 * Wed Nov 13 2019 Felix Kaechele - 1.4.10-1 - update to 1.4.10 * Tue Nov 12 2019 Felix Kaechele - 1.4.9-1 - update to 1.4.9 * Tue Nov 12 2019 Felix Kaechele - 1.4.8-1 - update to 1.4.8 * Mon Nov 04 2019 Felix Kaechele - 1.4.6-1 - update to 1.4.6 * Wed Oct 23 2019 Felix Kaechele - 1.4.0-1 - update to 1.4.0 * Mon Oct 21 2019 Felix Kaechele - 1.3.26-1 - update to 1.3.26 * Sat Oct 12 2019 Felix Kaechele - 1.3.23-2 - insert conditionals for F29 and EL7 - bring back python3_version variable for EL7 compatibility * Fri Oct 11 2019 Felix Kaechele - 1.3.23-1 - update to 1.3.23 - fix dependencies - build for noarch - use release tarball directly from upstream - include docs and license from release tarball - use included unit and timer files - remove tests, they require internet access - cleanups and modernizations * Thu Oct 03 2019 Miro Hrončok - 1.2.0-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.2.0-5 - Rebuilt for Python 3.8 * Wed Jul 24 2019 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Benjamin Pereto - 1.2.0-1 - upstream release 1.2.0 - added missing deps ruamel.yaml and pykwalify * Tue Jun 19 2018 Miro Hrončok - 1.1.15-3 - Rebuilt for Python 3.7 * Thu Apr 12 2018 Benjamin Pereto - 1.1.15-2 - add empty /etc/borgmatic.d as described in documentation - add empty /etc/borgmatic as described in documentation * Thu Apr 12 2018 Benjamin Pereto - 1.1.15-1 - Initial packaging for the borgmatic project ## END: Generated by rpmautospec