Compare commits

..

No commits in common. "rawhide" and "f40" have entirely different histories.

2 changed files with 7 additions and 40 deletions

View file

@ -1,9 +1,8 @@
cmake_minimum_required(VERSION 3.5...4.0)
project(chunkfs
LANGUAGES C
)
cmake_minimum_required(VERSION 3.0)
set(VERSION 0.8)
add_definitions(-DVERSION="${VERSION}")
@ -30,30 +29,11 @@ add_executable(unchunkfs
target_link_libraries(unchunkfs fuse)
# Define the manpage output file
set(MANPAGE_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/chunkfs.1")
add_custom_target(manpage ALL)
# Custom command to generate the manpage
add_custom_command(
OUTPUT ${MANPAGE_OUTPUT}
COMMAND pod2man
--center=""
--name="CHUNKFS"
--release="ChunkFS ${VERSION}"
--section=1
"${CMAKE_SOURCE_DIR}/manpage.pod"
"${MANPAGE_OUTPUT}"
DEPENDS "${CMAKE_SOURCE_DIR}/manpage.pod"
COMMENT "Generating chunkfs.1 manpage"
VERBATIM
)
# Custom target to depend on the manpage output
add_custom_target(
manpage
ALL
DEPENDS ${MANPAGE_OUTPUT}
)
add_custom_command(TARGET manpage
COMMAND pod2man -c '' -n CHUNKFS -r 'ChunkFS ${VERSION}' -s 1 ${CMAKE_SOURCE_DIR}/manpage.pod chunkfs.1
)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink chunkfs.1 unchunkfs.1
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})

View file

@ -1,10 +1,9 @@
Name: chunkfs
Version: 0.8
Release: 13%{?dist}
Release: 9%{?dist}
Summary: FUSE based filesystem that allows you to mount an arbitrary file or block device
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
License: GPLv2+
URL: https://chunkfs.florz.de/
Source0: https://chunkfs.florz.de/%{name}_%{version}.tar.xz
Source100: CMakeLists.txt
@ -51,18 +50,6 @@ install %{SOURCE100} .
%changelog
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 0.8-11
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild