60 lines
1.6 KiB
RPMSpec
60 lines
1.6 KiB
RPMSpec
Summary: AES-based encryption tool for tar/cpio and loop-aes imagemore
|
|
Name: aespipe
|
|
Version: 2.4g
|
|
Release: 2%{?dist}
|
|
License: GPL-2.0-or-later
|
|
URL: http://loop-aes.sourceforge.net/
|
|
Source: %{url}/aespipe/aespipe-v%{version}.tar.bz2
|
|
BuildRequires: gcc
|
|
BuildRequires: gpg
|
|
BuildRequires: make
|
|
Requires: gpg
|
|
|
|
%description
|
|
aespipe is an encryption tool that reads from standard input and
|
|
writes to standard output. It uses the AES (Rijndael) cipher.
|
|
|
|
It can be used as an encryption filter, to create and restore
|
|
encrypted tar/cpio backup archives and to read/write and convert
|
|
loop-AES compatible encrypted images.
|
|
|
|
aespipe can be used for non-destructive in-place encryption of
|
|
existing disk partitions for use with the loop-AES encrypted loop-back
|
|
kernel module.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-v%{version}
|
|
|
|
%build
|
|
%set_build_flags
|
|
%configure LDFLAGS="${CFLAGS}"
|
|
|
|
%global make_target %{nil}
|
|
%ifarch x86_64
|
|
%global make_target amd64
|
|
%endif
|
|
%ifarch %{ix86}
|
|
%global make_target x86
|
|
%endif
|
|
make %{?_smp_mflags} %{make_target}
|
|
|
|
%check
|
|
make tests
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}/examples
|
|
cp -p ChangeLog README %{buildroot}%{_defaultdocdir}/%{name}
|
|
install -Dp -m0644 bz2aespipe %{buildroot}%{_defaultdocdir}/%{name}/examples
|
|
install -Dp -m0644 aespipe.1 %{buildroot}%{_mandir}/man1/aespipe.1
|
|
install -Dp -m0755 aespipe %{buildroot}%{_bindir}/aespipe
|
|
|
|
|
|
%files
|
|
%dir %{_defaultdocdir}/%{name}
|
|
%{_defaultdocdir}/%{name}/*
|
|
%{_mandir}/man1/aespipe.1*
|
|
%{_bindir}/aespipe
|
|
|
|
%changelog
|
|
* Mon Jun 16 2025 Jirka Hladky <hladky.jiri@gmail.com> - 2.4g-2.el10_1
|
|
- Initial build for EPEL 10
|