40 lines
1.1 KiB
RPMSpec
40 lines
1.1 KiB
RPMSpec
Name: scrub
|
|
Version: 2.5.2
|
|
Release: 15
|
|
Summary: A disk overwrite utility
|
|
License: GPLv2+
|
|
URL: https://github.com/chaos/scrub
|
|
Source0: https://github.com/chaos/scrub/archive/2.5.2.tar.gz
|
|
|
|
%description
|
|
Scrub writes patterns on files or disk devices to make
|
|
retrieving the data more difficult. It operates in one of three modes:
|
|
1) the special file corresponding to an entire disk is scrubbed
|
|
and all data on it is destroyed.
|
|
2) a regular file is scrubbed and only the data in the file
|
|
(and optionally its name in the directory entry) is destroyed.
|
|
3) a regular file is created, expanded until
|
|
the file system is full, then scrubbed as in 2).
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc DISCLAIMER COPYING README ChangeLog
|
|
%{_bindir}/scrub
|
|
%{_mandir}/man1/scrub.1*
|
|
|
|
%changelog
|
|
* Wed Sep 9 2020 baizhonggui <baizhonggui@huawei.com> - 2.5.2-15
|
|
- Modify source0 and replace tar package
|
|
|
|
* Thu Nov 28 2019 Jiangping Hu <hujiangping@huawei.com> - 2.5.2-14
|
|
- Package init
|