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