2021-01-10 18:45:09 +00:00
|
|
|
name : dwarfs
|
2022-11-08 16:04:47 +00:00
|
|
|
version : 0.7.0
|
2022-09-09 19:32:17 +00:00
|
|
|
release : 1
|
2021-01-10 18:45:09 +00:00
|
|
|
source :
|
2022-11-08 16:04:47 +00:00
|
|
|
- git|https://github.com/mhx/dwarfs.git: main
|
2021-03-06 16:58:35 +00:00
|
|
|
license : GPL-3.0-or-later
|
2021-01-10 18:45:09 +00:00
|
|
|
networking : yes
|
2022-11-08 16:04:47 +00:00
|
|
|
clang : yes
|
2021-03-06 16:58:35 +00:00
|
|
|
summary : A fast high compression read-only file system
|
|
|
|
description: DwarFS is a read-only file system with a focus on achieving very high compression ratios in particular for very redundant data.
|
2021-01-10 18:45:09 +00:00
|
|
|
builddeps :
|
2022-11-08 16:04:47 +00:00
|
|
|
- brotli-devel
|
2021-01-10 18:45:09 +00:00
|
|
|
- double-conversion-devel
|
|
|
|
- fuse-devel
|
|
|
|
- fmt-devel
|
|
|
|
- gflags-devel
|
|
|
|
- glog-devel
|
|
|
|
- jemalloc-devel
|
2021-03-06 16:58:35 +00:00
|
|
|
- libarchive-devel
|
2021-01-10 18:45:09 +00:00
|
|
|
- libboost-devel
|
|
|
|
- libevent-devel
|
|
|
|
- lz4-devel
|
|
|
|
- ruby-devel
|
|
|
|
- sparsehash
|
2021-03-06 16:58:35 +00:00
|
|
|
- xxhash-devel
|
2021-01-10 18:45:09 +00:00
|
|
|
- zstd-devel
|
2021-04-22 13:07:00 +00:00
|
|
|
optimize : speed
|
2021-01-10 18:45:09 +00:00
|
|
|
setup : |
|
|
|
|
PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
|
|
|
|
gem install --user-install ronn
|
2022-11-08 16:04:47 +00:00
|
|
|
%cmake -DPREFER_SYSTEM_GTEST=1 -DPREFER_SYSTEM_LIBFMT=1 -DPREFER_SYSTEM_XXHASH=1 -DPREFER_SYSTEM_ZSTD=1
|
2021-01-10 18:45:09 +00:00
|
|
|
build : |
|
|
|
|
%make
|
|
|
|
install : |
|
|
|
|
%make_install
|
2022-11-08 16:04:47 +00:00
|
|
|
install -Dm00755 scripts/extract_blocks.py $installdir/usr/bin/dwarfsblocks
|