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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30