2012-03-22 11:32:05 +00:00
|
|
|
#
|
|
|
|
# spec file for package ext4magic
|
|
|
|
#
|
2014-09-17 15:26:52 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-03-22 11:32:05 +00:00
|
|
|
# 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.
|
2013-06-05 09:50:41 +00:00
|
|
|
|
2012-03-22 11:32:05 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-06-05 09:50:41 +00:00
|
|
|
|
2012-03-22 11:32:05 +00:00
|
|
|
Name: ext4magic
|
2014-09-17 15:26:52 +00:00
|
|
|
Version: 0.3.2
|
2012-03-22 11:32:05 +00:00
|
|
|
Release: 0
|
2012-03-29 11:50:59 +00:00
|
|
|
Summary: Can help to recover deleted files on ext3/4 filesystems
|
2013-06-05 09:50:41 +00:00
|
|
|
License: GPL-2.0+
|
2012-03-22 11:32:05 +00:00
|
|
|
Group: System/Filesystems
|
2014-09-17 15:26:52 +00:00
|
|
|
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
|
2012-03-29 11:50:59 +00:00
|
|
|
BuildRequires: libblkid-devel
|
2013-06-05 09:50:41 +00:00
|
|
|
BuildRequires: libbz2-devel
|
|
|
|
BuildRequires: zlib-devel
|
2012-03-22 11:32:05 +00:00
|
|
|
|
2013-06-05 09:50:41 +00:00
|
|
|
%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel_version}
|
|
|
|
BuildRequires: libuuid-devel
|
2012-03-29 11:50:59 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: uuid-devel
|
2012-03-22 11:32:05 +00:00
|
|
|
%endif
|
|
|
|
|
2012-03-29 11:50:59 +00:00
|
|
|
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
%else
|
2014-09-17 15:26:52 +00:00
|
|
|
BuildRequires: libext2fs-devel >= 1.42.6
|
2012-03-22 11:32:05 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2013-06-05 09:50:41 +00:00
|
|
|
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?
|
2012-03-22 11:32:05 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2013-06-05 09:50:41 +00:00
|
|
|
%configure \
|
|
|
|
--enable-file-attr \
|
|
|
|
--enable-expert-mode
|
|
|
|
make %{?_smp_mflags}
|
2012-03-22 11:32:05 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%{makeinstall}
|
|
|
|
|
|
|
|
%files
|
2013-06-05 09:50:41 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
2012-03-22 11:32:05 +00:00
|
|
|
%{_sbindir}/ext4magic
|
|
|
|
%{_mandir}/man8/ext4magic.8.gz
|
|
|
|
|
|
|
|
%changelog
|