mirror of
https://github.com/scsitape/stenc.git
synced 2026-07-31 11:42:41 +00:00
Add example spec file for Fedora/CentOS/RHEL
This commit is contained in:
+43
@@ -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
|
||||
Reference in New Issue
Block a user