forked from pool/aespipe
55 lines
1.2 KiB
RPMSpec
55 lines
1.2 KiB
RPMSpec
|
Name: aespipe
|
||
|
Version: 2.4c
|
||
|
Release: 1
|
||
|
License: GPL-2.0
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
Group: Productivity/Security
|
||
|
Summary: AES Encrypting/Decrypting Pipe
|
||
|
URL: http://loop-aes.sourceforge.net/
|
||
|
Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2
|
||
|
BuildRequires: autoconf
|
||
|
BuildRequires: automake
|
||
|
|
||
|
%description
|
||
|
aespipe program is AES encrypting or decrypting pipe. It reads from standard
|
||
|
input and writes to standard output. It can be used to create and restore
|
||
|
encrypted tar or cpio archives. It can be used to encrypt and decrypt loop-AES
|
||
|
compatible encrypted disk images.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "aespipe-v%{version}"
|
||
|
%__patch -p0 < aes-GPL.diff
|
||
|
|
||
|
%build
|
||
|
autoreconf -fiv
|
||
|
%configure
|
||
|
%__make \
|
||
|
%ifarch %ix86
|
||
|
x86 \
|
||
|
%endif
|
||
|
%ifarch amd64 x86_64 ia32e em64t
|
||
|
amd64 \
|
||
|
%endif
|
||
|
%{?jobs:-j%{jobs}}
|
||
|
|
||
|
%check
|
||
|
%__make tests
|
||
|
|
||
|
|
||
|
%install
|
||
|
%makeinstall
|
||
|
%__install -m0755 bz2aespipe "%{buildroot}%{_bindir}/"
|
||
|
|
||
|
|
||
|
%clean
|
||
|
rm -rf "$RPM_BUILD_ROOT"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc ChangeLog README
|
||
|
%{_bindir}/aespipe
|
||
|
%{_bindir}/bz2aespipe
|
||
|
%doc %{_mandir}/man1/aespipe.1*
|
||
|
|
||
|
%changelog
|