snapraid/pkg/snapraid.spec.in

53 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

2026-02-13 11:37:07 +01:00
Name: @PACKAGE@
Summary: Disk array backup for many large rarely-changed files
2026-02-24 11:34:31 +01:00
Version: @PACKAGE_VERSION@
2026-02-13 11:37:07 +01:00
Release: 1%{?dist}
License: GPL-3.0-or-later
Group: Applications/System
URL: https://www.snapraid.it/
Source0: https://github.com/amadvance/@PACKAGE@/releases/download/v%{version}/@PACKAGE@-%{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
%setup -q
%build
%configure
make %{?_smp_mflags}
%check
make check
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%files
%license LICENSES/GPL-3.0
2026-02-13 11:37:07 +01:00
%doc AUTHORS HISTORY README @PACKAGE@.conf.example
%{_bindir}/@PACKAGE@
%{_mandir}/man1/@PACKAGE@.1*
%{_mandir}/man1/snapraid_log.1*
%lang(de) %{_mandir}/de/man1/@PACKAGE@.1*
%lang(es) %{_mandir}/es/man1/@PACKAGE@.1*
%lang(fr) %{_mandir}/fr/man1/@PACKAGE@.1*
%lang(it) %{_mandir}/it/man1/@PACKAGE@.1*
%lang(ja) %{_mandir}/ja/man1/@PACKAGE@.1*
%lang(ko) %{_mandir}/ko/man1/@PACKAGE@.1*
%lang(pl) %{_mandir}/pl/man1/@PACKAGE@.1*
%lang(pt) %{_mandir}/pt/man1/@PACKAGE@.1*
%lang(ro) %{_mandir}/ro/man1/@PACKAGE@.1*
%lang(ru) %{_mandir}/ru/man1/@PACKAGE@.1*
%lang(sv) %{_mandir}/sv/man1/@PACKAGE@.1*
%lang(uk) %{_mandir}/uk/man1/@PACKAGE@.1*
%lang(zh) %{_mandir}/zh/man1/@PACKAGE@.1*
%changelog
# Add your changelog entries here