snapraid/snapraid-rpm.spec

53 lines
1.5 KiB
RPMSpec
Raw Normal View History

2023-08-09 07:47:54 -05:00
Name: snapraid
Summary: Disk array backup for many large rarely-changed files
2026-01-26 09:38:12 +01:00
Version: 14.0
2023-08-09 07:47:54 -05:00
Release: 3%{?dist}
2025-12-25 23:47:22 +01:00
License: GPL-3.0-or-later
2023-08-09 07:47:54 -05:00
Group: Applications/System
URL: https://www.snapraid.it/
2025-12-25 23:47:22 +01:00
Source0: https://github.com/amadvance/snapraid/releases/download/v%{version}/snapraid-%{version}.tar.gz
2023-08-09 07:47:54 -05:00
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
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
make check
%install
2025-12-25 23:47:22 +01:00
rm -rf %{buildroot}
2023-08-09 07:47:54 -05:00
make install DESTDIR=%{buildroot}
%files
2025-12-25 23:47:22 +01:00
%license COPYING
%doc AUTHORS HISTORY README snapraid.conf.example
2023-08-09 07:47:54 -05:00
%{_bindir}/snapraid
%{_mandir}/man1/snapraid.1*
2025-12-25 23:47:22 +01:00
%{_mandir}/man1/snapraid_log.1*
%lang(de) %{_mandir}/de/man1/snapraid.1*
%lang(es) %{_mandir}/es/man1/snapraid.1*
%lang(fr) %{_mandir}/fr/man1/snapraid.1*
%lang(it) %{_mandir}/it/man1/snapraid.1*
%lang(ja) %{_mandir}/ja/man1/snapraid.1*
%lang(ko) %{_mandir}/ko/man1/snapraid.1*
%lang(pl) %{_mandir}/pl/man1/snapraid.1*
%lang(pt) %{_mandir}/pt/man1/snapraid.1*
%lang(ro) %{_mandir}/ro/man1/snapraid.1*
%lang(ru) %{_mandir}/ru/man1/snapraid.1*
%lang(sv) %{_mandir}/sv/man1/snapraid.1*
%lang(uk) %{_mandir}/uk/man1/snapraid.1*
%lang(zh) %{_mandir}/zh/man1/snapraid.1*
2023-08-09 07:47:54 -05:00
%changelog
2025-12-25 23:47:22 +01:00
# Add your changelog entries here