]>
Commit | Line | Data |
---|---|---|
33439464 | 1 | Summary: AES-encryption tool for tar/cpio and loop-aes images |
2 | Name: aespipe | |
3 | Version: 2.2d | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: Applications | |
7 | Source0: http://loop-aes.sourceforge.net/aespipe/%{name}-v%{version}.tar.bz2 | |
8 | # Source0-md5: d7f2acc68062ffc5dc71c01f5c5b8af7 | |
9 | URL: http://loop-aes.sourceforge.net/ | |
10 | BuildRequires: autoconf | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | aespipe is an encryption tool that reads from standard input and | |
15 | writes to standard output. It uses the AES (Rijndael) cipher. | |
16 | ||
17 | It can be used as an encryption filter, to create and restore | |
18 | encrypted tar/cpio backup archives and to read/write and convert | |
19 | loop-AES compatible encrypted images. | |
20 | ||
21 | aespipe can be used for non-destructive in-place encryption of | |
22 | existing disk partitions for use with the loop-AES encrypted loopback | |
23 | kernel module. | |
24 | ||
25 | %prep | |
26 | %setup -q -n %{name}-v%{version} | |
27 | ||
28 | %build | |
29 | %{__aclocal} | |
30 | %{__autoconf} | |
31 | %configure | |
32 | %{__make} \ | |
33 | %ifarch %{amd64} | |
34 | amd64 | |
35 | %endif | |
36 | %ifarch %{ix86} | |
37 | x86 | |
38 | %endif | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
44 | ||
45 | install aespipe $RPM_BUILD_ROOT%{_bindir} | |
46 | install bz2aespipe $RPM_BUILD_ROOT%{_bindir} | |
47 | install aespipe.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc ChangeLog README | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %attr(644,root,root) %{_mandir}/man1/* |