Add example spec file for Fedora/CentOS/RHEL

This commit is contained in:
Paweł Marciniak
2020-07-26 22:06:11 +02:00
parent dc99d2b3e6
commit 90586aa018
+43
View File
@@ -0,0 +1,43 @@
Name: stenc
Version: 1.0.8
Release: 1%{?dist}
Summary: SCSI Tape Encryption Manager
License: GPLv2
URL: https://github.com/scsitape/stenc
Source0: https://github.com/scsitape/stenc/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: autoconf
BuildRequires: automake
%description
SCSI Tape Encryption Manager - Manages encryption on LTO 4 and newer tape
drives with hardware-based encryption
%prep
%setup -q
%build
./autogen.sh
%configure
make
%install
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING README.md AUTHORS
%{_bindir}/stenc
%{_mandir}/man1/stenc.1*
%changelog
* Sat Jul 4 2020 Your Name <email@example.com> 1.0.8
- Initial SPEC file