File dirdiff.spec of Package dirdiff

#
# spec file for package dirdiff (Version 2.1)
#
# Copyright (c) 2010 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:           dirdiff
BuildRequires:  tcl-devel
Requires:       tk
Version:        2.1
Release:        146
Source:         ftp://pserver.samba.org/pub/paulus/dirdiff-%{version}.tar.gz
Patch0:         dirdiff.patch
Patch1:         dirdiff.uninitialized.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
License:        GPLv2+
Group:          Productivity/Text/Utilities
Requires:       tcl
Summary:        Diff Tool to Merge Source Trees

%description
Dirdiff is a graphical tool for displaying the differences between
directory trees and for merging changes from one tree into another.
Dirdiff can handle up to five trees.  It displays a main window with a
list of the files that are different between the trees with colored
squares to indicate the relative ages of the versions.	A menu allows
you to display the differences between any two of the versions in
another window.  Another menu allows you to copy the file from one tree
to another.



Authors:
--------
    Paul Mackeras <paulus@samba.org>

%prep
%setup
%patch0 -p1
%patch1 -p1 

%build
make OPTFLAGS="$RPM_OPT_FLAGS"

%install
rm -fr $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir}

%post
%run_ldconfig

%postun
%run_ldconfig

%files
%defattr(-,root,root)
%doc README COPYING
/usr/bin/*
%{_libdir}/lib*

%changelog
openSUSE Build Service is sponsored by