wipe/wipe.spec

57 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: wipe
Version: 2.3.1
Release: 1mamba
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: http://wipe.sourceforge.net/
Source: http://puzzle.dl.sourceforge.net/sourceforge/wipe/%{name}-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%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
* 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