Autobuild autoformatter for 52034

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dd_rescue?expand=0&rev=2
This commit is contained in:
OBS User autobuild 2010-11-05 16:21:08 +00:00 committed by Git OBS Bridge
parent a85a6326b1
commit 2d01e7cd58

View File

@ -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. # Copyright (c) 2010 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.
# #
# 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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: dd_rescue Name: dd_rescue
%define ddrescuever 1.23 %define ddrescuever 1.23
%define ddrhelpver 0.0.6 %define ddrhelpver 0.0.6
@ -19,17 +27,17 @@ License: GNU General Public License (GPL) v2 or v3
Group: System/Base Group: System/Base
#Provides: ddrescue = 1.23 #Provides: ddrescue = 1.23
#Obsoletes: ddrescue < 1.15 #Obsoletes: ddrescue < 1.15
Autoreqprov: on AutoReqProv: on
Requires: bc Requires: bc
BuildRequires: libfallocate-devel-static BuildRequires: libfallocate-devel-static
Summary: Data Copying in the Presence of I/O Errors Summary: Data Copying in the Presence of I/O Errors
Source: http://www.garloff.de/kurt/linux/ddrescue/dd_rescue-%{ddrescuever}.tar.gz Source: http://www.garloff.de/kurt/linux/ddrescue/dd_rescue-%{ddrescuever}.tar.gz
Source1: dd_rhelp-%{ddrhelpver}.tar.gz Source1: dd_rhelp-%{ddrhelpver}.tar.gz
#Patch: dd_rescue-%{version}.diff #Patch: dd_rescue-%{version}.diff
Patch2: dd_rhelp_src.diff Patch2: dd_rhelp_src.diff
Patch3: ddresc-112.diff Patch3: ddresc-112.diff
Patch4: dd_rhelp_EOF.diff Patch4: dd_rhelp_EOF.diff
Patch5: dd_rhelp_Summary.diff Patch5: dd_rhelp_Summary.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -54,6 +62,7 @@ cd ../dd_rhelp-%{ddrhelpver}
for name in FAQ NEWS README THANKS TODO; do for name in FAQ NEWS README THANKS TODO; do
cp -p $name ${name}.dd_rhelp cp -p $name ${name}.dd_rhelp
done done
%build %build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" libfalloc-static LIBDIR=%{_libdir} make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" libfalloc-static LIBDIR=%{_libdir}
cd ../dd_rhelp-%{ddrhelpver} cd ../dd_rhelp-%{ddrhelpver}
@ -83,5 +92,3 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/dd_rescue rm -rf $RPM_BUILD_DIR/dd_rescue
%changelog %changelog
* Fri Oct 15 1999 - garloff@suse.de
- Initial release: 0.98.