Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c381b15d4d | ||
|
|
95ac6a5a97 | ||
|
|
2b095f4713 | ||
|
|
a5f078f843 | ||
|
|
4964d5c348 |
2 changed files with 40 additions and 7 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
|
cmake_minimum_required(VERSION 3.5...4.0)
|
||||||
|
|
||||||
project(chunkfs
|
project(chunkfs
|
||||||
LANGUAGES C
|
LANGUAGES C
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.0)
|
|
||||||
|
|
||||||
set(VERSION 0.8)
|
set(VERSION 0.8)
|
||||||
add_definitions(-DVERSION="${VERSION}")
|
add_definitions(-DVERSION="${VERSION}")
|
||||||
|
|
@ -29,11 +30,30 @@ add_executable(unchunkfs
|
||||||
|
|
||||||
target_link_libraries(unchunkfs fuse)
|
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
|
# Custom command to generate the manpage
|
||||||
COMMAND pod2man -c '' -n CHUNKFS -r 'ChunkFS ${VERSION}' -s 1 ${CMAKE_SOURCE_DIR}/manpage.pod chunkfs.1
|
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
|
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink chunkfs.1 unchunkfs.1
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||||
|
|
|
||||||
17
chunkfs.spec
17
chunkfs.spec
|
|
@ -1,9 +1,10 @@
|
||||||
Name: chunkfs
|
Name: chunkfs
|
||||||
Version: 0.8
|
Version: 0.8
|
||||||
Release: 9%{?dist}
|
Release: 13%{?dist}
|
||||||
Summary: FUSE based filesystem that allows you to mount an arbitrary file or block device
|
Summary: FUSE based filesystem that allows you to mount an arbitrary file or block device
|
||||||
|
|
||||||
License: GPLv2+
|
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||||
|
License: GPL-2.0-or-later
|
||||||
URL: https://chunkfs.florz.de/
|
URL: https://chunkfs.florz.de/
|
||||||
Source0: https://chunkfs.florz.de/%{name}_%{version}.tar.xz
|
Source0: https://chunkfs.florz.de/%{name}_%{version}.tar.xz
|
||||||
Source100: CMakeLists.txt
|
Source100: CMakeLists.txt
|
||||||
|
|
@ -50,6 +51,18 @@ install %{SOURCE100} .
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue