65fb1bad98
Accepted submit request 65979 from user babelworx OBS-URL: https://build.opensuse.org/request/show/65979 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu_ddrescue?expand=0&rev=1
56 lines
1.2 KiB
RPMSpec
56 lines
1.2 KiB
RPMSpec
|
|
#
|
|
# Contemporarily names gnu_ddrescue to avoid confusion with
|
|
# Garloff's variants ddrescue and dd_rescue
|
|
#
|
|
Name: gnu_ddrescue
|
|
Version: 1.14
|
|
Release: 0
|
|
Group: System/Base
|
|
Summary: Data Copying in the Presence of I/O Errors
|
|
License: GPL3
|
|
URL: http://www.gnu.org/software/ddrescue/ddrescue.html
|
|
|
|
#Source: ftp://ftp.informatik.rwth-aachen.de/pub/gnu/ddrescue/ddrescue-1.14.tar.gz
|
|
Source: ddrescue-%version.tar.xz
|
|
BuildRoot: %_tmppath/%name-%version-build
|
|
BuildRequires: gcc-c++, xz
|
|
PreReq: %install_info_prereq
|
|
|
|
%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.
|
|
|
|
|
|
Author(s):
|
|
----------
|
|
Antonio Diaz Diaz
|
|
|
|
%prep
|
|
%setup -qn ddrescue-%version
|
|
|
|
%build
|
|
%configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR="%buildroot";
|
|
|
|
%post
|
|
%install_info --info-dir=%_infodir %_infodir/ddrescue.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%_infodir %_infodir/ddrescue.info.gz
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_bindir/*
|
|
%_mandir/man*/*
|
|
%doc %_infodir/ddrescue*
|
|
|
|
%changelog
|