ddrescue-vl.spec 4.2 KB

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