File xdelta3.spec of Package xdelta
#
# spec file for package xdelta3
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009-2014 Ákos Szőts <szotsaki@gmail.com>
#
# 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.8
Release: 0
Summary: Binary Diff and Compressor
License: GPL-2.0+
Group: Development/Tools/Other
Url: https://code.google.com/p/xdelta/
Source: https://xdelta.googlecode.com/files/%{name}-%{version}.tar.xz
BuildRequires: aaa_base
BuildRequires: acl
BuildRequires: attr
BuildRequires: audit-libs
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: binutils
BuildRequires: brp-check-suse
BuildRequires: build
BuildRequires: build-mkbaselibs
BuildRequires: cpp
BuildRequires: cracklib
BuildRequires: cvs
BuildRequires: file
BuildRequires: filesystem
BuildRequires: fillup
BuildRequires: gdbm
BuildRequires: gettext-runtime
BuildRequires: gettext-tools
BuildRequires: glibc
BuildRequires: glibc-devel
BuildRequires: glibc-locale
BuildRequires: groff
BuildRequires: insserv
BuildRequires: less
BuildRequires: libacl
BuildRequires: libattr
BuildRequires: libncurses5
BuildRequires: libreadline5
BuildRequires: libselinux1
BuildRequires: libtool
BuildRequires: libuuid1
BuildRequires: libzio
BuildRequires: linux-kernel-headers
BuildRequires: login
BuildRequires: m4
BuildRequires: man
BuildRequires: net-tools
BuildRequires: netcfg
BuildRequires: pam
BuildRequires: pam-modules
BuildRequires: perl
BuildRequires: perl-base
BuildRequires: permissions
BuildRequires: popt
BuildRequires: post-build-checks
BuildRequires: psmisc
BuildRequires: terminfo-base
BuildRequires: texinfo
BuildRequires: timezone
BuildRequires: util-linux
BuildRequires: zlib
BuildRequires: pkgconfig(bzip2)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Xdelta is a tool and library for differential compression, VCDIFF encoding and decoding and compressing 64 bit files.
Supports binary diff, it is fast and does not require huge memory even for big files.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags} xdelta3
strip --strip-unneeded xdelta3
chmod 644 README COPYING
%install
mkdir -p %{buildroot}%{_bindir}
install xdelta3 %{buildroot}%{_bindir}/xdelta3 -m755
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/xdelta3
%changelog