1c48e63
Name:           bcrypt
1c48e63
Version:        1.1
1c48e63
Release:        2%{?dist}
1c48e63
Summary:        File encryption utility
1c48e63
1c48e63
Group:          Applications/File
1c48e63
License:        BSD
1c48e63
URL:            http://%{name}.sourceforge.net/
1c48e63
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
1c48e63
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1c48e63
BuildRequires:  zlib-devel
1c48e63
1c48e63
1c48e63
%description
1c48e63
Bcrypt is a cross platform file encryption utility. Encrypted files are
1c48e63
portable across all supported operating systems and processors.
1c48e63
Passphrases must be between 8 and 56 characters and are hashed internally
1c48e63
to a 448 bit key. However, all characters supplied are significant. The
1c48e63
stronger your passphrase, the more secure your data.
1c48e63
1c48e63
In addition to encrypting your data, bcrypt will by default overwrite the
1c48e63
original input file with random garbage three times before deleting it in
1c48e63
order to thwart data recovery attempts by persons who may gain access to
1c48e63
your computer. Bcrypt uses the blowfish encryption algorithm published by 
1c48e63
Bruce Schneier in 1993.
1c48e63
1c48e63
1c48e63
%prep
1c48e63
%setup -q
1c48e63
1c48e63
%{__perl} -pi.orig -e 's|\${PREFIX}/man/man1|\${PREFIX}/share/man/man1|g' Makefile
1c48e63
1c48e63
1c48e63
%build
1c48e63
%{__make} %{?_smp_mflags} CFLAGS="%{optflags}"
1c48e63
1c48e63
1c48e63
%install
1c48e63
rm -rf $RPM_BUILD_ROOT 
1c48e63
%{__make} install PREFIX="%{buildroot}%{_prefix}"
1c48e63
1c48e63
1c48e63
%clean
1c48e63
rm -rf $RPM_BUILD_ROOT
1c48e63
1c48e63
1c48e63
%files
1c48e63
%defattr(-, root, root, -)
1c48e63
%doc LICENSE README
1c48e63
%doc %{_mandir}/man1/bcrypt.1*
1c48e63
%{_bindir}/bcrypt
1c48e63
1c48e63
%changelog
1c48e63
* Wed Jul 30 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 1.1-2
1c48e63
  Fix BR and clean up spec
1c48e63
1c48e63
* Tue Jul 22 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 1.1-1 
1c48e63
- Initial package.