Name: ddrescue Version: 1.8 Release: 6%{?dist} Summary: Data recovery tool trying hard to rescue data in case of read errors Group: Applications/System License: GPLv3+ URL: http://www.gnu.org/software/ddrescue/ddrescue.html Source0: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): /sbin/install-info Requires(preun): /sbin/install-info %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. GNU ddrescue does not truncate the output file if not asked to. So, every time you run it on the same output file, it tries to fill in the gaps. %prep %setup -q %build # not a real autotools configure script, flags need to be passed specially %configure CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_infodir}/dir %clean rm -rf %{buildroot} %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{_bindir}/ddrescue %{_infodir}/%{name}.info* %changelog * Fri Jul 24 2009 Fedora Release Engineering - 1.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 22 2009 Ville Skyttä - 1.8-5 - Build with $RPM_OPT_FLAGS (#497152). * Tue Feb 24 2009 Fedora Release Engineering - 1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Jul 16 2008 Tom "spot" Callaway - 1.8-3 - fix license tag * Mon Feb 25 2008 Andreas Thienemann - 1.8-2 - Fix info-page installation * Mon Feb 25 2008 Andreas Thienemann - 1.8-1 - Initial fedora release of GNU ddrescue