]>
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 |
98dc1171 | 4 | Version: 1.99.6 |
c48ee66f | 5 | Release: 2 |
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 |
98dc1171 | 9 | # Source0-md5: 54128a6055e479ead437adf08b62a1c1 |
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}" \ |
622e7573 TP |
37 | RPM_OPT_FLAGS="%{rpmcflags}" \ |
38 | EXTRA_LDFLAGS="%{rpmldflags}" | |
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} \ | |
0bc5cb0c | 46 | LIB=%{_lib} \ |
e09d55da JB |
47 | INSTALLFLAGS= \ |
48 | INSTASROOT= | |
6fdbff3d | 49 | |
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
85b228dc JB |
53 | %post -p /sbin/ldconfig |
54 | %postun -p /sbin/ldconfig | |
55 | ||
6fdbff3d | 56 | %files |
57 | %defattr(644,root,root,755) | |
58 | %doc README.dd_rescue | |
233c2502 | 59 | %attr(755,root,root) %{_bindir}/dd_rescue |
85b228dc | 60 | %attr(755,root,root) %{_libdir}/libddr_MD5.so |
f7a887d9 | 61 | %attr(755,root,root) %{_libdir}/libddr_crypt.so |
c6e52a51 | 62 | %attr(755,root,root) %{_libdir}/libddr_hash.so |
a8bbf291 | 63 | %attr(755,root,root) %{_libdir}/libddr_null.so |
c6e52a51 | 64 | %attr(755,root,root) %{_libdir}/libddr_lzo.so |
e09d55da | 65 | %{_mandir}/man1/dd_rescue.1* |
f7a887d9 | 66 | %{_mandir}/man1/ddr_crypt.1* |
c6e52a51 | 67 | %{_mandir}/man1/ddr_lzo.1* |