- many corrections.
[packages/disc-recovery-utils.git] / disc-recovery-utils.spec
CommitLineData
3e057248 1Summary: Disc recovery tools for EXT2FS
2Name: disc-recovery-utils
3Version: 1.1
4Release: 1
3e057248 5License: GPL
6Group: Applications/System
7Group(de): Applikationen/System
8Group(pl): Aplikacje/System
8032a1f2 9Source0: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/%{name}-%{version}.tgz
3e057248 10BuildRequires: e2fsprogs-devel >= 1.07
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
8032a1f2 13%define _sbindir /sbin
3e057248 14
15%description
16A few disc recovery tools (copy_blocks and copy_listed_blocks) and an
17inode recovery tool for the EXT2 filesystem (e2fsfind).
18
19%prep
20%setup -q -n %{name}
21
22%build
8032a1f2 23sed 's/cc/$(CC) $(CFLAGS) $(LDFLAGS)/'< Makefile >GNUmakefile
24%{__make} CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" E2FSROOT=$RPM_BUILD_ROOT
3e057248 25
26%install
27rm -rf $RPM_BUILD_ROOT
8032a1f2 28%{__install} -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
29
30%{__install} copy_blocks copy_listed_blocks e2fsfind $RPM_BUILD_ROOT%{_sbindir}
31%{__install} *.8 $RPM_BUILD_ROOT%{_mandir}/man8
32
3e057248 33gzip -9nf README
34
8032a1f2 35%clean
36rm -rf $RPM_BUILD_ROOT
37
3e057248 38%files
39%defattr(644,root,root,755)
8032a1f2 40%doc *.gz
41%attr(755,root,root) %{_sbindir}/*
3e057248 42%{_mandir}/*/*
This page took 0.090886 seconds and 4 git commands to generate.