## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: nwipe Version: 0.42 Release: %autorelease Summary: Securely erase disks using a variety of recognized methods %global forgeurl https://github.com/martijnvanbrummelen/nwipe %forgemeta License: GPL-2.0-only # used to be http://nwipe.sourceforge.net URL: %{forgeurl} # Releases https://github.com/martijnvanbrummelen/nwipe/releases Source0: %{forgesource} BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libconfig-devel BuildRequires: make BuildRequires: ncurses-devel BuildRequires: parted-devel # Runtime dependencies Requires: coreutils Requires: dmidecode Requires: hdparm Requires: kmod Requires: smartmontools %description The nwipe is a command that will securely erase disks using a variety of recognized methods. It is a fork of the dwipe command used by Darik's Boot and Nuke (dban). Nwipe was created out of need to run the DBAN dwipe command outside of DBAN. This allows it to use any host distribution which gives better hardware support. It is essentially the same as dwipe, with a few changes: - pthreads is used instead of fork - The parted library is used to detect drives - The code is designed to be compiled with gcc - Increased number of wipe methods - Smartmontools is used to provide USB serial # - DmiDecode is used to provide host info to nwipes log %prep %autosetup -n %{archivename} -p 1 %build autoreconf -vif %configure %make_build %install %make_install %check %make_build check %files %license COPYING %doc CHANGELOG.md README.md %{_bindir}/%{name} %{_mandir}/man8/%{name}.8.gz %changelog ## START: Generated by rpmautospec * Mon Jul 20 2026 Michal Ambroz - 0.42-1 - bump to 0.42 * Thu Jul 16 2026 Fedora Release Engineering - 0.41-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 10 2026 Filipe Rosset - 0.41-5 - opt-in to packit - rawhide only * Wed Jun 10 2026 Filipe Rosset - 0.41-4 - opt-in to packit - rawhide only * Wed Jun 10 2026 Filipe Rosset - 0.41-3 - spec cleanup and modernization * Fri May 22 2026 Michal Ambroz - 0.41-2 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec