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