srm.spec   [plain text]

Name: srm
Version: 1.2.8
Release: 1
License: X11
Group: Applications/File
Vendor: Matt Gauthier <>
Packager: %{vendor}

Prefix: /usr
Prefix: /usr/local
Buildroot: /tmp/%{name}.buildroot
Source: %{name}-%{version}.tar.gz

Summary: srm (secure rm) is a command-line compatible rm(1) which destroys file contents before unlinking.

This is srm, a secure replacement for rm(1). Unlike the standard rm,
it overwrites the data in the target files before unlinking them.
This prevents command-line recovery of the data by examining the raw
block device. It may also help frustrate physical examination of the
disk, although it's unlikely that it completely protects against this
type of recovery.


make prefix=%{buildroot}/usr install

rm -rf %{buildroot}
make clean

%attr(-, root, root) /usr/bin/srm
%attr(-, root, root) %doc /usr/man/man1/*