%define name passwd-gen %define version 1.01a %define release %mkrel 7 Name: %{name} Version: %{version} Release: %{release} Summary: Password generator License: GPL Group: System/Base Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version} %description passwd-gen is a very powerful password generator written in C to help you choose a good password. It contains many options to help you customize your password. The program has been developed for Linux but may run on many other system (if you are using it from something else than linux, please contact the author). %prep %setup -q %build %make CFLAGS="%{optflags}" %install rm -rf %{buildroot} install -d 755 %{buildroot}%{_bindir} install %{name} %{buildroot}%{_bindir} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING INSTALL README TODO %{_bindir}/%{name} %changelog * Tue Aug 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.01a-7mdv2007.0 - %%mkrel * Thu Jul 28 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.01a-6mdk - spec cleanup - correct optimisations * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.01a-5mdk - rebuild * Sat Feb 28 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.01a-4mdk - rebuild - dropped invalid URL * Sat Jan 04 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.01a-2mdk - rebuild * Mon Jun 24 2002 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.01a-1mdk - fist mdk release