]> git.pld-linux.org Git - packages/ddrescue.git/blob - ddrescue.spec
- updated to 0.8
[packages/ddrescue.git] / ddrescue.spec
1 Summary:        Data copying in presence of I/O errors
2 Summary(pl):    Kopiowanie danych z b³êdami wej¶cia/wyj¶cia
3 Name:           ddrescue
4 Version:        0.8
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://savannah.nongnu.org/download/ddrescue/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a2c8badd0289a94c0038ca4bb0a83441
10 URL:            http://www.nongnu.org/ddrescue/ddrescue.html
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 ddrescue copies data from one file or block device (hard disk, cdrom,
15 etc) to another, trying hard to rescue data in case of read errors.
16
17 ddrescue does not truncate the output file if not asked to. So,
18 everytime you run it on the same output file, it tries to fill in the
19 gaps.
20
21 If you have two or more copies of a damaged file, cdrom, etc, and run
22 ddrescue on all of them, one at a time, with the same output file, you
23 will probably obtain a complete and error-free file. This is so
24 because the probability of having damaged areas at the same places on
25 different input files is very low.
26
27 If you also use the bad blocks file feature of ddrescue, the data will
28 be rescued very efficiently. Also you can interrupt the rescue at any
29 time and resume it later.
30
31
32 %description -l pl
33 ddrescue kopiuje dane z jednego pliku lub urz±dzenia blokowego (dysku
34 twardego, p³yty CD-ROM itp.) do innego, próbuj±c usilnie uratowaæ dane
35 w przypadku b³êdów odczytu.
36
37 ddrescue nie skraca pliku wyj¶ciowego, je¶li nie zostanie o to
38 poproszony. Za ka¿dym uruchomieniem na tym samym pliku wyj¶ciowym
39 próbuje wype³niæ luki.
40
41 Je¶li mamy dwie lub wiêcej kopii uszkodzonego pliku, p³yty itp. i
42 uruchomimy ddrescue na wszystkich z nich z tym samym plikiem
43 wyj¶ciowym, prawdopodobnie dostaniemy ca³y plik bez b³êdów. Stanie siê
44 tak dlatego, ¿e prawdopodobieñstwo uszkodzenia pliku w tych samych
45 miejscach na ró¿nych kopiach jest bardzo ma³e.
46
47 Je¶li u¿yjemy opcji obs³ugi pliku z list± z³ych bloków w ddrescue dane
48 bêd± odzyskiwane bardzo wydajnie.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__make} \
55         CXX="%{__cxx}" \
56         CXXFLAGS="%{rpmcflags}"
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -D ddrescue     $RPM_BUILD_ROOT%{_bindir}/ddrescue
61 install -D ddrescue.1   $RPM_BUILD_ROOT%{_mandir}/man1/ddrescue.1
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc ChangeLog README
69 %attr(755,root,root) %{_bindir}/ddrescue
70 %{_mandir}/man1/*
This page took 0.113712 seconds and 4 git commands to generate.