File dirdiff.spec of Package dirdiff

#
# spec file for package dirdiff (Version 2.1)
#
# Copyright (c) 2009 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
Version:        2.1
Release:        139
Source:         ftp://pserver.samba.org/pub/paulus/dirdiff-%{version}.tar.gz
Patch0:         dirdiff.patch
Patch1:         dirdiff.uninitialized.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
License:        GPL v2 or later
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
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue May 24 2005 olh@suse.de
- update to version 2.1
* Wed Jan 26 2005 meissner@suse.de
- RPM_OPT_FLAGS added, fixed warnings.
* Thu Nov 11 2004 ro@suse.de
- fixed file list
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr and %%run_ldconfig
* Tue Apr 23 2002 olh@suse.de
- update to 1.6
  add -fPIC to compile flags
* Sun Feb 17 2002 olh@suse.de
- add Xorg and XFree86 to list of rcs tags
* Sat Jan 19 2002 olh@suse.de
- update to current version
  lib64 clean
* Fri Sep 28 2001 olh@suse.de
- bugfix to diff files in the toplevel directory
  fix two other bugletts
* Tue Aug 28 2001 olh@suse.de
- update to 1.5
* Sat Jun 16 2001 olh@suse.de
- update to 1.2
  add support for BK tags
* Thu Jun 14 2001 olh@suse.de
- initial release 1.1
openSUSE Build Service is sponsored by