]> git.pld-linux.org Git - packages/ddrescue.git/blob - ddrescue.spec
- init PLD spec
[packages/ddrescue.git] / ddrescue.spec
1 Summary:        Data copying in presence of I/O errors
2 Summary(pl):    Kopiowanie danych z b³êdami we/wy
3 Name:           ddrescue
4 Version:        0.7
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  1178c44372a08c906cc5bb1141ae7baf
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. ddrescue helps, when nobody else will:
29 Your disk has crashed and you try to copy it over to another one.
30 Standard Un*x tools like cp, cat, dd will abort on every I/O error.
31 dd_rescue won't.
32
33 %description -l pl
34 ddrescue pomaga tam, gdzie nic innego nie pomo¿e: kiedy dysk padnie i
35 próbujemy go skopiowaæ na inny. Standardowe narzêdzia uniksowe takie
36 jak cp, cat, dd koñcz± dzia³anie na ka¿dym b³êdzie we/wy. dd_rescue
37 tego nie robi.
38
39 %prep
40 %setup -q
41
42 %build
43 %{__make} \
44         CXX="%{__cxx}" \
45         CXXFLAGS="%{rpmcflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -D ddrescue   $RPM_BUILD_ROOT%{_bindir}/ddrescue
50 install -D ddrescue.1 $RPM_BUILD_ROOT%{_mandir}/man1/ddrescue.1
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc ChangeLog README
58 %attr(755,root,root) %{_bindir}/ddrescue
59 %attr(644,root,root) %{_mandir}/man1/*
This page took 0.035931 seconds and 4 git commands to generate.