%define name fdupes %define version 1.40 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: Identify or delete duplicate files License: BSD like Group: File tools Source: http://netdial.caribe.net/~adrian2/programs/%{name}-%{version}.tar.bz2 Patch: %{name}-1.40.makefile.patch.bz2 Url: http://netdial.caribe.net/~adrian2/fdupes.html Buildroot: %{_tmppath}/%{name}-%{version} %description FDUPES is a program for identifying or deleting duplicate files residing within specified directories. %prep %setup %patch %build %make CFLAGS="%{optflags}" %install rm -rf %{buildroot} install -d -m 755 %{buildroot}%{_bindir} install -m 755 %{name} %{buildroot}%{_bindir} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES CONTRIBUTORS INSTALL README TODO %{_bindir}/%{name} %changelog * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.40-4mdv2009.0 + Revision: 245076 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.40-2mdv2008.1 + Revision: 124930 - kill re-definition of %%buildroot on Pixel's request - import fdupes * Thu Jun 22 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.40-2mdv2007.0 - %%mkrel * Tue Jun 14 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.40-1mdk - first mdk release