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