64 lines
1.6 KiB
RPMSpec
64 lines
1.6 KiB
RPMSpec
Name: xmount
|
|
Version: 1.3.1
|
|
Release: %autorelease
|
|
Summary: A on-the-fly convert for multiple hard disk image types
|
|
|
|
License: GPL-3.0-or-later
|
|
URL: https://www.sits.lu/xmount
|
|
Source0: https://code.sits.lu/foss/xmount/-/archive/%{version}/xmount-%{version}.tar.bz2
|
|
Patch0: xmount-suffix.patch
|
|
Patch1: xmount-cflags.patch
|
|
|
|
BuildRequires: afflib-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: fuse3-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libewf-devel
|
|
BuildRequires: zlib-devel
|
|
|
|
Provides: bundled(md5-deutsch)
|
|
|
|
%description
|
|
xmount allows you to convert on-the-fly between multiple input
|
|
and output hard disk image types. xmount creates a virtual file
|
|
system using FUSE (Filesystem in Userspace) that contains a virtual
|
|
representation of the input image. The virtual representation can
|
|
be in raw DD, VirtualBox's virtual disk file format or in VmWare's
|
|
VMDK file format. Input images can be raw DD, EWF (Expert Witness
|
|
Compression Format) or AFF (Advanced Forensic Format) files. In
|
|
addition, xmount also supports virtual write access to the output
|
|
files that is redirected to a cache file. This makes it possible
|
|
to boot acquired hard disk images using QEMU, KVM, VirtualBox,
|
|
VmWare, or alike.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
# Fix perm
|
|
chmod -x src/xmount.*
|
|
|
|
|
|
%build
|
|
%cmake \
|
|
-DCMAKE_C_FLAGS="%{optflags} -fno-strict-aliasing" \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
%{nil}
|
|
|
|
%cmake_build
|
|
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
|
|
%files
|
|
%doc AUTHORS ChangeLog NEWS README ROADMAP TODO
|
|
%license COPYING
|
|
%{_mandir}/man*/%{name}*.*
|
|
%{_bindir}/%{name}
|
|
%{_libdir}/xmount
|
|
|
|
|
|
%changelog
|
|
%autochangelog
|