Name: bcrypt Version: 1.1 Release: 2%{?dist} Summary: File encryption utility Group: Applications/File License: BSD URL: http://%{name}.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel %description 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. Bcrypt uses the blowfish encryption algorithm published by Bruce Schneier in 1993. %prep %setup -q %{__perl} -pi.orig -e 's|\${PREFIX}/man/man1|\${PREFIX}/share/man/man1|g' Makefile %build %{__make} %{?_smp_mflags} CFLAGS="%{optflags}" %install rm -rf $RPM_BUILD_ROOT %{__make} install PREFIX="%{buildroot}%{_prefix}" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc LICENSE README %doc %{_mandir}/man1/bcrypt.1* %{_bindir}/bcrypt %changelog * Wed Jul 30 2008 Rahul Sundaram - 1.1-2 Fix BR and clean up spec * Tue Jul 22 2008 Rahul Sundaram - 1.1-1 - Initial package.