File snapraid-13.0.spec of Package snapraid-13.0

Name:           snapraid
Summary:        Disk array backup for many large rarely-changed files
Version:        13.0
Release:        3%{?dist}
License:        GPL-3.0-or-later
Group:          Applications/System
URL:            https://www.snapraid.it/
Source0:        https://github.com/amadvance/snapraid/releases/download/v%{version}/snapraid-%{version}.tar.gz
BuildRequires:  gcc

%if "%{_repository}" == "Mageia_Cauldron"
BuildRequires: kernel-stable-testing-userspace-headers
%endif

%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
%setup -q

%build
%configure
make %{?_smp_mflags}

%check
make check

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%files
%license COPYING
%doc AUTHORS HISTORY README snapraid.conf.example
%{_bindir}/snapraid
%{_mandir}/man1/snapraid.1*

%changelog
# Add your changelog entries here
openSUSE Build Service is sponsored by