2011-04-06 12:51:45 +02:00
|
|
|
#
|
2011-04-06 12:51:56 +02:00
|
|
|
# spec file for package gnu_ddrescue
|
|
|
|
#
|
2019-03-08 21:59:49 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-04-06 12:51:56 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-03-08 21:59:49 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-06 12:51:45 +02:00
|
|
|
#
|
2011-04-06 12:51:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
Name: gnu_ddrescue
|
2019-03-08 21:59:49 +01:00
|
|
|
Version: 1.24
|
Accepting request 99858 from Base:System
- Update to new upstream release 1.15
* The new options "-a, --min-read-rate", "-I, --verify-input-size",
and "-x, --extend-outfile" have been added.
* ddrescue now verifies that infile, outfile and logfile are all
different.
* Non-tried blocks are now read aligned to cluster-size sectors.
* A spurious warning about "-D" being ignored in fill mode has been
removed.
* ddrescuelog, a tool for manipulation, display, conversion,
comparison and testing of ddrescue logfiles, has been added.
OBS-URL: https://build.opensuse.org/request/show/99858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu_ddrescue?expand=0&rev=5
2012-01-17 11:33:10 +01:00
|
|
|
Release: 0
|
2011-04-06 12:51:56 +02:00
|
|
|
Summary: Data Copying in the Presence of I/O Errors
|
2019-03-08 21:59:49 +01:00
|
|
|
License: GPL-2.0-or-later
|
2012-06-19 01:21:33 +02:00
|
|
|
Group: System/Base
|
2019-03-08 21:59:49 +01:00
|
|
|
URL: http://gnu.org/software/ddrescue/ddrescue.html
|
2019-03-08 22:00:41 +01:00
|
|
|
Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%version.tar.lz
|
|
|
|
Source2: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%version.tar.lz.sig
|
|
|
|
Source3: %name.keyring
|
2012-06-19 01:21:33 +02:00
|
|
|
BuildRequires: gcc-c++
|
2013-07-16 10:06:44 +02:00
|
|
|
BuildRequires: lzip
|
2019-03-08 21:59:49 +01:00
|
|
|
# FIXME: use proper Requires(pre/post/preun/...)
|
2019-03-08 22:00:41 +01:00
|
|
|
PreReq: %install_info_prereq
|
2011-04-06 12:51:45 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
GNU ddrescue is a data recovery tool. It copies data from one file or
|
|
|
|
block device (hard disc, cdrom, 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
|
2019-03-08 22:00:41 +01:00
|
|
|
%setup -q -n ddrescue-%version
|
2011-04-06 12:51:45 +02:00
|
|
|
|
|
|
|
%build
|
2014-10-11 16:06:42 +02:00
|
|
|
# not autoconf, but at least it behaves (nearly) like it.
|
2019-03-08 22:00:41 +01:00
|
|
|
%configure --enable-linux CFLAGS="%optflags" CXXFLAGS="%optflags"
|
2011-04-06 12:51:45 +02:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2019-03-08 22:00:41 +01:00
|
|
|
%make_install
|
2011-04-06 12:51:45 +02:00
|
|
|
|
|
|
|
%post
|
2019-03-08 22:00:41 +01:00
|
|
|
%install_info --info-dir=%_infodir %_infodir/ddrescue.info.gz
|
2011-04-06 12:51:45 +02:00
|
|
|
|
2015-09-11 22:47:25 +02:00
|
|
|
%preun
|
2019-03-08 22:00:41 +01:00
|
|
|
%install_info_delete --info-dir=%_infodir %_infodir/ddrescue.info.gz
|
2011-04-06 12:51:45 +02:00
|
|
|
|
|
|
|
%files
|
2019-03-08 22:00:41 +01:00
|
|
|
%_bindir/*
|
|
|
|
%_mandir/man*/*
|
|
|
|
%_infodir/ddrescue*
|
2019-03-08 21:59:49 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS README
|
2011-04-06 12:51:45 +02:00
|
|
|
|
|
|
|
%changelog
|