File ext3grep.spec of Package ext3grep

#
# spec file for package
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name:           ext3grep
Version:        0.10.2
Release:        1.0
License:        GPL-2.0
Summary:        A tool to possibly recover deleted content on ext3 file systems
Url:            http://code.google.com/p/ext3grep/
Group:          Productivity/File utilities
Source:         %{name}-%{version}.tar.bz2
Source1:        Readme.SuSE
Patch1:		e2fsprogs-1.42.patch
BuildRequires:  gcc-c++
BuildRequires:  libext2fs-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A tool to investigate an ext3 file system for deleted content and possibly recover it.

Also see http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html

%prep
%setup -q
%patch1 -p1
cp %{SOURCE1} .

%build
%configure
make %{?_smp_mflags}

%check
make check

%install
%if 0%{?sles_version}
%makeinstall
%else
%make_install
%endif

%files
%defattr(-,root,root)
%doc NEWS README Readme.SuSE
%{_bindir}/ext3grep

%changelog
openSUSE Build Service is sponsored by