/[packages]/cauldron/ddrescue/current/SPECS/ddrescue.spec
ViewVC logotype

Contents of /cauldron/ddrescue/current/SPECS/ddrescue.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 259833 - (show annotations) (download)
Mon Jun 11 18:34:54 2012 UTC (11 years, 10 months ago) by dams
File size: 2274 byte(s)
new version 1.15
1 %define name ddrescue
2 %define version 1.15
3 %define release %mkrel 1
4
5 Summary: Data recovery tool
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 License: GPLv3+
10 Group: System/Kernel and hardware
11 Source0: http://ftp.gnu.org/gnu/ddrescue/%{name}-%{version}.tar.gz
12 URL: http://www.gnu.org/software/ddrescue/ddrescue.html
13 Requires(post): info-install
14 Requires(preun): info-install
15
16 %description
17 GNU ddrescue is a data recovery tool. It copies data from one file or block
18 device (hard disc, cdrom, etc) to another, trying hard to rescue data in
19 case of read errors.
20
21 Ddrescue does not truncate the output file if not asked to. So, every time
22 you run it on the same output file, it tries to fill in the gaps.
23
24 The basic operation of ddrescue is fully automatic. That is, you don't have
25 to wait for an error, stop the program, read the log, run it in reverse mode.
26
27 If you use the logfile feature of ddrescue, the data is rescued very
28 efficiently (only the needed blocks are read). Also you can interrupt the
29 rescue at any time and resume it later at the same point.
30
31 Automatic merging of backups: If you have two or more damaged copies of a file,
32 cdrom, etc, and run ddrescue on all of them, one at a time, with the same
33 output file, you will probably obtain a complete and error-free file. This is
34 so because the probability of having damaged areas at the same places on
35 different input files is very low. Using the logfile, only the needed blocks
36 are read from the second and successive copies.
37
38 The logfile is periodically saved to disc. So in case of a crash you can
39 resume the rescue with little recopying.
40
41 Also, the same logfile can be used for multiple commands that copy different
42 areas of the file, and for multiple recovery attempts over different subsets.
43
44 Ddrescue aligns its I/O buffer to the sector size so that it can be used to
45 read from raw devices. For efficiency reasons, also aligns it to the memory
46 page size if page size is a multiple of sector size.
47
48 %prep
49 %setup -q
50
51 %build
52 %configure2_5x CXXFLAGS="%{optflags}" LDFLAGS="%{?ldflags}"
53 %make
54
55 %install
56 %makeinstall_std
57
58 %post
59 %_install_info %{name}.info
60
61 %preun
62 %_remove_install_info %{name}.info
63
64 %files
65 %doc AUTHORS ChangeLog README
66 %{_bindir}/*
67 %{_infodir}/*
68 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30