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