ext4magic/ext4magic.spec

79 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ext4magic
#
# 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.0
Release: 0
License: GPL-2.0+
Summary: can help to recover deleted files on ext3/4 filesystems
Url: http://openfacts2.berlios.de/wikide/index.php/BerliosProject:Ext4magic
Group: System/Filesystems
Source: ext4magic-%{version}.tar.gz
%if 0%{?suse_version}
BuildRequires: libext2fs-devel
BuildRequires: libuuid-devel
BuildRequires: libblkid-devel
BuildRequires: file-devel
%endif
%if 0%{?fedora_version}
BuildRequires: e2fsprogs-devel
BuildRequires: libuuid-devel
BuildRequires: libblkid-devel
BuildRequires: file-devel
%endif
%if 0%{?rhel_version}
BuildRequires: e2fsprogs-devel
BuildRequires: libuuid-devel
BuildRequires: libblkid-devel
BuildRequires: file-devel
%endif
%if 0%{?centos_version}
BuildRequires: e2fsprogs-devel
BuildRequires: uuid-devel
BuildRequires: libblkid-devel
BuildRequires: file-devel
%endif
BuildRequires: libbz2-devel
BuildRequires: zlib-devel
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-expert-mode
%{__make} %{?_smp_mflags}
%install
%{makeinstall}
%files
%defattr(-,root,root)
%{_sbindir}/ext4magic
%{_mandir}/man8/ext4magic.8.gz
%changelog