1 Summary: Disc recovery tools for EXT2FS
2 Name: disc-recovery-utils
6 Group: Applications/System
7 Group(de): Applikationen/System
8 Group(pl): Aplikacje/System
9 Source0: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/%{name}-%{version}.tgz
10 BuildRequires: e2fsprogs-devel >= 1.07
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _sbindir /sbin
16 A few disc recovery tools (copy_blocks and copy_listed_blocks) and an
17 inode recovery tool for the EXT2 filesystem (e2fsfind).
23 sed 's/cc/$(CC) $(CFLAGS) $(LDFLAGS)/'< Makefile >GNUmakefile
24 %{__make} CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" E2FSROOT=$RPM_BUILD_ROOT
27 rm -rf $RPM_BUILD_ROOT
28 %{__install} -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
30 %{__install} copy_blocks copy_listed_blocks e2fsfind $RPM_BUILD_ROOT%{_sbindir}
31 %{__install} *.8 $RPM_BUILD_ROOT%{_mandir}/man8
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_sbindir}/*