]> git.pld-linux.org Git - packages/dd_rescue.git/blob - dd_rescue.spec
- updated to 1.44
[packages/dd_rescue.git] / dd_rescue.spec
1 Summary:        Data copying in presence of I/O errors
2 Summary(pl.UTF-8):      Kopiowanie danych z błędami we/wy
3 Name:           dd_rescue
4 Version:        1.44
5 Release:        1
6 License:        GPL v2 or v3
7 Group:          Applications/System
8 Source0:        http://www.garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.gz
9 # Source0-md5:  20955f1c9bcc84267b22a11b0ba410ff
10 URL:            http://www.garloff.de/kurt/linux/ddrescue/
11 BuildRequires:  autoconf
12 BuildRequires:  lzo-devel >= 2
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 dd_rescue helps, when nobody else will: Your disk has crashed and you
17 try to copy it over to another one. Standard Un*x tools like cp, cat,
18 dd will abort on every I/O error. dd_rescue won't.
19
20 %description -l pl.UTF-8
21 dd_rescue pomaga tam, gdzie nic innego nie pomoże: kiedy dysk padnie i
22 próbujemy go skopiować na inny. Standardowe narzędzia uniksowe takie
23 jak cp, cat, dd kończą działanie na każdym błędzie we/wy. dd_rescue
24 tego nie robi.
25
26 %prep
27 %setup -q -n %{name}
28
29 %build
30 %{__autoconf}
31 %{__autoheader}
32 %configure
33 %{__make} \
34         CC="%{__cc}" \
35         CFLAGS="%{rpmcflags} %{rpmldflags} -DHAVE_CONFIG_H" \
36         CFLAGS_OPT='$(CFLAGS)' \
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} \
44         INSTALLFLAGS= \
45         INSTASROOT=
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post   -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README.dd_rescue
56 %attr(755,root,root) %{_bindir}/dd_rescue
57 %attr(755,root,root) %{_libdir}/libddr_MD5.so
58 %attr(755,root,root) %{_libdir}/libddr_hash.so
59 %attr(755,root,root) %{_libdir}/libddr_lzo.so
60 %{_mandir}/man1/dd_rescue.1*
61 %{_mandir}/man1/ddr_lzo.1*
This page took 0.070814 seconds and 3 git commands to generate.