diff --git a/dd_rescue.spec b/dd_rescue.spec index a1431bc..7e020d1 100644 --- a/dd_rescue.spec +++ b/dd_rescue.spec @@ -1,15 +1,23 @@ # -# spec file for package ddrescue (Version 1.23_0.0.6) +# spec file for package dd_rescue (Version 1.23_0.0.6) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: dd_rescue %define ddrescuever 1.23 %define ddrhelpver 0.0.6 @@ -19,17 +27,17 @@ License: GNU General Public License (GPL) v2 or v3 Group: System/Base #Provides: ddrescue = 1.23 #Obsoletes: ddrescue < 1.15 -Autoreqprov: on +AutoReqProv: on Requires: bc -BuildRequires: libfallocate-devel-static +BuildRequires: libfallocate-devel-static Summary: Data Copying in the Presence of I/O Errors Source: http://www.garloff.de/kurt/linux/ddrescue/dd_rescue-%{ddrescuever}.tar.gz Source1: dd_rhelp-%{ddrhelpver}.tar.gz #Patch: dd_rescue-%{version}.diff Patch2: dd_rhelp_src.diff Patch3: ddresc-112.diff -Patch4: dd_rhelp_EOF.diff -Patch5: dd_rhelp_Summary.diff +Patch4: dd_rhelp_EOF.diff +Patch5: dd_rhelp_Summary.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -54,6 +62,7 @@ cd ../dd_rhelp-%{ddrhelpver} for name in FAQ NEWS README THANKS TODO; do cp -p $name ${name}.dd_rhelp done + %build make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" libfalloc-static LIBDIR=%{_libdir} cd ../dd_rhelp-%{ddrhelpver} @@ -83,5 +92,3 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/dd_rescue %changelog -* Fri Oct 15 1999 - garloff@suse.de -- Initial release: 0.98.