File zfs-auto-snapshot.spec of Package zfs-auto-snapshot
#
# spec file for package zfs-auto-snapshot
#
# Copyright (c) 2024 Lorenz Hüdepohl
#
# 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: zfs-auto-snapshot2
Version: 0.2
Release: 0
Summary: A little tool to make and keep ZFS snapshots
Packager: dev@stellardeath.org
License: MIT
URL: https://git.huedepohl.org/git/?p=zfs-auto-snapshot.git
Source0: zfs-auto-snapshot-%{version}.tar.gz
BuildArch: noarch
Requires: python3
Conflicts: zfs-auto-snapshot
%description
Make ZFS snapshots and optionally only keep the newest n around
%prep
%autosetup -n zfs-auto-snapshot-%{version}
%build
true
%install
install -d %{buildroot}%{_bindir}
install -m 0755 zfs-auto-snapshot %{buildroot}%{_bindir}
install -d %{buildroot}%{_datadir}/zfs-auto-snapshot
install -m 0644 snapshots.lua %{buildroot}%{_datadir}/zfs-auto-snapshot/
%files
%{_bindir}/zfs-auto-snapshot
%{_datadir}/zfs-auto-snapshot
%changelog