File nwipe.spec of Package nwipe
#
# spec file for package nwipe
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: nwipe
Version: 0.38
Release: 0
Summary: Standalone secure disk eraser
License: GPL-2.0-only
Group: Productivity/Security
URL: https://github.com/martijnvanbrummelen/nwipe
Source: %{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: parted-devel
BuildRequires: libconfig-devel
BuildRequires: pkgconfig
Requires: which
Requires: hdparm
Requires: smartmontools
Requires: dmidecode
%description
This program will securely erase disks using a variety of recognised methods.
It is a fork of the dwipe command used by Darik's Boot and Nuke (dban).
%prep
%setup -q
%build
./autogen.sh
export CFLAGS=-std=c99
%configure
%make_build
%install
%make_install
%files
%{_bindir}/nwipe
%{_mandir}/man8/*
%changelog