dd_rescue/dd_rescue.spec

Name: dd_rescue
Summary: Fault tolerant "dd" utility for rescueing data from bad media
Version: 1.32
Release: 1
License: GPL
Group: Applications/System
URL: http://www.garloff.de/kurt/linux/ddrescue/
Description: dd_rescue is a utility similar to the system utility "dd" which copies data from a file or block device to another. dd_rescue does however not abort on errors in the input file. This makes it suitable for rescuing data from media with errors, e.g. a disk with bad sectors.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Kurt Garloff <kurt$garloff,de>

Summary: Fault tolerant "dd" utility for rescueing data from bad media
Name: dd_rescue
Version: 1.32
Release: 1%{?dist}
License: GPL
Group: Applications/System
URL: http://www.garloff.de/kurt/linux/ddrescue/

Source: http://www.garloff.de/kurt/linux/ddrescue/dd_rescue-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
dd_rescue is a utility similar to the system utility "dd" which copies
data from a file or block device to another. dd_rescue does however
not abort on errors in the input file. This makes it suitable for
rescuing data from media with errors, e.g. a disk with bad sectors.

%prep
%setup -n %{name}

### Rename default README
%{__mv} -f README.dd_rescue README

%build
%{__make} %{?_smp_mflags} clean dd_rescue \
    EXTRA_CFLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 dd_rescue %{buildroot}%{_bindir}/dd_rescue

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc COPYING README*
%{_bindir}/dd_rescue

%changelog
* Tue Feb 12 2013 Dag Wieers <dag@wieers.com> - 1.32-1
- Updated to release 1.32.

* Sun Feb 05 2012 Dag Wieers <dag@wieers.com> - 1.25-1
- Updated to release 1.25.

* Mon Dec 06 2010 Dag Wieers <dag@wieers.com> - 1.23-1
- Updated to release 1.23.

* Thu Aug 26 2010 Dag Wieers <dag@wieers.com> - 1.20-1
- Updated to release 1.20.

* Sat Aug 21 2010 Dag Wieers <dag@wieers.com> - 1.18-1
- Updated to release 1.18.

* Sun Aug 13 2006 Dag Wieers <dag@wieers.com> - 1.12-1
- Updated to release 1.12.

* Fri Mar 04 2005 Dag Wieers <dag@wieers.com> - 1.11-1
- Updated to release 1.11.

* Mon Dec 20 2004 Dag Wieers <dag@wieers.com> - 1.10-1
- Updated to release 1.10.

* Sun Aug 29 2004 Dag Wieers <dag@wieers.com> - 1.04-1
- Updated to release 1.04.

* Tue Jan 27 2004 Dag Wieers <dag@wieers.com> - 1.03-0
- Initial package. (using DAR)