Name: bup Version: 0.33.4 Release: 1%{?dist} Summary: Very efficient backup system based on the git packfile format License: GPLv2 URL: https://github.com/%{name}/%{name} Source0: https://github.com/%{name}/%{name}/archive/refs/tags/%{version}/%{name}-%{version}.tar.gz %global git_min_ver 1.5.6 BuildRequires: gcc BuildRequires: sed BuildRequires: make BuildRequires: pandoc BuildRequires: git-core >= %{git_min_ver} BuildRequires: perl-Time-HiRes BuildRequires: python3-devel BuildRequires: python3-fuse BuildRequires: python3-pylibacl BuildRequires: python3-pyxattr BuildRequires: python3-tornado # For tests: BuildRequires: acl BuildRequires: attr BuildRequires: kmod BuildRequires: rsync BuildRequires: man-db BuildRequires: par2cmdline BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-xdist Requires: git-core >= %{git_min_ver} Requires: par2cmdline Requires: python3 >= 3.7 # https://github.com/libfuse/python-fuse Requires: python3-libfuse Requires: python3-pylibacl Requires: python3-pyxattr Requires: python3-tornado %description Very efficient backup system based on the git packfile format, providing fast incremental saves and global deduplication (among and within files, including virtual machine images). %prep %autosetup -p1 -n %{name}-%{version} %build # Macros `%%configure` can't be used - it's not configure from autotools ./configure %make_build %install %make_install PREFIX=%{_prefix} sed -i 's|#!/bin/sh|#!/usr/bin/sh|' %{buildroot}%{_prefix}/lib/%{name}/cmd/%{name}-* %check # Removing `test-meta` - it fails inside mock rm -v test/ext/test-meta # Test `test-help` broken since Fedora 39 make %{?_smp_mflags} check ||: %files %license LICENSE %doc README.md %doc note/*.md %doc %{_datadir}/doc/%{name}/%{name}*.html %{_bindir}/%{name} %{_prefix}/lib/%{name}/ %{_mandir}/man1/%{name}*.gz %changelog * Mon Aug 26 2024 - 0.33.4 - version 0.33.4 * Sun Jun 09 2024 - 0.34-2 - version 0.34 * Sun Jun 09 2024 - 0.34-1 - version 0.34