You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
181 lines
6.2 KiB
181 lines
6.2 KiB
Name: nwipe |
|
Version: 0.26 |
|
Release: 1%{?dist} |
|
Summary: Securely erase disks using a variety of recognized methods |
|
|
|
|
|
%global gituser martijnvanbrummelen |
|
%global gitname nwipe |
|
%global commit 0fa21d4c04f32fa34ec52d7aa2e4b261b8f9e262 |
|
%global gitdate 20180808 |
|
%global shortcommit %(c=%{commit}; echo ${c:0:7}) |
|
|
|
|
|
License: GPLv2 |
|
# used to be http://nwipe.sourceforge.net |
|
URL: https://github.com/martijnvanbrummelen/nwipe |
|
#Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz |
|
Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz |
|
Patch1: nwipe-epel6.patch |
|
|
|
BuildRequires: gcc |
|
BuildRequires: parted-devel |
|
BuildRequires: ncurses-devel |
|
BuildRequires: autoconf |
|
BuildRequires: automake |
|
|
|
#For compatibility with EPEL5 |
|
|
|
|
|
%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 |
|
|
|
%prep |
|
#setup -qn %{gitname}-%{commit} |
|
%setup -qn %{gitname}-%{version} |
|
%patch1 -p 1 -b .epel6 |
|
|
|
|
|
%build |
|
autoreconf -vif |
|
%configure |
|
make %{?_smp_mflags} |
|
|
|
|
|
%install |
|
#Cleanup the buildroot for compatibility with EPEL5 |
|
rm -rf %{buildroot} |
|
make install DESTDIR=%{buildroot} LDFLAGS="-lncurses -lpanel" |
|
|
|
|
|
%files |
|
%license COPYING |
|
%doc README |
|
%{_bindir}/%{name} |
|
%{_mandir}/man1/%{name}.1.gz |
|
|
|
%changelog |
|
* Sat Oct 12 2019 Michal Ambroz <rebus at, seznam.cz> 0.26-1 |
|
- bump to 0.26 |
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-2 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
|
|
|
* Mon Apr 01 2019 Michal Ambroz <rebus at, seznam.cz> 0.25-1 |
|
- bump to 0.25 |
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-4 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-3 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-2 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
|
|
|
* Mon Dec 11 2017 Michal Ambroz <rebus at, seznam.cz> 0.24-1 |
|
- bump to 0.24 |
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-5 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-4 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
|
|
|
* Tue Sep 06 2016 Michal Ambroz <rebus at, seznam.cz> 0.21-3 |
|
- fix changelog |
|
|
|
* Tue Sep 06 2016 Michal Ambroz <rebus at, seznam.cz> 0.21-1 |
|
- bump to 0.21 |
|
|
|
* Mon Aug 08 2016 Michal Ambroz <rebus at, seznam.cz> 0.20-1 |
|
- bump to 0.20 |
|
|
|
* Thu Aug 04 2016 Michal Ambroz <rebus at, seznam.cz> 0.19-1 |
|
- bump to 0.19 - upstream fixes prng and build for fedora<23 |
|
|
|
* Mon Aug 01 2016 Michal Ambroz <rebus at, seznam.cz> 0.18-1 |
|
- bump to 0.18 |
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-4 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
|
|
|
* Mon Jun 22 2015 Michal Ambroz <rebus at, seznam.cz> 0.17-3 |
|
- fix build on epel6 |
|
|
|
* Mon Jun 22 2015 Michal Ambroz <rebus at, seznam.cz> 0.17-2 |
|
- patch to fix the randr mersene twister on 64bit platform (bug id 1151036) |
|
|
|
* Mon Jun 22 2015 Michal Ambroz <rebus at, seznam.cz> 0.17-1 |
|
- upgrade to version 0.17, switch to github repository |
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
|
|
|
* Sat Feb 16 2013 Michal Ambroz <rebus at, seznam.cz> 0.14-2 |
|
- removed build requirement to autoconf again |
|
|
|
* Sat Feb 16 2013 Michal Ambroz <rebus at, seznam.cz> 0.14-1 |
|
- upgrade to version 0.14 |
|
|
|
* Sun Feb 10 2013 Michal Ambroz <rebus at, seznam.cz> 0.13-2 |
|
- patched build to check for ncurses independently from panel |
|
|
|
* Sun Feb 10 2013 Michal Ambroz <rebus at, seznam.cz> 0.13-1 |
|
- upgrade to version 0.13 |
|
|
|
* Tue Feb 05 2013 Michal Ambroz <rebus at, seznam.cz> 0.12-1 |
|
- upgrade to version 0.12 |
|
|
|
* Mon Sep 24 2012 Michal Ambroz <rebus at, seznam.cz> 0.11-1 |
|
- upgrade to version 0.11 |
|
|
|
* Fri Aug 10 2012 Michal Ambroz <rebus at, seznam.cz> 0.10-1 |
|
- upgrade to version 0.10 |
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
|
|
|
* Sun Apr 08 2012 Michal Ambroz <rebus at, seznam.cz> 0.08-1 |
|
- upgrade to version 0.08 |
|
|
|
* Thu Mar 15 2012 Rex Dieter <rdieter@fedoraproject.org> 0.06-3 |
|
- rebuild (parted) |
|
|
|
* Fri Jan 06 2012 Michal Ambroz <rebus at, seznam.cz> 0.06-2 |
|
- redownload of upstream package - original release of 0.06 contained binaries |
|
|
|
* Thu Jan 05 2012 Michal Ambroz <rebus at, seznam.cz> 0.06-1 |
|
- added Group field |
|
- FSF address and manpage was fixed upstream |
|
- bump to new version 0.06 |
|
|
|
* Sun Jan 01 2012 Michal Ambroz <rebus at, seznam.cz> 0.05-3 |
|
- added clean stage for EPEL5 compatibility |
|
|
|
* Sun Jan 01 2012 Michal Ambroz <rebus at, seznam.cz> 0.05-2 |
|
- fixed defattr based on package review from Ivan Romanov |
|
|
|
* Wed Dec 28 2011 Michal Ambroz <rebus at, seznam.cz> 0.05-1 |
|
- initial build for Fedora |
|
|
|
|