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