File secure-delete.spec of Package secure-delete

#
# spec file for package secure-delete
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:       secure-delete
Version:    3.1
Release:    5.4
License:    GPL-1.0+
Source0:    secure-delete_3.1.orig.tar.gz
Patch0:     secure-delete_3.1-5.diff
URL:        https://www.thc.org/
Group:      System/Base
Summary:    Tools to wipe files, free disk space, swap and memory
Conflicts:  srm
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
Even if you overwrite a file 10+ times, it can still be recovered. This
package contains tools to securely wipe data from files, free disk space,
swap and memory.

%prep
%setup -q -n %{name}-%{version}.orig
%patch0 -p1

%build
make

%install
install -d -m 0755 %{buildroot}/%{_bindir}
install -d -m 0755 %{buildroot}/%{_mandir}/man1
install -m 755 sfill smem sswap srm %{buildroot}/%{_bindir}
install -m 644 sfill.1 smem.1 sswap.1 srm.1 %{buildroot}/%{_mandir}/man1

%files
%defattr(-,root,root)
%doc CHANGES README usenix6-gutmann.doc secure_delete.doc the_cleaner.sh
%_bindir/*
%_mandir/man1/*

%changelog

openSUSE Build Service is sponsored by