File dirdiff.spec of Package dirdiff

#
# spec file for package dirdiff (Version 2.1)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         dirdiff
BuildRequires: tcl-devel
Version:      2.1
Release:      1
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
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 5 trees.  It displays a main window with a
list of the files which 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 -n dirdiff
* 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
* Sat Sep 29 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