62 lines
1.8 KiB
RPMSpec
62 lines
1.8 KiB
RPMSpec
Name: wipe
|
|
Version: 2.3.1
|
|
Release: 3mamba
|
|
Summary: Repeatedly writes special patterns to the file or files to be destroyed,
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://wipe.sourceforge.net/
|
|
Source: https://downloads.sourceforge.net/sourceforge/wipe/%{name}-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Wipe repeatedly writes special patterns to the file or files to be destroyed, using the fsync() call and/or the O_SYNC bit to force disk access, in order to lessen the chance of data recovery using techniques such as magnetic force microscopy.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
./configure \
|
|
--prefix=%{_prefix} \
|
|
--mandir=%{_mandir}
|
|
|
|
sed -i "s|-o root||" Makefile
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
make install prefix=%{buildroot}%{_prefix} mandir=%{buildroot}%{_mandir}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/wipe
|
|
%{_mandir}/man1/wipe.1.gz
|
|
%{_datadir}/doc/wipe/*
|
|
|
|
%changelog
|
|
* Sun Mar 21 2021 Automatic Build System <autodist@mambasoft.it> 2.3.1-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Sun Mar 21 2021 Automatic Build System <autodist@mambasoft.it> 2.3.1-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Mon May 10 2010 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Sep 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-2mamba
|
|
- specfile updated
|
|
|
|
* Tue Dec 14 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1qilnx
|
|
- package created by autospec
|