123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- # $Id: ddrescue.spec 6087 2008-01-08 02:36:03Z dag $
- # Authority: dag
- # Upstream: Antonio Diaz Diaz <ant_diaz$teleline,es>
- 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.14
- Release: 1%{?_dist_release}
- License: GPLv3
- Group: Applications/System
- URL: http://www.gnu.org/software/ddrescue/ddrescue.html
- #Packager: Dag Wieers <dag@wieers.com>
- #Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
- Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.gz
- #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++
- %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
- %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.1*
- %{_bindir}/ddrescue
- #%{_datadir}/info/dir
- %changelog
- * Thu Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.14-1
- - Updated to release 1.14
- * Tue Aug 31 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.13-1
- - Updated to release 1.13
- * Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12-1
- - Updated to release 1.12
- * Thu Jul 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.11-1vl5
- - Updated to release 1.11
- * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10-1vl5
- - Updated to release 1.10
- - added summary(ja)
- - changed %Source
- * Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-1vl5
- - initial build for VineSeed
- - Updated to release 1.9
- * Tue Feb 26 2008 Dag Wieers <dag@wieers.com> - 1.8-1 - 6087+/dag
- - Updated to release 1.8.
- * Mon Jan 07 2008 Dag Wieers <dag@wieers.com> - 1.7-1
- - Updated to release 1.7.
- * Fri Nov 16 2007 Dag Wieers <dag@wieers.com> - 1.6-1
- - Updated to release 1.6.
- * Mon Jul 02 2007 Dag Wieers <dag@wieers.com> - 1.5-1
- - Updated to release 1.5.
- * Wed Jun 20 2007 Dag Wieers <dag@wieers.com> - 1.4-1
- - Updated to release 1.4.
- * Tue Dec 19 2006 Dag Wieers <dag@wieers.com> - 1.3-1
- - Updated to release 1.3.
- * Thu Dec 08 2005 Dag Wieers <dag@wieers.com> - 1.0-2
- - Added epoch to override Fedora Extras ddrescue (which really is dd_rescue).
- * Fri Jul 15 2005 Dag Wieers <dag@wieers.com> - 1.0-1
- - Initial package. (using DAR)
|