]> git.pld-linux.org Git - packages/disc-recovery-utils.git/blob - disc-recovery-utils.spec
- many corrections.
[packages/disc-recovery-utils.git] / disc-recovery-utils.spec
1 Summary:        Disc recovery tools for EXT2FS
2 Name:           disc-recovery-utils
3 Version:        1.1
4 Release:        1
5 License:        GPL
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)
12
13 %define         _sbindir        /sbin
14
15 %description
16 A few disc recovery tools (copy_blocks and copy_listed_blocks) and an
17 inode recovery tool for the EXT2 filesystem (e2fsfind).
18
19 %prep
20 %setup -q -n %{name}
21
22 %build
23 sed 's/cc/$(CC) $(CFLAGS) $(LDFLAGS)/'< Makefile >GNUmakefile
24 %{__make} CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" E2FSROOT=$RPM_BUILD_ROOT
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
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
33 gzip -9nf README
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc *.gz
41 %attr(755,root,root) %{_sbindir}/*
42 %{_mandir}/*/*
This page took 0.057856 seconds and 4 git commands to generate.