Compare commits

...
Sign in to create a new pull request.

60 commits

Author SHA1 Message Date
Filipe Rosset
235b770a7d update to 1.3.1
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
2026-07-15 23:25:58 -03:00
Fedora Release Engineering
6f235776e6 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:47:12 +00:00
Tom spot Callaway
221dfd2eda rebuild for new fuse3 2025-11-04 16:51:22 -05:00
Michal Ambroz
0849183e76 switch to autochangelog 2025-10-30 09:42:48 +01:00
Michal Ambroz
0dae6b07b8 switch to autochangelog 2025-10-30 09:42:25 +01:00
Peter Robinson
3d55bc3ae6 Build against fuse3 2025-10-29 17:50:08 +00:00
Nicolas Chauvet
c0c02a35da Update to 1.2.0 2025-08-27 19:49:20 +02:00
Fedora Release Engineering
cc726bec3e Unretirement request: pagure.io/releng/issue/12912
Revert "Orphaned for 6+ weeks"

This reverts commit 2e9f2eda2d.

Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2025-08-27 16:29:55 +00:00
Maxwell G
2e9f2eda2d Orphaned for 6+ weeks 2025-08-19 22:44:57 -05:00
Fedora Release Engineering
e8f029ceb3 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:57:30 +00:00
Fedora Release Engineering
75eb16e8b6 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:04:17 +00:00
Miroslav Suchý
d4573a4ff1 convert GPLv3+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 13:33:34 +02:00
Fedora Release Engineering
19a24034d0 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:15:57 +00:00
Software Management Team
a28008059d Eliminate use of obsolete %patchN syntax (#2283636) 2024-05-30 12:46:50 +02:00
Fedora Release Engineering
eee78dd304 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 09:55:07 +00:00
Fedora Release Engineering
57cf5466cc Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:04:30 +00:00
Fedora Release Engineering
fc1e196c9c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 07:40:32 +00:00
Fedora Release Engineering
60d3573ce9 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:20:16 +00:00
Fedora Release Engineering
02a6fd4f93 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:18:15 +00:00
Fedora Release Engineering
42e75c99b0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 21:45:32 +00:00
Fedora Release Engineering
be19c56bcf - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-28 00:12:26 +00:00
Fedora Release Engineering
f88e7f0df6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:52:58 +00:00
85892decd0
Improve compatibility with new CMake macro
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-05 20:51:07 +02:00
Fedora Release Engineering
7f263abd38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 04:39:30 +00:00
Fedora Release Engineering
2c5cd1f9cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:24:25 +00:00
Fedora Release Engineering
46a3a99366 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:36:40 +00:00
Nicolas Chauvet
3d83b26874 Various fixes 2018-08-13 17:11:46 +02:00
Nicolas Chauvet
da7459fed0 Fix build 2018-08-13 16:00:19 +02:00
Nicolas Chauvet
a2073b2c93 Avoid duplicate cmake directive 2018-08-13 15:17:22 +02:00
Nicolas Chauvet
b3aed01802 Fix build 2018-07-21 13:00:05 +02:00
Fedora Release Engineering
0288b7dec1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:25:48 +00:00
Igor Gnatenko
c43bca6db0 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:54 +02:00
Fabian Affolter
43e72d169d
Add folder 2018-06-18 16:04:01 +02:00
Fabian Affolter
0be5d6765e
More modifications 2018-06-18 15:57:25 +02:00
Fabian Affolter
5662f25d5a
Remove old patch 2018-06-18 15:53:14 +02:00
Fabian Affolter
a1aa8d0956
Fix year in changelog 2018-06-18 15:50:05 +02:00
Fabian Affolter
acc65122b3
* Mon Jun 18 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.6-1
- Update to new upstream version 0.7.6 (rhbz#1316252)
2018-06-18 15:49:23 +02:00
Fedora Release Engineering
2c9d1c5c40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:50:37 +00:00
Fedora Release Engineering
0f1a069cc5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:49:15 +00:00
Fedora Release Engineering
39a5ab7ce7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:16:09 +00:00
Fedora Release Engineering
a1e4e87dc3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:59:56 +00:00
Fabian Affolter
dd8e0e233f Add flag 2016-04-02 10:48:17 +02:00
Fabian Affolter
bfc8e375c1 Update BRs 2016-04-02 10:43:56 +02:00
Fabian Affolter
12e12bc435 Remove autoconf 2016-04-02 10:42:51 +02:00
Fabian Affolter
a0582b9d06 Fix bogus date 2016-04-02 10:42:02 +02:00
Fabian Affolter
6484b8e23e * Sat Apr 01 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.3-1
- Update to new upstream version 0.7.3 (rhbz#1316252)
2016-04-02 10:40:11 +02:00
Fedora Release Engineering
a1a96b84cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:38:58 +00:00
Dennis Gilmore
2370a46e2d - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:13:43 +00:00
Michal Ambroz
aa317c3862 adding automake to the build requirements 2014-08-21 01:57:12 +02:00
Michal Ambroz
1cf01db29c add autoreconf to the build requirements 2014-08-21 01:49:42 +02:00
Michal Ambroz
61b77b27b6 enable build with the new ewf library 2014-08-21 01:41:07 +02:00
18d2c25c71 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 10:25:20 +00:00
Dennis Gilmore
a72a5c1599 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:16:51 -05:00
Fabian Affolter
24b7b2d1af update compiler flags 2014-06-05 17:30:23 +02:00
Fabian Affolter
175faeaf24 Merge branch 'master' of ssh://pkgs.fedoraproject.org/xmount
Conflicts:
	xmount.spec
2014-06-05 17:25:13 +02:00
Fabian Affolter
b5a25e68b2 * Thu Jun 05 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-1
- Update to new upstream version 0.6.0
2014-06-05 17:23:56 +02:00
Dennis Gilmore
a39d56fd79 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 03:40:53 -05:00
Nicolas Chauvet
ecbf5e53a8 Rebuilt for libewf 2013-03-01 19:59:49 +01:00
Dennis Gilmore
4bead9cd4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:55:01 -06:00
Fabian Affolter
29f82c690a Initial commit 2012-09-02 11:59:32 +02:00
6 changed files with 375 additions and 0 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
xmount-*.tar.*

129
changelog Normal file
View file

@ -0,0 +1,129 @@
* Wed Oct 29 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2.0-2
- Build against fuse3
* Thu Aug 21 2025 Nicolas Chauvet <kwizart@gmail.com> - 1.2.0-1
- Update to 1.2.0
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 0.7.6-16
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Aug 13 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-3
- Fix build down to epel7
- Add missing hook
- Better space handling
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jun 18 2018 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.6-1
- Update to new upstream version 0.7.6 (rhbz#1316252)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Apr 02 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.3-1
- Update to new upstream version 0.7.3 (rhbz#1316252)
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Aug 19 2014 Michal Ambroz <rebus _AT seznam.cz> - 0.6.0-4
- enable build with newer ewf library
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jun 05 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-1
- Update to new upstream version 0.6.0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Mar 01 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.5.0-4
- Rebuilt for libewf
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Sep 02 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-2
- Clean section remove
- BR update
* Mon Aug 06 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
- Add a provide
- Permissions were fixed upstream
- Update to new upstream version 0.5.0
* Sat Jun 30 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.7-2
- Leave md5 implementation in place
* Fri Apr 13 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.7-1
- Update to new upstream version 0.4.7
* Tue Oct 18 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.6-1
- Update to new upstream version 0.4.6
* Wed Sep 01 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-2
- Add patch from #606073
- Fix permission
- Add needed BRs
* Mon Mar 15 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.2-1
- Initial package for Fedora

View file

@ -0,0 +1 @@
SHA512 (xmount-1.3.1.tar.bz2) = 630c37b521b37b5c238bb451fdfdf98c3fa28b7ef4456cf1e54f0ce4774b24d2dc32a40a7f1201178877259c55acd504289bfa9d94f11f60cbb24911912edeec

14
xmount-cflags.patch Normal file
View file

@ -0,0 +1,14 @@
--- a/CMakeLists.txt 2026-07-15 22:56:57.947212529 -0300
+++ b/CMakeLists.txt 2026-07-15 22:56:59.937211558 -0300
@@ -87,11 +87,6 @@
add_definitions(-D_LARGEFILE64_SOURCE)
add_definitions(-D_FILE_OFFSET_BITS=64)
add_definitions(-D_GNU_SOURCE)
-if(NOT CMAKE_C_FLAGS)
- set(CMAKE_C_FLAGS "-fno-strict-aliasing -std=c99 -Wall")
-endif(NOT CMAKE_C_FLAGS)
-set(CMAKE_C_FLAGS_RELEASE "-O2 ${CMAKE_C_FLAGS}")
-set(CMAKE_C_FLAGS_DEBUG "-ggdb -O0 ${CMAKE_C_FLAGS}")
# Compile stuff in sub dirs
add_subdirectory(libxmount_input)

166
xmount-suffix.patch Normal file
View file

@ -0,0 +1,166 @@
From 257d1aa10816988dd60a4c69efe6a60bb43722d6 Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart@gmail.com>
Date: Tue, 26 Aug 2025 11:05:33 +0200
Subject: [PATCH 1/2] Add LIB_SUFFIX to library path
This is needed in order to install the libraries into the appropriate
path for libraries
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
---
libxmount_input/libxmount_input_aaff/CMakeLists.txt | 2 +-
libxmount_input/libxmount_input_aewf/CMakeLists.txt | 2 +-
libxmount_input/libxmount_input_aff/CMakeLists.txt | 2 +-
libxmount_input/libxmount_input_aff4/CMakeLists.txt | 2 +-
libxmount_input/libxmount_input_ewf/CMakeLists.txt | 2 +-
libxmount_input/libxmount_input_qcow/CMakeLists.txt | 2 +-
libxmount_input/libxmount_input_raw/CMakeLists.txt | 2 +-
libxmount_input/libxmount_input_vdi/CMakeLists.txt | 2 +-
libxmount_morphing/libxmount_morphing_combine/CMakeLists.txt | 2 +-
libxmount_morphing/libxmount_morphing_raid/CMakeLists.txt | 2 +-
.../libxmount_morphing_unallocated/CMakeLists.txt | 2 +-
src/CMakeLists.txt | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/libxmount_input/libxmount_input_aaff/CMakeLists.txt b/libxmount_input/libxmount_input_aaff/CMakeLists.txt
index ec438d50a97f..cf59bcb16374 100644
--- a/libxmount_input/libxmount_input_aaff/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_aaff/CMakeLists.txt
@@ -22,5 +22,5 @@ endif(NOT STATIC)
target_link_libraries(xmount_input_aaff ${LIBS})
-install(TARGETS xmount_input_aaff DESTINATION lib/xmount)
+install(TARGETS xmount_input_aaff DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_input/libxmount_input_aewf/CMakeLists.txt b/libxmount_input/libxmount_input_aewf/CMakeLists.txt
index 05d03116af59..e49da30649a8 100644
--- a/libxmount_input/libxmount_input_aewf/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_aewf/CMakeLists.txt
@@ -30,5 +30,5 @@ endif(NOT STATIC)
target_link_libraries(xmount_input_aewf ${LIBS})
-install(TARGETS xmount_input_aewf DESTINATION lib/xmount)
+install(TARGETS xmount_input_aewf DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_input/libxmount_input_aff/CMakeLists.txt b/libxmount_input/libxmount_input_aff/CMakeLists.txt
index 207d5d4c4d66..049c3ef5a9ad 100644
--- a/libxmount_input/libxmount_input_aff/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_aff/CMakeLists.txt
@@ -70,4 +70,4 @@ add_library(xmount_input_aff SHARED libxmount_input_aff.c)
target_link_libraries(xmount_input_aff ${LIBS})
-install(TARGETS xmount_input_aff DESTINATION lib/xmount)
+install(TARGETS xmount_input_aff DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_input/libxmount_input_aff4/CMakeLists.txt b/libxmount_input/libxmount_input_aff4/CMakeLists.txt
index b8bdc5b81c25..139e13dd6a5b 100644
--- a/libxmount_input/libxmount_input_aff4/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_aff4/CMakeLists.txt
@@ -33,5 +33,5 @@ add_library(xmount_input_aff4 SHARED libxmount_input_aff4.c)
target_link_libraries(xmount_input_aff4 ${LIBS})
-install(TARGETS xmount_input_aff4 DESTINATION lib/xmount)
+install(TARGETS xmount_input_aff4 DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_input/libxmount_input_ewf/CMakeLists.txt b/libxmount_input/libxmount_input_ewf/CMakeLists.txt
index 75620009f07e..8f4bc1f653bf 100644
--- a/libxmount_input/libxmount_input_ewf/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_ewf/CMakeLists.txt
@@ -24,5 +24,5 @@ endif(NOT STATIC_EWF)
target_link_libraries(xmount_input_ewf ${LIBS})
-install(TARGETS xmount_input_ewf DESTINATION lib/xmount)
+install(TARGETS xmount_input_ewf DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_input/libxmount_input_qcow/CMakeLists.txt b/libxmount_input/libxmount_input_qcow/CMakeLists.txt
index 7e38241eee74..c2629856674d 100644
--- a/libxmount_input/libxmount_input_qcow/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_qcow/CMakeLists.txt
@@ -22,4 +22,4 @@ endif(NOT STATIC)
target_link_libraries(xmount_input_qcow ${LIBS})
-install(TARGETS xmount_input_qcow DESTINATION lib/xmount)
+install(TARGETS xmount_input_qcow DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_input/libxmount_input_raw/CMakeLists.txt b/libxmount_input/libxmount_input_raw/CMakeLists.txt
index 0bd6b42551d0..1b9b0fb8c6de 100644
--- a/libxmount_input/libxmount_input_raw/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_raw/CMakeLists.txt
@@ -6,5 +6,5 @@ project(libxmount_input_raw C)
add_library(xmount_input_raw SHARED libxmount_input_raw.c ../../libxmount/libxmount.c)
-install(TARGETS xmount_input_raw DESTINATION lib/xmount)
+install(TARGETS xmount_input_raw DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_input/libxmount_input_vdi/CMakeLists.txt b/libxmount_input/libxmount_input_vdi/CMakeLists.txt
index e17cf26422fc..40bec3a788a8 100644
--- a/libxmount_input/libxmount_input_vdi/CMakeLists.txt
+++ b/libxmount_input/libxmount_input_vdi/CMakeLists.txt
@@ -6,5 +6,5 @@ project(libxmount_input_vdi C)
add_library(xmount_input_vdi SHARED libxmount_input_vdi.c ../../libxmount/libxmount.c)
-install(TARGETS xmount_input_vdi DESTINATION lib/xmount)
+install(TARGETS xmount_input_vdi DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_morphing/libxmount_morphing_combine/CMakeLists.txt b/libxmount_morphing/libxmount_morphing_combine/CMakeLists.txt
index f85ebff79fdb..2ba7123057b3 100644
--- a/libxmount_morphing/libxmount_morphing_combine/CMakeLists.txt
+++ b/libxmount_morphing/libxmount_morphing_combine/CMakeLists.txt
@@ -6,5 +6,5 @@ project(libxmount_morphing_combine C)
add_library(xmount_morphing_combine SHARED libxmount_morphing_combine.c ../../libxmount/libxmount.c)
-install(TARGETS xmount_morphing_combine DESTINATION lib/xmount)
+install(TARGETS xmount_morphing_combine DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_morphing/libxmount_morphing_raid/CMakeLists.txt b/libxmount_morphing/libxmount_morphing_raid/CMakeLists.txt
index 69e976a5072c..3f07b819720c 100644
--- a/libxmount_morphing/libxmount_morphing_raid/CMakeLists.txt
+++ b/libxmount_morphing/libxmount_morphing_raid/CMakeLists.txt
@@ -6,5 +6,5 @@ project(libxmount_morphing_raid C)
add_library(xmount_morphing_raid SHARED libxmount_morphing_raid.c ../../libxmount/libxmount.c)
-install(TARGETS xmount_morphing_raid DESTINATION lib/xmount)
+install(TARGETS xmount_morphing_raid DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/libxmount_morphing/libxmount_morphing_unallocated/CMakeLists.txt b/libxmount_morphing/libxmount_morphing_unallocated/CMakeLists.txt
index a90805f26c65..be41ea672501 100644
--- a/libxmount_morphing/libxmount_morphing_unallocated/CMakeLists.txt
+++ b/libxmount_morphing/libxmount_morphing_unallocated/CMakeLists.txt
@@ -6,5 +6,5 @@ project(libxmount_morphing_unallocated C)
add_library(xmount_morphing_unallocated SHARED libxmount_morphing_unallocated.c hfs_functions.c fat_functions.c ../../libxmount/libxmount.c)
-install(TARGETS xmount_morphing_unallocated DESTINATION lib/xmount)
+install(TARGETS xmount_morphing_unallocated DESTINATION lib${LIB_SUFFIX}/xmount)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 92d9b8ffa9a5..96fd71c2c95b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -17,7 +17,7 @@ endif(CMAKE_THREAD_LIBS_INIT)
set(LIBS ${LIBS} "dl")
-add_definitions(-DXMOUNT_LIBRARY_PATH="${CMAKE_INSTALL_PREFIX}/lib/xmount")
+add_definitions(-DXMOUNT_LIBRARY_PATH="${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/xmount")
add_executable(xmount xmount.c md5.c ../libxmount/libxmount.c)
diff --git a/libxmount_morphing/libxmount_morphing_byteswap/CMakeLists.txt b/libxmount_morphing/libxmount_morphing_byteswap/CMakeLists.txt
--- a/libxmount_morphing/libxmount_morphing_byteswap/CMakeLists.txt
+++ b/libxmount_morphing/libxmount_morphing_byteswap/CMakeLists.txt
@@ -9,1 +9,1 @@
-install(TARGETS xmount_morphing_byteswap DESTINATION lib/xmount)
+install(TARGETS xmount_morphing_byteswap DESTINATION lib${LIB_SUFFIX}/xmount)
--
2.51.0

64
xmount.spec Normal file
View file

@ -0,0 +1,64 @@
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