File tcopy-linux.spec of Package tcopy-linux
#
# spec file for package
#
# 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 http://bugs.opensuse.org/
#
Name: tcopy-linux
Version: 1.0
Release: 0
License: BSD-4-Clause
Summary: Tape Copy/Clone for Linux
URL: http://tcopy.sourceforge.net
Group: Productivity/File utilities
Source: http://sourceforge.net/projects/tcopy-linux/files/tcopy-linux/1.0/tcopy-linux.tar.gz
Provides: tcopy
BuildRoot: %_tmppath/%name-%version-build
%description
Linux tape cloning utility. A re-implementation of the AIX tcopy utility. Used to clone a tape, or display the record/file structure.
%prep
%setup -q -n %name
%build
make %{?_smp_mflags} tcopy
%install
install -Dpm 0755 tcopy %buildroot%_bindir/tcopy
install -Dpm 0644 tcopy.1 %buildroot%_mandir/man1/tcopy.1
%files
%defattr(-,root,root)
%_bindir/tcopy
%_mandir/man1/tcopy.1.*
%changelog