29f82c6
Name:           xmount
Fabian Affolter acc6512
Version:        0.7.6
3d83b26
Release:        3%{?dist}
29f82c6
Summary:        A on-the-fly convert for multiple hard disk image types
29f82c6
29f82c6
License:        GPLv3+
29f82c6
URL:            https://www.pinguin.lu/index.php
Fabian Affolter acc6512
Source0:        https://files.pinguin.lu/%{name}-%{version}.tar.gz
da7459f
Patch0:         xmount-suffix.patch
da7459f
Patch1:         xmount-cflags.patch
61b77b2
b3aed01
BuildRequires:  gcc-c++
29f82c6
BuildRequires:  fuse-devel
29f82c6
BuildRequires:  libewf-devel
29f82c6
BuildRequires:  afflib-devel
Fabian Affolter bfc8e37
BuildRequires:  zlib-devel
Fabian Affolter bfc8e37
BuildRequires:  cmake
aa317c3
29f82c6
Provides:       bundled(md5-deutsch)
29f82c6
29f82c6
%description
29f82c6
xmount allows you to convert on-the-fly between multiple input
29f82c6
and output hard disk image types. xmount creates a virtual file
29f82c6
system using FUSE (Filesystem in Userspace) that contains a virtual
29f82c6
representation of the input image. The virtual representation can
29f82c6
be in raw DD, VirtualBox's virtual disk file format or in VmWare's
29f82c6
VMDK file format. Input images can be raw DD, EWF (Expert Witness
29f82c6
Compression Format) or AFF (Advanced Forensic Format) files. In
29f82c6
addition, xmount also supports virtual write access to the output
29f82c6
files that is redirected to a cache file. This makes it possible
29f82c6
to boot acquired hard disk images using QEMU, KVM, VirtualBox,
29f82c6
VmWare, or alike.
29f82c6
da7459f
29f82c6
%prep
3d83b26
%setup -q
3d83b26
%patch0 -p1 -b .suffix
3d83b26
# Use std=99 on rhel7, uneeded nowadays
3d83b26
%if 0%{?fedora} || 0%{?rhel} > 7
3d83b26
%patch1 -p1 -b .cflags
3d83b26
%endif
da7459f
# Fix perm
da7459f
chmod -x src/xmount.*
da7459f
29f82c6
29f82c6
%build
Fabian Affolter 43e72d1
mkdir build && cd build
da7459f
%cmake \
da7459f
    -DCMAKE_BUILD_TYPE=Release \
Fabian Affolter 43e72d1
    -DCMAKE_SKIP_RPATH=ON \
a2073b2
    ..
b3aed01
da7459f
%make_build V=1
da7459f
29f82c6
29f82c6
%install
Fabian Affolter 43e72d1
cd build
Fabian Affolter 0be5d67
%make_install
29f82c6
da7459f
29f82c6
%files
Fabian Affolter 6484b8e
%doc AUTHORS ChangeLog NEWS README ROADMAP TODO
Fabian Affolter 6484b8e
%license COPYING
29f82c6
%{_mandir}/man*/%{name}*.*
29f82c6
%{_bindir}/%{name}
da7459f
%{_libdir}/xmount
da7459f
29f82c6
29f82c6
%changelog
3d83b26
* Mon Aug 13 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-3
3d83b26
- Fix build down to epel7
3d83b26
- Add missing hook
3d83b26
- Better space handling
3d83b26
0288b7d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-2
0288b7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0288b7d
Fabian Affolter a1aa8d0
* Mon Jun 18 2018 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.6-1
Fabian Affolter acc6512
- Update to new upstream version 0.7.6 (rhbz#1316252)
Fabian Affolter acc6512
2c9d1c5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-5
2c9d1c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2c9d1c5
0f1a069
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-4
0f1a069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0f1a069
39a5ab7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-3
39a5ab7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
39a5ab7
a1e4e87
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-2
a1e4e87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a1e4e87
Fabian Affolter a0582b9
* Sat Apr 02 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.3-1
Fabian Affolter 6484b8e
- Update to new upstream version 0.7.3 (rhbz#1316252)
Fabian Affolter 6484b8e
a1a96b8
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
a1a96b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a1a96b8
2370a46
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5
2370a46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2370a46
61b77b2
* Tue Aug 19 2014 Michal Ambroz <rebus _AT seznam.cz> - 0.6.0-4
61b77b2
- enable build with newer ewf library
61b77b2
18d2c25
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
18d2c25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
18d2c25
a72a5c1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
a72a5c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a72a5c1
b5a25e6
* Thu Jun 05 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-1
b5a25e6
- Update to new upstream version 0.6.0
b5a25e6
a39d56f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-5
a39d56f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a39d56f
ecbf5e5
* Fri Mar 01 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.5.0-4
ecbf5e5
- Rebuilt for libewf
ecbf5e5
4bead9c
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
4bead9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4bead9c
29f82c6
* Sun Sep 02 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-2
b5a25e6
- Clean section remove
b5a25e6
- BR update
29f82c6
29f82c6
* Mon Aug 06 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
b5a25e6
- Add a provide
29f82c6
- Permissions were fixed upstream 
b5a25e6
- Update to new upstream version 0.5.0
29f82c6
29f82c6
* Sat Jun 30 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.7-2
29f82c6
- Leave md5 implementation in place
29f82c6
29f82c6
* Fri Apr 13 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.7-1
b5a25e6
- Update to new upstream version 0.4.7
29f82c6
b5a25e6
* Tue Oct 18 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.6-1
b5a25e6
- Update to new upstream version 0.4.6
29f82c6
29f82c6
* Wed Sep 01 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-2
b5a25e6
- Add patch from #606073
b5a25e6
- Fix permission
b5a25e6
- Add needed BRs
29f82c6
29f82c6
* Mon Mar 15 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-1
29f82c6
- Initial package for Fedora