# $Id: ddrescue.spec 6087 2008-01-08 02:36:03Z dag $ # Authority: dag # Upstream: Antonio Diaz Diaz Summary: Data recovery tool Summary(ja): 不良ディスクからデータを回収するデータリカバリツール Name: ddrescue ### Epoch to override Fedora Extras stupid decision to NOT ADHERE TO THEIR OWN NAMING CONVENTION #Epoch: 1 Version: 1.20 Release: 1%{?_dist_release} License: GPLv3 Group: Applications/System URL: http://www.gnu.org/software/ddrescue/ddrescue.html #Packager: Dag Wieers #Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.lz #Source: http://savannah.gnu.org/download/ddrescue/ddrescue-%{version}.tar.gz #Patch0: ddrescue-1.7-unistd.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gcc-c++, lzip %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. 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. The basic operation of ddrescue is fully automatic. That is, you don't have to wait for an error, stop the program, read the log, run it in reverse mode, etc. %prep %setup #%patch0 -p0 %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR="%{buildroot}" %{__install} -Dp -m0644 doc/ddrescue.1 %{buildroot}%{_mandir}/man1/ddrescue.1 rm -rf %{buildroot}%{_datadir}/info/dir %check make check %post if [ -e %{_infodir}/ddrescue.info.gz ]; then /sbin/install-info %{_infodir}/ddrescue.info.gz %{_infodir}/dir fi %preun if [ -e %{_infodir}/ddrescue.info.gz ]; then /sbin/install-info --delete %{_infodir}/ddrescue.info.gz %{_infodir}/dir fi %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README %doc %{_infodir}/ddrescue.info.* %doc %{_mandir}/man1/ddrescue* %{_bindir}/ddrescue* #%{_datadir}/info/dir %changelog * Sat Nov 14 2015 Toshiharu Kudoh - 1.20-1 - new upstream release - deleted Patch0 * Wed Feb 11 2015 Toshiharu Kudoh - 1.19-1 - new upstream release - changed source archive xz to lz - added BuildRequires: lzip * Sat Jan 18 2014 Toshiharu Kudoh - 1.17-2 - rebuilt with new toolchain * Sat Jul 20 2013 Toshiharu Kudoh - 1.17-1 - new upstream release - changed source archive gz to xz - run make check * Tue Jun 19 2012 Toshiharu Kudoh - 1.16-1 - new upstream release * Tue Feb 07 2012 Toshiharu Kudoh - 1.15-1 - new upstream release * Fri Jan 14 2011 Toshiharu Kudoh - 1.14-1 - Updated to release 1.14 * Tue Aug 31 2010 Toshiharu Kudoh - 1.13-1 - Updated to release 1.13 * Wed May 5 2010 Toshiharu Kudoh - 1.12-1 - Updated to release 1.12 * Thu Jul 16 2009 Toshiharu Kudoh - 1.11-1vl5 - Updated to release 1.11 * Sat May 9 2009 Toshiharu Kudoh - 1.10-1vl5 - Updated to release 1.10 - added summary(ja) - changed %Source * Sun Feb 8 2009 Toshiharu Kudoh - 1.9-1vl5 - initial build for VineSeed - Updated to release 1.9 * Tue Feb 26 2008 Dag Wieers - 1.8-1 - 6087+/dag - Updated to release 1.8. * Mon Jan 07 2008 Dag Wieers - 1.7-1 - Updated to release 1.7. * Fri Nov 16 2007 Dag Wieers - 1.6-1 - Updated to release 1.6. * Mon Jul 02 2007 Dag Wieers - 1.5-1 - Updated to release 1.5. * Wed Jun 20 2007 Dag Wieers - 1.4-1 - Updated to release 1.4. * Tue Dec 19 2006 Dag Wieers - 1.3-1 - Updated to release 1.3. * Thu Dec 08 2005 Dag Wieers - 1.0-2 - Added epoch to override Fedora Extras ddrescue (which really is dd_rescue). * Fri Jul 15 2005 Dag Wieers - 1.0-1 - Initial package. (using DAR)