Till Hofmann fd83e5
Name:           btrfs-sxbackup
63ce9a
Version:        0.6.11
769f10
Release:        6%{?dist}
Till Hofmann fd83e5
Summary:        Incremental btrfs snapshot backups with push/pull support via SSH
Till Hofmann fd83e5
License:        GPLv2+
Till Hofmann fd83e5
URL:            https://github.com/masc3d/btrfs-sxbackup
Till Hofmann fd83e5
Source0:        https://github.com/masc3d/btrfs-sxbackup/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Till Hofmann fd83e5
# Add a manpage. The manpage was sent upstream but rejected, because they want
Till Hofmann fd83e5
# to avoid maintaining multiple documentations and generate the manpage from the
Till Hofmann fd83e5
# existing documentation instead. Keep the manpage until upstream has found a
Till Hofmann fd83e5
# solution. Also see https://github.com/masc3d/btrfs-sxbackup/issues/26.
Till Hofmann fd83e5
Patch0:         btrfs-sxbackup-manpages.patch
Till Hofmann fd83e5
# Fix missing test suite from setup.py.
Till Hofmann fd83e5
Patch1:         btrfs-sxbackup-tests.patch
Till Hofmann fd83e5
Till Hofmann fd83e5
BuildArch:      noarch
Till Hofmann fd83e5
BuildRequires:  python3-devel
Till Hofmann fd83e5
Till Hofmann fd83e5
%description
Till Hofmann fd83e5
Btrfs snapshot backup utility with push/pull support via SSH, retention, Email
Till Hofmann fd83e5
notifications, compression of transferred data, and syslog logging.
Till Hofmann fd83e5
Till Hofmann fd83e5
Till Hofmann fd83e5
%prep
Till Hofmann fd83e5
%autosetup -p 1 -n %{name}-%{version}
Till Hofmann fd83e5
Till Hofmann fd83e5
Till Hofmann fd83e5
%build
Till Hofmann fd83e5
%py3_build
Till Hofmann fd83e5
Till Hofmann fd83e5
Till Hofmann fd83e5
%install
Till Hofmann fd83e5
%py3_install
Till Hofmann fd83e5
install -d %{buildroot}/%{_mandir}/man1
Till Hofmann fd83e5
install -p -m644 man/* %{buildroot}/%{_mandir}/man1
Till Hofmann 05e454
install -d %{buildroot}/%{_sysconfdir}
Till Hofmann 05e454
install -p -m644 etc/btrfs-sxbackup.conf %{buildroot}/%{_sysconfdir}
Till Hofmann fd83e5
Till Hofmann fd83e5
Till Hofmann fd83e5
%check
Till Hofmann fd83e5
%{__python3} setup.py test
Till Hofmann fd83e5
Till Hofmann fd83e5
Till Hofmann fd83e5
%files
Till Hofmann fd83e5
%doc README.rst
Till Hofmann fd83e5
%license LICENSE
Till Hofmann fd83e5
%{_bindir}/btrfs-sxbackup
Till Hofmann fd83e5
%{python3_sitelib}/*
Till Hofmann fd83e5
%{_mandir}/man1/*
Till Hofmann 05e454
%config(noreplace) %{_sysconfdir}/btrfs-sxbackup.conf
Till Hofmann fd83e5
Till Hofmann fd83e5
Till Hofmann fd83e5
%changelog
769f10
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.11-6
769f10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
769f10
c44cc2
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.11-5
c44cc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c44cc2
e87216
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.11-4
e87216
- Rebuilt for Python 3.7
e87216
69380b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.11-3
69380b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
69380b
069676
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.11-2
069676
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
069676
63ce9a
* Sun Mar 26 2017 Till Hofmann <till.hofmann@posteo.de> - 0.6.11-1
63ce9a
- Update to 0.6.11
63ce9a
c425b4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.10-3
c425b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c425b4
bb0622
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.6.10-2
bb0622
- Rebuild for Python 3.6
bb0622
Till Hofmann 5854ea
* Sat Aug 27 2016 Till Hofmann <till.hofmann@posteo.de> - 0.6.10-1
Till Hofmann 5854ea
- Update to 0.6.10
Till Hofmann 5854ea
2ed885
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.9-3
2ed885
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2ed885
Till Hofmann 05e454
* Sun Jul 10 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.6.9-2
Till Hofmann 05e454
- Add default config file
Till Hofmann 05e454
Till Hofmann 931384
* Tue Jun 28 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.6.9-1
Till Hofmann 931384
- Update to 0.6.9
Till Hofmann 931384
Till Hofmann e4c643
* Mon Jun 20 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.6.8-1
Till Hofmann e4c643
- Update to 0.6.8
Till Hofmann e4c643
Till Hofmann b41d47
* Wed Jun 15 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.6.7-1
Till Hofmann b41d47
- Update to 0.6.7
Till Hofmann b41d47
Till Hofmann fd83e5
* Mon Jun 06 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.6.6-2
Till Hofmann fd83e5
- Change license to GPLv2+, add license file
Till Hofmann fd83e5
Till Hofmann fd83e5
* Sat Jun 04 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.6.6-1
Till Hofmann fd83e5
- Update to 0.6.6
Till Hofmann fd83e5
Till Hofmann fd83e5
* Fri Jan 01 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.5.9-3
Till Hofmann fd83e5
- Patch setup.py to run unit tests correctly
Till Hofmann fd83e5
Till Hofmann fd83e5
* Fri Jan 01 2016 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.5.9-2
Till Hofmann fd83e5
- Add manpages
Till Hofmann fd83e5
Till Hofmann fd83e5
* Sat Dec 05 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.5.9-1
Till Hofmann fd83e5
- Update to newest upstream release
Till Hofmann fd83e5
Till Hofmann fd83e5
* Tue Nov  3 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.5.8-1
Till Hofmann fd83e5
- Initial package