Группа :: Система/Основа
Пакет: aespipe
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: System/Base
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Summary: AES-based encryption tool for tar/cpio and loop-aes imagemore
Name: aespipe
Version: 2.4f
Release: alt1_3
License: GPLv2+
URL: http://loop-aes.sourceforge.net/
Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: gpg
Requires: gpg
Source44: import.info
%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
%setup -q -n %{name}-v%{version}
%build
# Package calls CC to link, and violates strict-aliasing C rules
CFLAGS="$CFLAGS -fno-strict-aliasing"
%configure LDFLAGS="${CFLAGS}"
%global make_target %{nil}
%ifarch x86_64
%global make_target amd64
%endif
%ifarch %{ix86}
%global make_target x86
%endif
%make_build %{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/*
%{_bindir}/aespipe
%changelog
…
Полный changelog можно просмотреть здесь
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Summary: AES-based encryption tool for tar/cpio and loop-aes imagemore
Name: aespipe
Version: 2.4f
Release: alt1_3
License: GPLv2+
URL: http://loop-aes.sourceforge.net/
Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: gpg
Requires: gpg
Source44: import.info
%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
%setup -q -n %{name}-v%{version}
%build
# Package calls CC to link, and violates strict-aliasing C rules
CFLAGS="$CFLAGS -fno-strict-aliasing"
%configure LDFLAGS="${CFLAGS}"
%global make_target %{nil}
%ifarch x86_64
%global make_target amd64
%endif
%ifarch %{ix86}
%global make_target x86
%endif
%make_build %{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/*
%{_bindir}/aespipe
%changelog
…
Полный changelog можно просмотреть здесь