ddrescue/ddrescue.spec

102 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: ddrescue
Version: 1.21
Release: 1mamba
Summary: GNU ddrescue is a data recovery tool
Group: Applications/File
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.gnu.org/software/ddrescue/ddrescue.html
Source: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.lz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires(post): %{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
If you use the logfile feature of ddrescue, the data is rescued very efficiently (only the needed blocks are read).
Also you can interrupt the rescue at any time and resume it later at the same point.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
%install_info ddrescue.info
exit 0
%preun
%uninstall_info ddrescue.info
exit 0
%files
%defattr(-,root,root)
%{_bindir}/ddrescue*
%{_infodir}/ddrescue.info.*
%{_mandir}/man1/ddrescue*
%doc AUTHORS COPYING ChangeLog NEWS README
%changelog
* Tue May 10 2016 Automatic Build System <autodist@mambasoft.it> 1.21-1mamba
- automatic version update by autodist
* Wed Sep 23 2015 Automatic Build System <autodist@mambasoft.it> 1.20-1mamba
- automatic version update by autodist
* Mon Nov 03 2014 Automatic Build System <autodist@mambasoft.it> 1.19-1mamba
- automatic version update by autodist
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
- automatic version update by autodist
* Wed Jul 31 2013 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
- automatic version update by autodist
* Mon Jun 25 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.16-1mamba
- update to 1.16
* Wed Feb 27 2008 Aleph0 <aleph0@openmamba.org> 1.8-1mamba
- update to 1.8
* Mon Jan 07 2008 Aleph0 <aleph0@openmamba.org> 1.7-1mamba
- update to 1.7
* Mon Nov 19 2007 Aleph0 <aleph0@openmamba.org> 1.6-1mamba
- update to 1.6
* Mon Jul 02 2007 Aleph0 <aleph0@openmamba.org> 1.5-1mamba
- update to 1.5
* Mon Jun 04 2007 Aleph0 <aleph0@openmamba.org> 1.3-2mamba
- rebuilt
* Mon Dec 18 2006 Aleph0 <aleph0@openmamba.org> 1.3-1qilnx
- update to version 1.3 by autospec
- fixed compilation flags for c++
* Fri Apr 28 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2-1qilnx
- package created by autospec