%define name fsgrab %define version 1.1 %define release 8mdk Summary: Get blocks from an (ext2) filesystem on Linux Name: %{name} Version: %{version} Release: %{release} License: GPL Group: File tools Source: %name-%version.tar.bz2 Buildroot: %_tmppath/%{name}-buildroot %description This program allows you to seek to a given point in a file or a block device and write a given number of blocks out from that point, without reading the intervening material. This is useful in attempting undeletion of files. See the Ext2fs-Undeletion howto for details. %prep rm -rf $RPM_BUILD_ROOT %setup %build make %install install -m 755 -d $RPM_BUILD_ROOT%{_bindir} install -m 755 fsgrab $RPM_BUILD_ROOT%{_bindir}/ install -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man1 install -m 644 fsgrab.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc README %{_bindir}/* %{_mandir}/man1/* %changelog * Thu Feb 19 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.1-8mdk - rebuild * Fri Jan 17 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.1-7mdk - rebuild * Wed Aug 28 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.1-6mdk - rebuild * Tue Jul 10 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.1-5mdk - rebuild * Tue Jan 09 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.1-4mdk - rebuild * Wed Jul 26 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1-3mdk - BM * Wed Apr 26 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.1-2mdk - fix files section - fix group * Thu Feb 17 2000 Lenny Cartier <lenny@mandrakesoft.com> - mandrake build