1 Summary: Data copying in presence of I/O errors
2 Summary(pl.UTF-8): Kopiowanie danych z błędami wejścia/wyjścia
7 Group: Applications/System
8 Source0: http://download.savannah.gnu.org/releases/ddrescue/%{name}-%{version}.tar.lz
9 # Source0-md5: cd85a82d510d9abf790132fb0da1bf3c
10 Patch0: %{name}-info.patch
11 URL: http://www.nongnu.org/ddrescue/ddrescue.html
12 BuildRequires: help2man
13 BuildRequires: libstdc++-devel
15 BuildRequires: rpmbuild(macros) >= 1.167
16 BuildRequires: tar >= 1:1.22
17 BuildRequires: texinfo
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 ddrescue copies data from one file or block device (hard disk, cdrom,
22 etc) to another, trying hard to rescue data in case of read errors.
24 ddrescue does not truncate the output file if not asked to. So,
25 everytime you run it on the same output file, it tries to fill in the
28 If you have two or more copies of a damaged file, cdrom, etc, and run
29 ddrescue on all of them, one at a time, with the same output file, you
30 will probably obtain a complete and error-free file. This is so
31 because the probability of having damaged areas at the same places on
32 different input files is very low.
34 If you also use the bad blocks file feature of ddrescue, the data will
35 be rescued very efficiently. Also you can interrupt the rescue at any
36 time and resume it later.
38 %description -l pl.UTF-8
39 ddrescue kopiuje dane z jednego pliku lub urządzenia blokowego (dysku
40 twardego, płyty CD-ROM itp.) do innego, próbując usilnie uratować dane
41 w przypadku błędów odczytu.
43 ddrescue nie skraca pliku wyjściowego, jeśli nie zostanie o to
44 poproszony. Za każdym uruchomieniem na tym samym pliku wyjściowym
45 próbuje wypełnić luki.
47 Jeśli mamy dwie lub więcej kopii uszkodzonego pliku, płyty itp. i
48 uruchomimy ddrescue na wszystkich z nich z tym samym plikiem
49 wyjściowym, prawdopodobnie dostaniemy cały plik bez błędów. Stanie się
50 tak dlatego, że prawdopodobieństwo uszkodzenia pliku w tych samych
51 miejscach na różnych kopiach jest bardzo małe.
53 Jeśli użyjemy opcji obsługi pliku z listą złych bloków w ddrescue dane
54 będą odzyskiwane bardzo wydajnie.
63 --infodir=%{_infodir} \
68 CXXFLAGS="%{rpmcxxflags}"
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT
76 %{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/postshell
82 -/usr/sbin/fix-info-dir -c %{_infodir}
84 %postun -p /sbin/postshell
85 -/usr/sbin/fix-info-dir -c %{_infodir}
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog NEWS README
90 %attr(755,root,root) %{_bindir}/ddrescue
91 %attr(755,root,root) %{_bindir}/ddrescuelog
92 %{_infodir}/ddrescue.info*
93 %{_mandir}/man1/ddrescue.1*
94 %{_mandir}/man1/ddrescuelog.1*