File xdelta3.spec of Package xdelta3
#
# spec file for package xdelta3
#
# 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/
#
Name: xdelta3
Version: 3.0.0
Release: 1
Group: Productivity/Archiving/Compression
License: GPL-2.0
BuildRequires: gcc-c++
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://xdelta.org/
Source: xdelta%{version}.tar.bz2
Summary: A diff utility which works with binary files
%description
Xdelta3 is a set of tools designed to compute changes between
binary files. These changes (delta files) are similar to the output of the
"diff" program, in that they may be used to store and transmit only the
changes between files. The "delta files" that Xdelta3 manages are
stored in RFC3284 (VCDIFF) format.
%prep
%setup -n xdelta%{version}
%build
make CFLAGS="$RPM_OPT_FLAGS -Wall -Wshadow -fno-builtin"
%check
make test
%install
%{__strip} %{name}
%{__mkdir} -p $RPM_BUILD_ROOT/%{_bindir}
%{__cp} %{name} $RPM_BUILD_ROOT/%{_bindir}
%files
%defattr(-, root, root)
%doc README COPYING
%{_bindir}/%{name}
%changelog