File bcrypt.spec of Package bcrypt-1.1

# $Id$
# Authority: dag
# Upstream: 

Summary: File encryption utility
Name: bcrypt
Version: 1.1
Release: 1.rf
License: GPL
Group: Applications/File

Packager: Dag Wieers <>
Vendor: Dag Apt Repository,

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Bcrypt is a cross platform file encryption utility. Encrypted files are
portable across all supported operating systems and processors.
Passphrases must be between 8 and 56 characters and are hashed internally
to a 448 bit key. However, all characters supplied are significant. The
stronger your passphrase, the more secure your data.

In addition to encrypting your data, bcrypt will by default overwrite the
original input file with random garbage three times before deleting it in
order to thwart data recovery attempts by persons who may gain access to
your computer. If you're not quite ready for this level of paranoia yet,
see the installation instructions below for how to disable this feature.
If you don't think this is paranoid enough.. see below.

Bcrypt uses the blowfish encryption algorithm published by Bruce Schneier
in 1993. More information on the algorithm can be found at Counterpane.
Specifically, bcrypt uses Paul Kocher's implementation of the algorithm.
The source distributed with bcrypt has been slightly altered from the


%{__perl} -pi.orig -e 's|\${PREFIX}/man/man1|\${PREFIX}/share/man/man1|g' Makefile

%{__make} %{?_smp_mflags} CFLAGS="%{optflags}"

%{__rm} -rf %{buildroot}
%{__make} install PREFIX="%{buildroot}%{_prefix}"

%{__rm} -rf %{buildroot}

%defattr(-, root, root, 0755)
%doc %{_mandir}/man1/bcrypt.1*

* Fri Nov 30 2007 Dag Wieers <> - 1.1-1 - +/
- Initial package. (using DAR)