SHA256
1
0
forked from pool/aespipe

Accepting request 310278 from home:pluskalm:branches:Archiving:Backup

- Update to 2.4d
  * no upstream changelog available
- Cleanup spec file with spec-cleaner
- Drop no longer needed aespipe-ppc64le.patch
- Move autoreconf to prep section

OBS-URL: https://build.opensuse.org/request/show/310278
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/aespipe?expand=0&rev=7
This commit is contained in:
2015-06-04 10:09:35 +00:00
committed by Git OBS Bridge
parent 8a1e552c1f
commit ac1afe2760
5 changed files with 24 additions and 46 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package aespipe
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,17 @@
Name: aespipe
Version: 2.4c
Version: 2.4d
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: AES Encrypting/Decrypting Pipe
License: GPL-2.0
Group: Productivity/Security
Url: http://loop-aes.sourceforge.net/
Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2
Patch1: aespipe-ppc64le.patch
#Patch1: aespipe-ppc64le.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
aespipe program is AES encrypting or decrypting pipe. It reads from standard
@@ -37,36 +37,32 @@ compatible encrypted disk images.
%prep
%setup -q -n "aespipe-v%{version}"
%__patch -p0 < aes-GPL.diff
%patch1 -p1
patch < aes-GPL.diff
#%patch1 -p1
autoreconf -fiv
%build
autoreconf -fiv
%configure
%__make \
make \
%ifarch %ix86
x86 \
%endif
%ifarch amd64 x86_64 ia32e em64t
amd64 \
%endif
%{?jobs:-j%{jobs}}
%check
%__make tests
make %{?_smp_mflags} tests
%install
%makeinstall
%__install -m0755 bz2aespipe "%{buildroot}%{_bindir}/"
%clean
rm -rf "$RPM_BUILD_ROOT"
make DESTDIR=%{buildroot} install %{?_smp_mflags}
install -m0755 bz2aespipe "%{buildroot}%{_bindir}/"
%files
%defattr(-,root,root)
%doc ChangeLog README
%{_bindir}/aespipe
%{_bindir}/bz2aespipe
%doc %{_mandir}/man1/aespipe.1*
%{_mandir}/man1/aespipe.1*
%changelog