|
|
3701ac4 |
Name: ddrescue
|
|
|
f6119c5 |
Version: 1.17
|
|
|
354472d |
Release: 3%{?dist}
|
|
|
3701ac4 |
Summary: Data recovery tool trying hard to rescue data in case of read errors
|
|
|
3701ac4 |
Group: Applications/System
|
|
|
78685f1 |
License: GPLv3+
|
|
|
3701ac4 |
URL: http://www.gnu.org/software/ddrescue/ddrescue.html
|
|
|
f2c21fe |
Source0: http://ftp.gnu.org/gnu/ddrescue/ddrescue-%{version}.tar.lz
|
|
|
3701ac4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f6119c5 |
|
|
|
f6119c5 |
BuildRequires: lzip
|
|
|
f6119c5 |
Requires(post): info
|
|
|
ff01d5d |
Requires(preun): info
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%description
|
|
|
3701ac4 |
GNU ddrescue is a data recovery tool. It copies data from one file or block
|
|
|
ff01d5d |
device (hard disc, cd-rom, etc) to another, trying hard to rescue data in
|
|
|
3701ac4 |
case of read errors. GNU ddrescue does not truncate the output file if not
|
|
|
3701ac4 |
asked to. So, every time you run it on the same output file, it tries to
|
|
|
3701ac4 |
fill in the gaps.
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%prep
|
|
|
f2c21fe |
# rpmbuild doesn't support lzip format
|
|
|
f2c21fe |
#setup -q
|
|
|
f2c21fe |
%setup -q -T -c
|
|
|
f2c21fe |
cd ..
|
|
|
f2c21fe |
lzip -d -c %{SOURCE0} > ddrescue-%{version}.tar
|
|
|
f2c21fe |
tar xf ddrescue-%{version}.tar
|
|
|
f2c21fe |
rm ddrescue-%{version}.tar
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%build
|
|
|
490ab5c |
# not a real autotools configure script, flags need to be passed specially
|
|
|
490ab5c |
%configure CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
|
|
|
3701ac4 |
make %{?_smp_mflags}
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%install
|
|
|
3701ac4 |
rm -rf %{buildroot}
|
|
|
3701ac4 |
make install DESTDIR=%{buildroot}
|
|
|
71b2d5e |
rm -f %{buildroot}%{_infodir}/dir
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%clean
|
|
|
3701ac4 |
rm -rf %{buildroot}
|
|
|
3701ac4 |
|
|
|
ff01d5d |
%check
|
|
|
0de129d |
make check
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%post
|
|
|
3701ac4 |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%preun
|
|
|
3701ac4 |
if [ $1 = 0 ]; then
|
|
|
3701ac4 |
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
3701ac4 |
fi
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%files
|
|
|
3701ac4 |
%defattr(-,root,root,-)
|
|
|
3701ac4 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
3701ac4 |
%{_bindir}/ddrescue
|
|
|
0de129d |
%{_bindir}/ddrescuelog
|
|
|
ff01d5d |
%{_mandir}/man1/ddrescue.1*
|
|
|
0de129d |
%{_mandir}/man1/ddrescuelog.1*
|
|
|
3701ac4 |
%{_infodir}/%{name}.info*
|
|
|
3701ac4 |
|
|
|
3701ac4 |
%changelog
|
|
|
354472d |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-3
|
|
|
354472d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
354472d |
|
|
|
f4cac0f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-2
|
|
|
f4cac0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f4cac0f |
|
|
|
f6119c5 |
* Thu Sep 05 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.17-1
|
|
|
f6119c5 |
- Update to 1.17.
|
|
|
f6119c5 |
|
|
|
ca5f950 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-3
|
|
|
ca5f950 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
ca5f950 |
|
|
|
9c14008 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-2
|
|
|
9c14008 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9c14008 |
|
|
|
0de129d |
* Thu Aug 02 2012 Michal Ambroz <rebus AT_ seznam.cz> - 1.16-1
|
|
|
0de129d |
- Update to 1.16.
|
|
|
0de129d |
|
|
|
08e2322 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
|
|
|
08e2322 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
08e2322 |
|
|
|
9ce876e |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
|
|
|
9ce876e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9ce876e |
|
|
|
02fcde3 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-2
|
|
|
02fcde3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
02fcde3 |
|
|
|
ff01d5d |
* Thu Nov 18 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.13-1
|
|
|
ff01d5d |
- Update to 1.13.
|
|
|
ff01d5d |
|
|
|
a871a97 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-6
|
|
|
a871a97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a871a97 |
|
|
|
490ab5c |
* Wed Apr 22 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.8-5
|
|
|
490ab5c |
- Build with $RPM_OPT_FLAGS (#497152).
|
|
|
490ab5c |
|
|
|
f0938d3 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-4
|
|
|
f0938d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f0938d3 |
|
|
|
78685f1 |
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.8-3
|
|
|
78685f1 |
- fix license tag
|
|
|
78685f1 |
|
|
|
71b2d5e |
* Mon Feb 25 2008 Andreas Thienemann <athienem@redhat.com> - 1.8-2
|
|
|
71b2d5e |
- Fix info-page installation
|
|
|
71b2d5e |
|
|
|
3701ac4 |
* Mon Feb 25 2008 Andreas Thienemann <athienem@redhat.com> - 1.8-1
|
|
|
3701ac4 |
- Initial fedora release of GNU ddrescue
|