[packages/dd_rescue] - updated to 1.40
qboosh
qboosh at pld-linux.org
Fri Aug 23 22:08:54 CEST 2013
commit e09d55dae24c1a067e461006dad124ec8fcf3c61
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Aug 23 22:08:01 2013 +0200
- updated to 1.40
dd_rescue.spec | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/dd_rescue.spec b/dd_rescue.spec
index 1b4bd68..44a1566 100644
--- a/dd_rescue.spec
+++ b/dd_rescue.spec
@@ -1,13 +1,14 @@
Summary: Data copying in presence of I/O errors
Summary(pl.UTF-8): Kopiowanie danych z błędami we/wy
Name: dd_rescue
-Version: 1.35
+Version: 1.40
Release: 1
License: GPL v2 or v3
Group: Applications/System
Source0: http://www.garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.gz
-# Source0-md5: 6e97fc23d42bfde40eccf9b02023157e
+# Source0-md5: 690bc25884272461d994aca10f620b98
URL: http://www.garloff.de/kurt/linux/ddrescue/
+BuildRequires: autoconf
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -25,13 +26,22 @@ tego nie robi.
%setup -q -n %{name}
%build
+%{__autoconf}
+%{__autoheader}
+%configure
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} %{rpmldflags}"
+ CFLAGS="%{rpmcflags} %{rpmldflags} -DHAVE_CONFIG_H" \
+ CFLAGS_OPT='$(CFLAGS)' \
%install
rm -rf $RPM_BUILD_ROOT
-install -D dd_rescue $RPM_BUILD_ROOT%{_bindir}/dd_rescue
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} \
+ INSTALLFLAGS= \
+ INSTASROOT=
%clean
rm -rf $RPM_BUILD_ROOT
@@ -40,3 +50,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README.dd_rescue
%attr(755,root,root) %{_bindir}/dd_rescue
+%{_mandir}/man1/dd_rescue.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dd_rescue.git/commitdiff/e09d55dae24c1a067e461006dad124ec8fcf3c61
More information about the pld-cvs-commit
mailing list