2012-03-22 11:32:05 +00:00
|
|
|
#
|
|
|
|
# spec file for package ext4magic
|
|
|
|
#
|
2018-11-14 06:24:20 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX 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
|
|
|
|
2018-11-14 06:24:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-03-22 11:32:05 +00:00
|
|
|
#
|
|
|
|
|
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
|
2018-11-17 00:02:54 +00:00
|
|
|
Summary: Tool for recovering deleted files on ext3/4 filesystems
|
2018-11-14 06:24:20 +00:00
|
|
|
License: GPL-2.0-or-later
|
2012-03-22 11:32:05 +00:00
|
|
|
Group: System/Filesystems
|
2018-11-14 06:24:20 +00:00
|
|
|
URL: http://sourceforge.net/projects/ext4magic/
|
2014-09-17 15:26:52 +00:00
|
|
|
#Doc_Url: http://ext4magic.sourceforge.net/ext4magic_en.html
|
2018-11-14 06:24:20 +00:00
|
|
|
Source0: http://sourceforge.net/projects/ext4magic/files/%{name}-%{version}.tar.gz
|
|
|
|
# PATCH-FIX-UPSTREAM ext4magic-0.3.2-rename-i_dir_acl.patch -- Fix FTBFS (boo#1115053)
|
|
|
|
Patch0: ext4magic-0.3.2-rename-i_dir_acl.patch
|
2014-09-17 15:26:52 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
%description
|
2018-11-17 00:02:54 +00:00
|
|
|
ext4magic is a tool which can help recover accidentally deleted or
|
|
|
|
overwritten files from ext3 or ext4 file systems. Especially private
|
|
|
|
computers may lack an adequate, frequent or reliable backup.
|
2012-03-22 11:32:05 +00:00
|
|
|
|
|
|
|
%prep
|
2018-11-14 06:24:20 +00:00
|
|
|
%autosetup -p1
|
2012-03-22 11:32:05 +00:00
|
|
|
|
|
|
|
%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
|
2018-11-14 06:24:20 +00:00
|
|
|
%make_install
|
2012-03-22 11:32:05 +00:00
|
|
|
|
|
|
|
%files
|
2018-11-14 06:24:20 +00:00
|
|
|
%doc AUTHORS ChangeLog NEWS README TODO
|
|
|
|
%license COPYING
|
2012-03-22 11:32:05 +00:00
|
|
|
%{_sbindir}/ext4magic
|
2018-11-14 06:24:20 +00:00
|
|
|
%{_mandir}/man8/ext4magic.8%{?ext_man}
|
2012-03-22 11:32:05 +00:00
|
|
|
|
|
|
|
%changelog
|