Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c381b15d4d | ||
|
|
95ac6a5a97 | ||
|
|
2b095f4713 |
2 changed files with 32 additions and 6 deletions
|
|
@ -1,8 +1,9 @@
|
|||
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}")
|
||||
|
|
@ -29,11 +30,30 @@ add_executable(unchunkfs
|
|||
|
||||
target_link_libraries(unchunkfs fuse)
|
||||
|
||||
add_custom_target(manpage ALL)
|
||||
# Define the manpage output file
|
||||
set(MANPAGE_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/chunkfs.1")
|
||||
|
||||
add_custom_command(TARGET manpage
|
||||
COMMAND pod2man -c '' -n CHUNKFS -r 'ChunkFS ${VERSION}' -s 1 ${CMAKE_SOURCE_DIR}/manpage.pod chunkfs.1
|
||||
)
|
||||
# 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}
|
||||
)
|
||||
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink chunkfs.1 unchunkfs.1
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Name: chunkfs
|
||||
Version: 0.8
|
||||
Release: 11%{?dist}
|
||||
Release: 13%{?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.
|
||||
|
|
@ -51,6 +51,12 @@ 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue