93 lines
3.1 KiB
RPMSpec
93 lines
3.1 KiB
RPMSpec
|
Name: dd_rescue
|
||
|
Version: 1.42
|
||
|
Release: 1mamba
|
||
|
Summary: GNU ddrescue is a data recovery tool
|
||
|
Group: Applications/File
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.garloff.de/kurt/linux/ddrescue
|
||
|
Source: http://www.garloff.de/kurt/linux/ddrescue/dd_rescue-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
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 -n dd_rescue
|
||
|
sed -i "s|-g root||" Makefile
|
||
|
sed -i "s|-o root||" Makefile
|
||
|
|
||
|
%build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
%makeinstall INSTALLDIR=%{buildroot}%{_bindir}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/dd_rescue
|
||
|
%{_libdir}/libddr_MD5.so
|
||
|
%{_mandir}/man1/dd_rescue.1*
|
||
|
|
||
|
%changelog
|
||
|
* Thu Mar 06 2014 Automatic Build System <autodist@mambasoft.it> 1.42-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Feb 26 2014 Automatic Build System <autodist@mambasoft.it> 1.41-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Aug 29 2013 Automatic Build System <autodist@mambasoft.it> 1.40-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Thu Aug 15 2013 Automatic Build System <autodist@mambasoft.it> 1.39-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Tue Jul 09 2013 Automatic Build System <autodist@mambasoft.it> 1.34-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Apr 01 2013 Automatic Build System <autodist@mambasoft.it> 1.33-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 1.32-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Jan 27 2013 Automatic Build System <autodist@mambasoft.it> 1.30-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Jun 16 2012 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Oct 13 2011 Automatic Build System <autodist@mambasoft.it> 1.24-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Dec 08 2010 Automatic Build System <autodist@mambasoft.it> 1.23-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 1.22-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Aug 23 2010 Automatic Build System <autodist@mambasoft.it> 1.18-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
|
||
|
- first build
|