Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > a667f515c81e297648cbb83857e22a3d > files > 2

hashalot-0.3-2mdk.src.rpm

%define name    hashalot
%define version 0.3
%define release %mkrel 2

Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2 
Summary: Binary hash generator
License: GPL
Group: System/Base
Url: http://www.paranoiacs.org/~sluskyb/hacks/hashalot
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
This program will read a passphrase from standard input and print a binary
(not printable) hhash to standard output.  The output is suitable for use as
an encryption key.

%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{name}-%{version}

%build
%configure
%make
chmod 644 AUTHORS COPYING INSTALL NEWS README
chmod 644 *.c *.h

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL NEWS README
%_sbindir/hashalot
%_sbindir/rmd160
%_sbindir/sha256
%_sbindir/sha384
%_sbindir/sha512
%_mandir/man1/hashalot*

%changelog
* Sun Oct 30 2005 Anne Nicolas <anne.nicolas@mandriva.com> 0.3-2mdk
- Fix permissions on debug files

* Sat Oct 29 2005 Anne Nicolas <anne.nicolas@mandriva.com> 0.3-1mdk
- initial release