File tkdiff.spec of Package tkdiff

#
# spec file for package tkdiff
#
# Copyright (c) 2011 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/
#

# norootforbuild


Name:           tkdiff
BuildArch:      noarch
License:        GPL-2.0+
Group:          Productivity/Text/Utilities
Requires:       tk diffutils
Version:        4.2
Release:        0
Summary:        2 and 3-way diff/merge tool
Url:            http://tkdiff.sourceforge.net/
Source0:        http://prdownloads.sourceforge.net/tkdiff/tkdiff-%{version}.tar.gz
Source1:        README.SuSE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
TkDiff is a graphical 2 and 3-way diff/merge tool.

%prep
%setup -q -n "tkdiff-unix"
cp %{S:1} .

%build

%install
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
install -m 755 tkdiff $RPM_BUILD_ROOT/usr/bin/tkdiff

%files
%defattr(-,root,root)
%doc README.SuSE
/usr/bin/tkdiff

%changelog
openSUSE Build Service is sponsored by