%define name foremost %define version 0.69 %define release 2mdk Summary: Recover files based on their headers and footers. Name: %name Version: %version Release: %release Epoch: 0 Group: File tools License: Public Domain URL: http://foremost.sourceforge.net/ Source0: http://foremost.sourceforge.net/pkg/%name-%version.tar.bz2 Buildroot: %_tmppath/%name-%version-%release-buildroot %description Foremost is a Linux program to recover files based on their headers and footers. Foremost can work on image files, such as those generated by dd, Safeback, Encase, etc, or directly on a drive. The headers and footers are specified by a configuration file, so you can pick and choose which headers you want to look for. %prep %setup -q %build %make CC_OPTS="%optflags" %install %__rm -rf %buildroot %__install -d -m 755 %buildroot%_sysconfdir %__install -d -m 755 %buildroot%_bindir %__install -d -m 755 %buildroot%_mandir/man1 %__install -m 755 foremost %buildroot%_bindir %__install -m 644 foremost.1 %buildroot%_mandir/man1 %__install -m 644 foremost.conf %buildroot%_sysconfdir %clean %__rm -rf %buildroot %files %defattr(-,root,root) %doc CHANGES README TODO %config(noreplace) %_sysconfdir/foremost.conf %_bindir/foremost %_mandir/man1/foremost.1* %changelog * Fri Mar 18 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.69-2mdk - rebuild * Sun Feb 29 2004 David Walluck <walluck@linux-mandrake.com> 0:0.69-1mdk - 0.69 * Mon May 12 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.64-1mdk - initial cooker contrib