File nwipe.spec of Package nwipe
#
# spec file for package nwipe
#
# Copyright (c) 2025 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
Summary: Standalone secure disk eraser
Version: 0.39
Release: 0
URL: https://github.com/martijnvanbrummelen/nwipe
Source: https://github.com/martijnvanbrummelen/nwipe/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: ncurses_compat.patch
License: GPL-2.0
Group: Productivity/Security
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig(libconfig)
BuildRequires: pkgconfig(libparted)
BuildRequires: pkgconfig(ncurses)
Requires: coreutils
Requires: dmidecode
Requires: hdparm
Requires: smartmontools
%description
nwipe is a program that will securely erase the entire contents of disks.
It can operate as both a command line tool without a GUI or with a ncurses
GUI as shown in the example below. It can wipe a single drive or multiple
disks simultaneously.
%prep
%autosetup -p1
%build
./autogen.sh
%configure
make %{?_smp_mflags}
%install
%makeinstall
%files
%doc CHANGELOG.md README.md
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man8/*
%changelog