File delta.spec of Package delta

#
# spec file for package delta (Version 2006.08.03)
#
# 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:           delta
Url:            http://delta.tigris.org/
License:        BSD 3-Clause
Group:          Development/Tools/Other
AutoReqProv:    on
Version:        2006.08.03
Release:        74
Summary:        Minimize files to interesting parts
PreReq:         %{install_info_prereq}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         %{name}-%{version}.tar.bz2
Patch:          delta-documentation.patch

%description
Delta assists you in minimizing "interesting" files subject to a test
of their interestingness. A common such situation is when attempting to
isolate a small failure-inducing substring of a large input that causes
your program to exhibit a bug. Please see
/usr/share/doc/packages/delta/www/using_delta.html for documentation.



Authors:
--------
    Daniel S. Wilkerson <dsw@cs.berkeley.edu>
    Scott McPeak <smcpeak@cs.berkeley.edu>

%prep
%setup -q
%patch
find . -type f -print0|xargs -0 chmod -x
chmod +x delta multidelta test1_multidelta/testit test1_multidelta/trivtest test0_delta/hello.test

%build
make CFLAGS="%optflags"

%install
mkdir -p %buildroot/usr/bin
install delta multidelta topformflat %buildroot/usr/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%%doc Readme www
%{_bindir}/delta
%{_bindir}/multidelta
%{_bindir}/topformflat

%changelog
* Fri Aug 03 2007 dmueller@suse.de
- update to 2006.08.03:
  * listens to signals from the test script now
  * tests delta_stop marker more often
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 23 2005 pth@suse.de
- Small fixes for the documentation.
* Wed Nov 23 2005 pth@suse.de
- Initial package creation.