File extundelete.spec of Package extundelete
#
# spec file for package extundelete
#
# Copyright (c) 2012 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: extundelete
Version: 0.2.4
Release: 0
License: GPL-2.0
Summary: File Undeletion Utility for ext3 and ext4
Url: http://extundelete.sourceforge.net/
Group: Productivity/File utilities
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source1: %{name}.1
# PATCH-NEEDS-REBASE extundelete-0.2.0-01_output_dir.patch ealmdz@gmail.com -- create an additional option: --output-dir
Patch0: extundelete-0.2.0-01_output_dir.patch
BuildRequires: gcc-c++
BuildRequires: pkgconfig(ext2fs)
BuildRequires: pkgconfig(com_err)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
extundelete is a utility that can recover deleted files from an ext3 or
ext4 partition.
%prep
%setup -q
#%%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
%make_install
install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
%files
%defattr(-,root,root,-)
%doc LICENSE README
%{_bindir}/%{name}
%doc %{_mandir}/man?/*
%changelog