]> git.pld-linux.org Git - packages/dd_rescue.git/blob - dd_rescue.spec
- updated to 1.99.13
[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.99.13
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:  5b2d31e8e13b17ca99f5453de705f9b9
10 URL:            http://www.garloff.de/kurt/linux/ddrescue/
11 BuildRequires:  autoconf >= 2.50
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         RPM_OPT_FLAGS="%{rpmcflags}" \
38         EXTRA_LDFLAGS="%{rpmldflags}"
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         LIB=%{_lib} \
47         INSTALLFLAGS= \
48         INSTASROOT=
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post   -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README.dd_rescue
59 %attr(755,root,root) %{_bindir}/dd_rescue
60 %attr(755,root,root) %{_libdir}/libddr_MD5.so
61 %attr(755,root,root) %{_libdir}/libddr_crypt.so
62 %attr(755,root,root) %{_libdir}/libddr_hash.so
63 %attr(755,root,root) %{_libdir}/libddr_null.so
64 %attr(755,root,root) %{_libdir}/libddr_lzo.so
65 %{_mandir}/man1/dd_rescue.1*
66 %{_mandir}/man1/ddr_crypt.1*
67 %{_mandir}/man1/ddr_lzo.1*
This page took 0.099797 seconds and 4 git commands to generate.