Compare commits
1 commit
rawhide
...
epel8-play
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fd30f2420 |
6 changed files with 1 additions and 176 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/chunkfs_0.8.tar.xz
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
cmake_minimum_required(VERSION 3.5...4.0)
|
||||
|
||||
project(chunkfs
|
||||
LANGUAGES C
|
||||
)
|
||||
|
||||
|
||||
set(VERSION 0.8)
|
||||
add_definitions(-DVERSION="${VERSION}")
|
||||
set(CMAKE_CXX_FLAGS "-O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 ${CMAKE_CXX_FLAGS}")
|
||||
|
||||
include(GNUInstallDirs)
|
||||
mark_as_advanced(CLEAR
|
||||
CMAKE_INSTALL_BINDIR
|
||||
CMAKE_INSTALL_DOCDIR
|
||||
CMAKE_INSTALL_MANDIR
|
||||
)
|
||||
|
||||
add_executable(chunkfs
|
||||
chunkfs.c
|
||||
utils.c
|
||||
)
|
||||
|
||||
target_link_libraries(chunkfs fuse)
|
||||
|
||||
add_executable(unchunkfs
|
||||
unchunkfs.c
|
||||
utils.c
|
||||
)
|
||||
|
||||
target_link_libraries(unchunkfs fuse)
|
||||
|
||||
# Define the manpage output file
|
||||
set(MANPAGE_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/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})
|
||||
|
||||
install(TARGETS chunkfs unchunkfs
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
||||
install(FILES ${CMAKE_BINARY_DIR}/chunkfs.1 ${CMAKE_BINARY_DIR}/unchunkfs.1
|
||||
|
||||
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
|
||||
)
|
||||
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/writeoverlay.sh
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples
|
||||
)
|
||||
11
README.md
11
README.md
|
|
@ -1,11 +0,0 @@
|
|||
ChunkFS is a FUSE based filesystem that allows you to mount an arbitrary file
|
||||
or block device as a directory tree of files that each represent a chunk of
|
||||
user-specified size of the mounted file. The chunk size is global per mount,
|
||||
but at mount time any value can be specified. (If the file size isn't a
|
||||
multiple of the specified chunk size, the last file in the tree simply will be
|
||||
smaller than the chunk size.) Only read access is supported at the moment.
|
||||
|
||||
UnChunkFS is the inversion of ChunkFS—it allows you to mount a ChunkFS tree (or
|
||||
a copy of it, of course), and gives you a single file named image that has the
|
||||
same contents as the file or device you created the tree from by mounting it as
|
||||
a ChunkFS.
|
||||
91
chunkfs.spec
91
chunkfs.spec
|
|
@ -1,91 +0,0 @@
|
|||
Name: chunkfs
|
||||
Version: 0.8
|
||||
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.
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://chunkfs.florz.de/
|
||||
Source0: https://chunkfs.florz.de/%{name}_%{version}.tar.xz
|
||||
Source100: CMakeLists.txt
|
||||
|
||||
BuildRequires: cmake gcc
|
||||
# For pod2man
|
||||
BuildRequires: perl-podlators
|
||||
BuildRequires: fuse-devel
|
||||
|
||||
%description
|
||||
ChunkFS is a FUSE based filesystem that allows you to mount an arbitrary file
|
||||
or block device as a directory tree of files that each represent a chunk of
|
||||
user-specified size of the mounted file. The chunk size is global per mount,
|
||||
but at mount time any value can be specified. (If the file size isn't a
|
||||
multiple of the specified chunk size, the last file in the tree simply will be
|
||||
smaller than the chunk size.) Only read access is supported at the moment.
|
||||
|
||||
UnChunkFS is the inversion of ChunkFS—it allows you to mount a ChunkFS tree (or
|
||||
a copy of it, of course), and gives you a single file named image that has the
|
||||
same contents as the file or device you created the tree from by mounting it as
|
||||
a ChunkFS.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
install %{SOURCE100} .
|
||||
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_bindir}/*
|
||||
%{_docdir}/%{name}/examples/
|
||||
%{_mandir}/man1/*chunkfs.1*
|
||||
|
||||
|
||||
%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
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Dec 2 2020 Richard Shaw <hobbes1069@gmail.com> - 0.8-1
|
||||
- Initial packaging.
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
epel8-playground decommissioned : https://pagure.io/epel/issue/136
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (chunkfs_0.8.tar.xz) = 4e751fe782a1ff0d11db61f10548e5a59cb65c2c6d990cbc26e09ffb09bfcfdce0e26fb0fe5282c403264c8fc2d658e9c652aea6900e203821f9834c8d3a5d4a
|
||||
Loading…
Add table
Add a link
Reference in a new issue