代码拉取完成,页面将自动刷新
Name: zerofree
Version: 1.1.1
Release: 4
Summary: Utility to force unused ext2/3/4 inodes and blocks to zero
License: GPLv2
URL: https://frippery.org/uml/
Source0: https://frippery.org/uml/%{name}-%{version}.tgz
Source1: https://frippery.org/uml/sparsify.c
Source2: zerofree.8
BuildRequires: e2fsprogs-devel gcc
%description
This module is a utility to set unused filesystem inodes and blocks of an ext2/3/4 filesystem to zero,
which can improve the compressibility and privacy of an ext2/3/4 filesystem.
%package help
Summary: man files for %{name}
Requires: man
%description help
This package includes man files for %{name}.
%prep
%autosetup -p1
cp -p %{SOURCE1} .
%build
make CC="gcc $RPM_OPT_FLAGS"
gcc $RPM_OPT_FLAGS sparsify.c -o sparsify -lext2fs
%install
install -D -p -m 755 zerofree $RPM_BUILD_ROOT%{_sbindir}/zerofree
install -D -p -m 755 sparsify $RPM_BUILD_ROOT%{_sbindir}/sparsify
install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8/zerofree.8
%files
%license COPYING
%{_sbindir}/*
%files help
%{_mandir}/man*/*
%changelog
* Mon May 31 2021 huanghaitao <[email protected]> - 1.1.1-4
- Completing build dependencies to fix gcc compiler missing error
* Thu Dec 12 2019 openEuler Buildteam <[email protected]> - 1.1.1-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。