2012-04-01 12:14:50 +00:00
|
|
|
#
|
|
|
|
# spec file for package aespipe
|
|
|
|
#
|
2017-02-24 12:30:22 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-04-01 12:14:50 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2012-03-12 12:54:40 +00:00
|
|
|
Name: aespipe
|
2015-06-04 10:09:35 +00:00
|
|
|
Version: 2.4d
|
2012-04-01 12:14:50 +00:00
|
|
|
Release: 0
|
2012-03-12 12:54:40 +00:00
|
|
|
Summary: AES Encrypting/Decrypting Pipe
|
2012-04-01 12:14:50 +00:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: Productivity/Security
|
|
|
|
Url: http://loop-aes.sourceforge.net/
|
2012-03-12 12:54:40 +00:00
|
|
|
Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2
|
2012-04-01 12:14:50 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2017-04-01 07:14:00 +00:00
|
|
|
BuildRequires: gpg2
|
|
|
|
Requires: gpg2
|
2012-03-12 12:54:40 +00:00
|
|
|
|
|
|
|
%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}"
|
2015-06-04 10:09:35 +00:00
|
|
|
patch < aes-GPL.diff
|
2012-03-12 12:54:40 +00:00
|
|
|
|
|
|
|
%build
|
2015-06-04 11:19:27 +00:00
|
|
|
autoreconf -fiv
|
2017-04-01 07:02:57 +00:00
|
|
|
%if 0%{?suse_version} > 1315
|
2017-04-01 06:54:56 +00:00
|
|
|
export LDFLAGS="-no-pie"
|
|
|
|
%endif
|
2017-04-01 07:14:00 +00:00
|
|
|
%configure \
|
|
|
|
%ifarch %ix86
|
|
|
|
--enable-asm=x86 --enable-padlock --enable-intelaes \
|
|
|
|
%endif
|
|
|
|
%ifarch amd64 x86_64 ia32e em64t
|
|
|
|
--enable-asm=amd64 --enable-padlock --enable-intelaes \
|
|
|
|
%endif
|
|
|
|
--disable-silent-rules
|
2017-04-01 07:02:57 +00:00
|
|
|
make %{?_smp_mflags}
|
2012-03-12 12:54:40 +00:00
|
|
|
|
|
|
|
%check
|
2015-06-04 10:09:35 +00:00
|
|
|
make %{?_smp_mflags} tests
|
2012-03-12 12:54:40 +00:00
|
|
|
|
|
|
|
%install
|
2017-04-01 07:02:57 +00:00
|
|
|
%make_install
|
2017-04-01 07:14:00 +00:00
|
|
|
install -D -p -m 0755 bz2aespipe \
|
|
|
|
%{buildroot}%{_bindir}/bz2aespipe
|
2012-03-12 12:54:40 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog README
|
|
|
|
%{_bindir}/aespipe
|
|
|
|
%{_bindir}/bz2aespipe
|
2017-04-01 07:02:57 +00:00
|
|
|
%{_mandir}/man1/aespipe.1%{ext_man}
|
2012-03-12 12:54:40 +00:00
|
|
|
|
|
|
|
%changelog
|