Files
snapraid/snapraid.spec
Martin Pluskal 28e673c655 Accepting request 1146118 from home:polslinux:tools
A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures

OBS-URL: https://build.opensuse.org/request/show/1146118
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/snapraid?expand=0&rev=1
2024-02-13 09:37:31 +00:00

54 lines
1.6 KiB
RPMSpec

#
# spec file for package snapraid
#
# Copyright (c) 2024 SUSE LLC
#
# 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: snapraid
Version: 12.3
Release: 0
Summary: Disk array backup for many large rarely-changed files
License: GPL-3.0-or-later
URL: https://github.com/amadvance/snapraid
Source: https://github.com/amadvance/snapraid/releases/download/v%{version}/snapraid-%{version}.tar.gz
BuildRequires: gcc
%description
SnapRAID is a backup program for disk arrays. It stores parity
information of your data and it's able to recover from up to six disk
failures. SnapRAID is mainly targeted for a home media center, with a
lot of big files that rarely change.
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install
sed -i '/^#/! s/^/#/' snapraid.conf.example
install -Dm 0644 snapraid.conf.example %{buildroot}%{_sysconfdir}/snapraid.conf
%files
%license COPYING
%doc HISTORY README AUTHORS
%config %{_sysconfdir}/snapraid.conf
%{_bindir}/snapraid
%{_mandir}/man1/snapraid.1*
%changelog