1 Summary: Disc recovery tools for EXT2FS
2 Name: disc-recovery-utils
5 Source0: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/%{name}-%{version}.tgz
7 Group: Applications/System
8 Group(de): Applikationen/System
9 Group(pl): Aplikacje/System
10 BuildRequires: e2fsprogs-devel >= 1.07
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _sbindir %{_prefix}/sbin
17 A few disc recovery tools (copy_blocks and copy_listed_blocks) and an
18 inode recovery tool for the EXT2 filesystem (e2fsfind).
24 sed 's/cc/$(CC) $(CFLAGS) $(LDFLAGS)/'<Makefile>GNUmakefile
25 %{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g}" \
26 E2FSROOT=$RPM_BUILD_ROOT LDFLAGS="%{?debug:-s}"
29 rm -rf $RPM_BUILD_ROOT
30 mkdir -p $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
31 cp copy_blocks copy_listed_blocks e2fsfind $RPM_BUILD_ROOT%{_sbindir}
32 cp *.8 $RPM_BUILD_ROOT%{_mandir}/man8
36 %defattr(644,root,root,755)
37 %attr(755,root,root) /sbin/*
42 rm -rf $RPM_BUILD_ROOT