diff --git a/.cvsignore b/.cvsignore index e69de29..ad16045 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dd_rescue-1.10.tar.gz diff --git a/ddrescue.spec b/ddrescue.spec new file mode 100644 index 0000000..ac05e1a --- /dev/null +++ b/ddrescue.spec @@ -0,0 +1,56 @@ +Name: ddrescue +Version: 1.10 +Release: 0.fdr.1.rh80 +Epoch: 0 +Summary: Fault tolerant "dd" utility for rescuing data from bad media + +Group: Applications/System +License: GPL +URL: http://www.garloff.de/kurt/linux/ddrescue/ +Source0: http://www.garloff.de/kurt/linux/ddrescue/dd_rescue-1.10.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +ddrescue is a utility similar to the system utility "dd" which copies +data from a file or block device to another. ddrescue does however +not abort on errors in the input file. This makes it suitable for +rescuing data from media with errors, e.g. a disk with bad sectors. + + +%prep +%setup -q -n dd_rescue + + +%build +#rm dd_rescue +#EXTRA_CFLAGS="$RPM_OPT_FLAGS" +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} +cp README.dd_rescue README + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} +install -p -m 755 dd_rescue $RPM_BUILD_ROOT%{_bindir}/ddrescue + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_bindir}/* + + +%changelog +* Sun Sep 5 2004 Marius L. Jøhndal - 0:1.10-0.fdr.1 +- Updated to 1.10. + +* Sat Dec 13 2003 Marius L. Jøhndal - 0:1.03-0.fdr.1 +- Updated to 1.03. +- Minor editing of description. + +* Mon Sep 29 2003 Marius L. Jøhndal - 0:1.02-0.fdr.1 +- Initial RPM release. diff --git a/sources b/sources index e69de29..67cd276 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c8c021f028cc49617d8cbacd711a9b3f dd_rescue-1.10.tar.gz