1 Summary: File encryption utility
6 Group: Applications/File
7 URL: http://bcrypt.sourceforge.net/
8 Source0: http://downloads.sourceforge.net/bcrypt/%{name}-%{version}.tar.gz
9 # Source0-md5: 8ce2873836ccd433329c8df0e37e298c
10 BuildRequires: sed >= 4.0
11 BuildRequires: zlib-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Bcrypt is a cross platform file encryption utility. Encrypted files
16 are portable across all supported operating systems and processors.
17 Passphrases must be between 8 and 56 characters and are hashed
18 internally to a 448 bit key. However, all characters supplied are
19 significant. The stronger your passphrase, the more secure your data.
21 In addition to encrypting your data, bcrypt will by default overwrite
22 the original input file with random garbage three times before
23 deleting it in order to thwart data recovery attempts by persons who
24 may gain access to your computer. Bcrypt uses the blowfish encryption
25 algorithm published by Bruce Schneier in 1993.
30 %{__sed} -i -e 's|\${PREFIX}/man/man1|\${PREFIX}/share/man/man1|g' Makefile
38 rm -rf $RPM_BUILD_ROOT
40 PREFIX=$RPM_BUILD_ROOT%{_prefix}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/bcrypt
49 %{_mandir}/man1/bcrypt.1*