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