--- /dev/null
+--- ext3undel-0.1.6/ext3undel~ 2008-06-13 16:20:29.000000000 +0200
++++ ext3undel-0.1.6/ext3undel 2009-01-11 15:58:52.174995277 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #==============================================================================
+ # ext3undel (c) 2008 by Itzchak Rehberg & IzzySoft
+ #------------------------------------------------------------------------------
+--- ext3undel-0.1.6/gabi~ 2008-07-16 10:59:20.000000000 +0200
++++ ext3undel-0.1.6/gabi 2009-01-11 15:59:16.084757270 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #==============================================================================
+ # G.A.B.I. (Get All Back Immediatly) (c) 2008 by Itzchak Rehberg & IzzySoft
+ #------------------------------------------------------------------------------
+--- ext3undel-0.1.6/ralf~ 2008-07-20 19:35:30.000000000 +0200
++++ ext3undel-0.1.6/ralf 2009-01-11 15:59:22.508298103 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #==============================================================================
+ # R.A.L.F. (Recover A Lost File) (c) 2008 by Itzchak Rehberg & IzzySoft
+ # Syntax: $0 <filename>
--- /dev/null
+Summary: A collection of scripts to help you recover files from ext3/ext3
+Summary(pl.UTF-8): Zestaw skryptów do odzyskiwania plików z ext3/ext3
+Name: ext3undel
+Version: 0.1.6
+Release: 1
+License: GPL v2
+Group: Applications
+# Source0Download: http://projects.izzysoft.de/trac/ext3undel/wiki/Download
+Source0: %{name}-%{version}.tar.gz
+# Source0-md5: 996107eead228ed476e89e8b9b82242f
+Patch0: %{name}-bashizm.patch
+URL: http://projects.izzysoft.de/trac/ext3undel
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ext3undel is a collection of scripts to help you recover deleted files
+from ext2/ext3 file systems. ext3undel tries to automate most of the
+difficult manual work of recovery so that it may be possible to
+recover a single specified file or all data on a given disk.
+
+%description -l pl.UTF-8
+ext3undel to zestaw skryptów wspomagających odzyskiwanie usuniętych
+plików z systemów plików ext2/ext3. ext3undel stara się zautomatyzować
+większość trudnych czynność, tak aby możliwe było odzyskanie
+pojedynczego pliku lub całości danych na dysku.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ prefix=%{_prefix}
+
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/{history,install.txt,ralf.txt,readme.txt}
+%attr(755,root,root) %{_bindir}/*
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
+%{_mandir}/man5/ext3undel.conf.5*
+%{_mandir}/man8/*.8*