gnu_ddrescue/gnu_ddrescue.spec
Jan Engelhardt 87ee80cc76 Accepting request 1145220 from home:amanzini:branches:Base:System
- update to 1.2.8:
	* Rename option '--verify-on-error' to '--check-on-error'.
	  Rename option '--verify-input-size' to '--check-input-size'.
	  Remove synonym '--exit-on-error'.
	* Issue a final fsync to prevent early exit if kernel caches writes.
	* Show mapfile names at verbosity == 0.

OBS-URL: https://build.opensuse.org/request/show/1145220
OBS-URL: https://build.opensuse.org/package/show/Base:System/gnu_ddrescue?expand=0&rev=43
2024-02-08 15:54:03 +00:00

67 lines
2.0 KiB
RPMSpec

#
# spec file for package gnu_ddrescue
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: gnu_ddrescue
Version: 1.28
Release: 0
Summary: I/O error aware data recovery and copying utility
License: GPL-2.0-or-later
Group: System/Base
URL: https://gnu.org/software/ddrescue/ddrescue.html
Source: https://download.savannah.gnu.org/releases/ddrescue/ddrescue-%version.tar.lz
Source2: https://download.savannah.gnu.org/releases/ddrescue/ddrescue-%version.tar.lz.sig
Source3: %name.keyring
BuildRequires: gcc-c++
BuildRequires: lzip
Requires(post): %install_info_prereq
Requires(preun): %install_info_prereq
%description
GNU ddrescue is a data recovery tool. It copies data from one file or
block device (hard disk, CD-ROM, etc.) to another, trying hard to
rescue data in case of read errors.
It is more memory and time efficient than dd_rescue+dd_rhelp on disks
with more than a few hundred bad sectors.
%prep
%autosetup -n ddrescue-%version
%build
# not autoconf, but at least it behaves (nearly) like it.
%configure --enable-linux CFLAGS="%optflags" CXXFLAGS="%optflags"
%make_build
%install
%make_install
%post
%install_info --info-dir=%_infodir %_infodir/ddrescue.info.gz
%preun
%install_info_delete --info-dir=%_infodir %_infodir/ddrescue.info.gz
%files
%_bindir/*
%_mandir/man*/*
%_infodir/ddrescue*
%license COPYING
%doc NEWS README
%changelog