Skip to content

Commit

Permalink
Add rpm specfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored and amadvance committed Aug 9, 2023
1 parent 6b3ac2a commit aa04ede
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions snapraid-rpm.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Name: snapraid
Summary: Disk array backup for many large rarely-changed files
Version: 12.2
Release: 3%{?dist}
License: GPLv3+
Group: Applications/System
URL: http://www.snapraid.it/
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
%setup -q

%build
%configure
make %{?_smp_mflags}

%check
make check

%install
make install DESTDIR=%{buildroot}

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

%changelog

0 comments on commit aa04ede

Please sign in to comment.