File btrfs-backup-ng.spec of Package btrfs-backup-ng
#
# spec file for package btrfs-backup-ng
#
# Copyright (c) 2024 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
Name: btrfs-backup-ng
Version: 0.6.3
Release: 0
Summary: Intelligent, feature-rich backups for btrfs
License: MIT
URL: https://github.com/berrym/btrfs-backup-ng
Source: https://files.pythonhosted.org/packages/source/b/btrfs-backup-ng/btrfs_backup_ng-%{version}.tar.gz
BuildRequires: python3-setuptools
BuildRequires: python3-rich
Requires: python3-rich
BuildRoot: %{_tmppath}/btrfs_backup_ng-%{version}-build
BuildArch: noarch
%description
Intelligent, feature-rich backups for btrfs
%prep
%autosetup -p1 -n btrfs_backup_ng-%{version}
%build
%__python3 setup.py build
%install
%__python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README.md
%license LICENSE
%{_bindir}/btrfs-backup-ng
%{python3_sitelib}/*
%changelog