[521] | 1 | # $Id: ddrescue.spec 6087 2008-01-08 02:36:03Z dag $ |
---|
| 2 | # Authority: dag |
---|
| 3 | # Upstream: Antonio Diaz Diaz <ant_diaz$teleline,es> |
---|
| 4 | |
---|
| 5 | Summary: Data recovery tool |
---|
| 6 | Summary(ja): 不良ディスクからデータを回収するデータリカバリツール |
---|
| 7 | Name: ddrescue |
---|
| 8 | ### Epoch to override Fedora Extras stupid decision to NOT ADHERE TO THEIR OWN NAMING CONVENTION |
---|
| 9 | #Epoch: 1 |
---|
[9808] | 10 | Version: 1.20 |
---|
[9348] | 11 | Release: 1%{?_dist_release} |
---|
[521] | 12 | License: GPLv3 |
---|
| 13 | Group: Applications/System |
---|
| 14 | URL: http://www.gnu.org/software/ddrescue/ddrescue.html |
---|
| 15 | |
---|
| 16 | #Packager: Dag Wieers <dag@wieers.com> |
---|
| 17 | #Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
---|
| 18 | |
---|
[9348] | 19 | Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.lz |
---|
[521] | 20 | #Source: http://savannah.gnu.org/download/ddrescue/ddrescue-%{version}.tar.gz |
---|
[9808] | 21 | #Patch0: ddrescue-1.7-unistd.patch |
---|
[521] | 22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
[9348] | 24 | BuildRequires: gcc-c++, lzip |
---|
[521] | 25 | |
---|
| 26 | %description |
---|
| 27 | GNU ddrescue is a data recovery tool. It copies data from one file or block |
---|
| 28 | device (hard disc, cdrom, etc) to another, trying hard to rescue data in |
---|
| 29 | case of read errors. |
---|
| 30 | |
---|
| 31 | Ddrescue does not truncate the output file if not asked to. So, every time |
---|
| 32 | you run it on the same output file, it tries to fill in the gaps. |
---|
| 33 | |
---|
| 34 | The basic operation of ddrescue is fully automatic. That is, you don't have |
---|
| 35 | to wait for an error, stop the program, read the log, run it in reverse mode, |
---|
| 36 | etc. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup |
---|
[9808] | 40 | #%patch0 -p0 |
---|
[521] | 41 | |
---|
| 42 | %build |
---|
| 43 | %configure |
---|
| 44 | %{__make} %{?_smp_mflags} |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | %{__rm} -rf %{buildroot} |
---|
| 48 | %{__make} install DESTDIR="%{buildroot}" |
---|
| 49 | %{__install} -Dp -m0644 doc/ddrescue.1 %{buildroot}%{_mandir}/man1/ddrescue.1 |
---|
| 50 | |
---|
| 51 | rm -rf %{buildroot}%{_datadir}/info/dir |
---|
| 52 | |
---|
[7732] | 53 | %check |
---|
| 54 | make check |
---|
| 55 | |
---|
[521] | 56 | %post |
---|
| 57 | if [ -e %{_infodir}/ddrescue.info.gz ]; then |
---|
| 58 | /sbin/install-info %{_infodir}/ddrescue.info.gz %{_infodir}/dir |
---|
| 59 | fi |
---|
| 60 | |
---|
| 61 | %preun |
---|
| 62 | if [ -e %{_infodir}/ddrescue.info.gz ]; then |
---|
| 63 | /sbin/install-info --delete %{_infodir}/ddrescue.info.gz %{_infodir}/dir |
---|
| 64 | fi |
---|
| 65 | |
---|
| 66 | %clean |
---|
| 67 | %{__rm} -rf %{buildroot} |
---|
| 68 | |
---|
| 69 | %files |
---|
| 70 | %defattr(-, root, root, 0755) |
---|
| 71 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README |
---|
| 72 | %doc %{_infodir}/ddrescue.info.* |
---|
[5585] | 73 | %doc %{_mandir}/man1/ddrescue* |
---|
| 74 | %{_bindir}/ddrescue* |
---|
[521] | 75 | #%{_datadir}/info/dir |
---|
| 76 | |
---|
| 77 | %changelog |
---|
[9808] | 78 | * Sat Nov 14 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.20-1 |
---|
| 79 | - new upstream release |
---|
| 80 | - deleted Patch0 |
---|
| 81 | |
---|
[9348] | 82 | * Wed Feb 11 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.19-1 |
---|
| 83 | - new upstream release |
---|
| 84 | - changed source archive xz to lz |
---|
| 85 | - added BuildRequires: lzip |
---|
| 86 | |
---|
[8201] | 87 | * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.17-2 |
---|
| 88 | - rebuilt with new toolchain |
---|
| 89 | |
---|
[7732] | 90 | * Sat Jul 20 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.17-1 |
---|
| 91 | - new upstream release |
---|
| 92 | - changed source archive gz to xz |
---|
| 93 | - run make check |
---|
| 94 | |
---|
[6382] | 95 | * Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.16-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[5585] | 98 | * Tue Feb 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.15-1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
[7732] | 101 | * Fri Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.14-1 |
---|
[2497] | 102 | - Updated to release 1.14 |
---|
| 103 | |
---|
[1733] | 104 | * Tue Aug 31 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.13-1 |
---|
| 105 | - Updated to release 1.13 |
---|
| 106 | |
---|
[947] | 107 | * Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12-1 |
---|
| 108 | - Updated to release 1.12 |
---|
| 109 | |
---|
[521] | 110 | * Thu Jul 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.11-1vl5 |
---|
| 111 | - Updated to release 1.11 |
---|
| 112 | |
---|
| 113 | * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10-1vl5 |
---|
| 114 | - Updated to release 1.10 |
---|
| 115 | - added summary(ja) |
---|
| 116 | - changed %Source |
---|
| 117 | |
---|
| 118 | * Sun Feb 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-1vl5 |
---|
| 119 | - initial build for VineSeed |
---|
| 120 | - Updated to release 1.9 |
---|
| 121 | |
---|
| 122 | * Tue Feb 26 2008 Dag Wieers <dag@wieers.com> - 1.8-1 - 6087+/dag |
---|
| 123 | - Updated to release 1.8. |
---|
| 124 | |
---|
| 125 | * Mon Jan 07 2008 Dag Wieers <dag@wieers.com> - 1.7-1 |
---|
| 126 | - Updated to release 1.7. |
---|
| 127 | |
---|
| 128 | * Fri Nov 16 2007 Dag Wieers <dag@wieers.com> - 1.6-1 |
---|
| 129 | - Updated to release 1.6. |
---|
| 130 | |
---|
| 131 | * Mon Jul 02 2007 Dag Wieers <dag@wieers.com> - 1.5-1 |
---|
| 132 | - Updated to release 1.5. |
---|
| 133 | |
---|
| 134 | * Wed Jun 20 2007 Dag Wieers <dag@wieers.com> - 1.4-1 |
---|
| 135 | - Updated to release 1.4. |
---|
| 136 | |
---|
| 137 | * Tue Dec 19 2006 Dag Wieers <dag@wieers.com> - 1.3-1 |
---|
| 138 | - Updated to release 1.3. |
---|
| 139 | |
---|
| 140 | * Thu Dec 08 2005 Dag Wieers <dag@wieers.com> - 1.0-2 |
---|
| 141 | - Added epoch to override Fedora Extras ddrescue (which really is dd_rescue). |
---|
| 142 | |
---|
| 143 | * Fri Jul 15 2005 Dag Wieers <dag@wieers.com> - 1.0-1 |
---|
| 144 | - Initial package. (using DAR) |
---|