Summary: GNU ddrescue is a utility for fault tolerant copying data from bad media Name: ddrescue Version: 1.0 Release: 2%{?dist} Epoch: 1 License: GPL Group: Applications/System Source0: ftp://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.bz2 Patch0: ddrescue-configure.patch URL: http://www.gnu.org/software/ddrescue/ddrescue.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(preun): /sbin/install-info Requires(post): /sbin/install-info # Conflicts with the dd_rescue package, which was formerly packaged as ddrescue Conflicts: ddrescue < 1:1.0 %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. This makes it suitable for rescuing data from media with errors, e.g. a disk with bad sectors. %prep %setup -q %patch -p1 -b configure %build %configure make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall install-man %clean rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{_infodir}/%{nanme}.info.gz %{_infodir}/dir %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir fi %files %defattr(-,root,root,-) %doc COPYING README %{_bindir}/ddrescue %{_infodir}/ddrescue.info.gz %{_mandir}/man1/ddrescue.1.gz %changelog * Wed Jul 06 2005 Andreas Thienemann - 1:1.0-2 - Cleaned up specfile - Added Conflict tag for ddrescue/dd_rescue naming mess, changed %%description - Added configure-patch to enable %%configure macro - Fixed missing install-info calls for the texinfo pages * Thu Jun 16 2005 Steven Pritchard - 1:1.0-1 - Rebuilt using GNU ddrescue * Fri Apr 7 2005 Michael Schwendt - rebuilt * Sun Sep 5 2004 Marius L. Jøhndal - 0:1.10-0.fdr.1 - Updated to 1.10. * Sat Dec 13 2003 Marius L. Jøhndal - 0:1.03-0.fdr.1 - Updated to 1.03. - Minor editing of description. * Mon Sep 29 2003 Marius L. Jøhndal - 0:1.02-0.fdr.1 - Initial RPM release.