ext4magic/ext4magic.spec

75 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ext4magic
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 robi@users.berlios.de
#
# 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: ext4magic
Version: 0.3.2
Release: 0
Summary: Can help to recover deleted files on ext3/4 filesystems
License: GPL-2.0+
Group: System/Filesystems
Url: http://sourceforge.net/projects/ext4magic/
#Doc_Url: http://ext4magic.sourceforge.net/ext4magic_en.html
Source0: http://sourceforge.net/projects/ext4magic/files/ext4magic-0.3.2.tar.gz
BuildRequires: file-devel > 5.05
BuildRequires: libblkid-devel
BuildRequires: libbz2-devel
BuildRequires: zlib-devel
%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel_version}
BuildRequires: libuuid-devel
%else
BuildRequires: uuid-devel
%endif
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: e2fsprogs-devel
%else
BuildRequires: libext2fs-devel >= 1.42.6
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
ext4magic is a small tool for Linux administration, it can help to recover
accidentally deleted or overwritten files from an ext3 or ext4 file systems.
Especially private computers often lack an adequate and reliable backup or the
backup interval is too large lack of capacity. After some minor or major
accidents console or script often arises the question, how can I just restore
the deleted files back?
%prep
%setup -q
%build
%configure \
--enable-file-attr \
--enable-expert-mode
make %{?_smp_mflags}
%install
%{makeinstall}
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_sbindir}/ext4magic
%{_mandir}/man8/ext4magic.8.gz
%changelog