]> git.pld-linux.org Git - packages/ddrescue.git/blob - ddrescue.spec
- up to 0.9 by Paweł Cyranek <czucz (at) mag-net.one.pl>
[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.9
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:  f98e339818f2a81e28574baa5c8657a1
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 ./configure
55 %{__make} \
56         CXX="%{__cxx}" \
57         CXXFLAGS="%{rpmcflags}"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -D ddrescue     $RPM_BUILD_ROOT%{_bindir}/ddrescue
62 install -D doc/ddrescue.1       $RPM_BUILD_ROOT%{_mandir}/man1/ddrescue.1
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS README TODO doc/ddrescue.info
70 %attr(755,root,root) %{_bindir}/ddrescue
71 %{_mandir}/man1/*
This page took 0.031421 seconds and 4 git commands to generate.