46 lines
1.2 KiB
RPMSpec
46 lines
1.2 KiB
RPMSpec
Name: dwarfs
|
|
Version: 0.12.2
|
|
Release: 1%{?dist}
|
|
Summary: A fast high compression read-only file system
|
|
URL: https://github.com/mhx/dwarfs
|
|
License: GPLv3
|
|
BuildArch: %{_arch}
|
|
|
|
BuildRequires: wget
|
|
BuildRequires: tar
|
|
|
|
Requires: fuse3
|
|
Requires: lz4
|
|
Requires: zstd
|
|
Requires: xz
|
|
|
|
%description
|
|
The Deduplicating Warp-speed Advanced Read-only File System.
|
|
|
|
%prep
|
|
wget https://github.com/mhx/dwarfs/releases/download/v%{version}/dwarfs-%{version}-Linux-%{_arch}.tar.xz
|
|
tar -xvf dwarfs-%{version}-Linux-%{_arch}.tar.xz
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_mandir}
|
|
|
|
cp -vr dwarfs-%{version}-Linux-%{_arch}/bin/ %{buildroot}%{_bindir}
|
|
cp -vr dwarfs-%{version}-Linux-%{_arch}/sbin/* %{buildroot}%{_bindir} # bin and sbin are the same in fedora
|
|
cp -vr dwarfs-%{version}-Linux-%{_arch}/share/man/* %{buildroot}%{_mandir} # bin and sbin are the same in fedora
|
|
|
|
%files
|
|
%{_bindir}/pxattr
|
|
%{_bindir}/dwarfsck
|
|
%{_bindir}/dwarfsextract
|
|
%{_bindir}/mkdwarfs
|
|
%{_bindir}/dwarfs
|
|
%{_bindir}/dwarfs2
|
|
%{_bindir}/mount.dwarfs
|
|
%{_bindir}/mount.dwarfs2
|
|
|
|
%{_mandir}/man1/dwarfs.1.gz
|
|
%{_mandir}/man1/dwarfsck.1.gz
|
|
%{_mandir}/man1/dwarfsextract.1.gz
|
|
%{_mandir}/man1/mkdwarfs.1.gz
|
|
|
|
%{_mandir}/man5/dwarfs-format.5.gz
|