File scrub.spec of Package scrub

# spec file for package scrub
# Copyright (c) 2013 SUSE LINUX Products 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

Name:           scrub
Version:        2.5.2
Release:        1
Summary:        Disk scrubbing program
License:        GPL-2.0
Group:          Productivity/File utilities
# SHA1 scrub-2.5.2.tar.bz2 863e5894e6acb3f922cb25f58e260f9c59b55c14
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Scrub writes patterns on files or disk devices to make
retrieving the data more difficult.  It operates in one of three modes: 
1) the special file corresponding to an entire disk is scrubbed 
   and all data on it is destroyed.
2) a regular file is scrubbed and only the data in the file 
   (and optionally its name in the directory entry) is destroyed.
3) a regular file is created, expanded until 
   the file system is full, then scrubbed as in 2).

%setup -q

%configure --program-prefix=%{?_program_prefix:%{_program_prefix}}

make check