forked from pool/aespipe
- Cleanup spec file with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/aespipe?expand=0&rev=14
This commit is contained in:
parent
968d2bee17
commit
70e8e99404
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 1 07:02:38 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 31 21:07:06 UTC 2017 - meissner@suse.com
|
||||
|
||||
|
18
aespipe.spec
18
aespipe.spec
@ -26,7 +26,7 @@ Url: http://loop-aes.sourceforge.net/
|
||||
Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gpg
|
||||
|
||||
%description
|
||||
aespipe program is AES encrypting or decrypting pipe. It reads from standard
|
||||
@ -40,30 +40,24 @@ patch < aes-GPL.diff
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%if %suse_version > 1315
|
||||
%if 0%{?suse_version} > 1315
|
||||
export LDFLAGS="-no-pie"
|
||||
%endif
|
||||
%configure
|
||||
make \
|
||||
%ifarch %ix86
|
||||
x86 \
|
||||
%endif
|
||||
%ifarch amd64 x86_64 ia32e em64t
|
||||
amd64 \
|
||||
%endif
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} tests
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
install -m0755 bz2aespipe "%{buildroot}%{_bindir}/"
|
||||
%make_install
|
||||
install -D -p -m 0755 bz2aespipe "%{buildroot}%{_bindir}/"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README
|
||||
%{_bindir}/aespipe
|
||||
%{_bindir}/bz2aespipe
|
||||
%{_mandir}/man1/aespipe.1*
|
||||
%{_mandir}/man1/aespipe.1%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user