]>
Commit | Line | Data |
---|---|---|
6fdbff3d | 1 | Summary: Data copying in presence of I/O errors |
aae95de7 | 2 | Summary(pl.UTF-8): Kopiowanie danych z błędami we/wy |
6fdbff3d | 3 | Name: dd_rescue |
f7a887d9 | 4 | Version: 1.98 |
6fdbff3d | 5 | Release: 1 |
fa76741f | 6 | License: GPL v2 or v3 |
6fdbff3d | 7 | Group: Applications/System |
0787b0c6 | 8 | Source0: http://www.garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.bz2 |
f7a887d9 | 9 | # Source0-md5: 4f4f6dce4eada9efa6dd802fd8e107b3 |
6fdbff3d | 10 | URL: http://www.garloff.de/kurt/linux/ddrescue/ |
e09d55da | 11 | BuildRequires: autoconf |
0787b0c6 | 12 | BuildRequires: lzo-devel >= 2.07 |
f7a887d9 | 13 | BuildRequires: openssl-devel |
0787b0c6 | 14 | Requires: lzo >= 2.07 |
6fdbff3d | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | dd_rescue helps, when nobody else will: Your disk has crashed and you | |
19 | try to copy it over to another one. Standard Un*x tools like cp, cat, | |
20 | dd will abort on every I/O error. dd_rescue won't. | |
21 | ||
64be4bd7 JR |
22 | %description -l pl.UTF-8 |
23 | dd_rescue pomaga tam, gdzie nic innego nie pomoże: kiedy dysk padnie i | |
24 | próbujemy go skopiować na inny. Standardowe narzędzia uniksowe takie | |
25 | jak cp, cat, dd kończą działanie na każdym błędzie we/wy. dd_rescue | |
2d074c5e JB |
26 | tego nie robi. |
27 | ||
6fdbff3d | 28 | %prep |
f7a887d9 | 29 | %setup -q |
6fdbff3d | 30 | |
31 | %build | |
e09d55da JB |
32 | %{__autoconf} |
33 | %{__autoheader} | |
34 | %configure | |
8e2d3b8d | 35 | %{__make} \ |
e816d58e | 36 | CC="%{__cc}" \ |
e09d55da JB |
37 | CFLAGS="%{rpmcflags} %{rpmldflags} -DHAVE_CONFIG_H" \ |
38 | CFLAGS_OPT='$(CFLAGS)' \ | |
6fdbff3d | 39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
e09d55da JB |
42 | |
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT \ | |
45 | INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} \ | |
46 | INSTALLFLAGS= \ | |
47 | INSTASROOT= | |
6fdbff3d | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
85b228dc JB |
52 | %post -p /sbin/ldconfig |
53 | %postun -p /sbin/ldconfig | |
54 | ||
6fdbff3d | 55 | %files |
56 | %defattr(644,root,root,755) | |
57 | %doc README.dd_rescue | |
233c2502 | 58 | %attr(755,root,root) %{_bindir}/dd_rescue |
85b228dc | 59 | %attr(755,root,root) %{_libdir}/libddr_MD5.so |
f7a887d9 | 60 | %attr(755,root,root) %{_libdir}/libddr_crypt.so |
c6e52a51 | 61 | %attr(755,root,root) %{_libdir}/libddr_hash.so |
a8bbf291 | 62 | %attr(755,root,root) %{_libdir}/libddr_null.so |
c6e52a51 | 63 | %attr(755,root,root) %{_libdir}/libddr_lzo.so |
e09d55da | 64 | %{_mandir}/man1/dd_rescue.1* |
f7a887d9 | 65 | %{_mandir}/man1/ddr_crypt.1* |
c6e52a51 | 66 | %{_mandir}/man1/ddr_lzo.1* |