dd_rescue/dd_rescue.spec

110 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: dd_rescue
Version: 1.99
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://downloads.sourceforge.net/project/ddrescue/dd_rescue-%{version}.tar.bz2
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
sed -i "s|-g root||" Makefile
sed -i "s|-o root||" Makefile
%build
./autogen.sh
%configure
%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
%{_libdir}/libddr_crypt.so
%{_libdir}/libddr_hash.so
%{_libdir}/libddr_lzo.so
%{_libdir}/libddr_null.so
%{_mandir}/man1/ddr_lzo.1*
%{_mandir}/man1/ddr_crypt.1*
%{_mandir}/man1/dd_rescue.1*
%changelog
* Tue Oct 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99-1mamba
- update to 1.99
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 1.46-1mamba
- automatic version update by autodist
* Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 1.45-1mamba
- automatic version update by autodist
* 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