File librsync.spec of Package librsync

# spec file for package librsync (Version 0.9.7)
# 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

# norootforbuild

Name:           librsync
BuildRequires:  libbz2-devel popt-devel zlib-devel
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
AutoReqProv:    on
Summary:        A Library for Generating Network Deltas
Version:        0.9.7
Release:        169
Patch0:         %{name}-%{version}-strictalias.diff
Patch1:         librsync-0.9.7-largefiles.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

librsync implements the "rsync" algorithm, which allows remote
differencing of binary files.  librsync computes a delta relative to a
file's checksum, so the two files need not both be present to generate
a delta.

    Martin Pool <>
    Andrew Tridgell <>
    Donovan Baarda <>

%setup -q

autoreconf -fi
%configure --enable-shared --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%{__rm} %{buildroot}%{_libdir}/

%{__rm} -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


* Sun Sep 02 2007
- library was unable to handle files larger than 4GB properly (librsync-0.9.7-largefiles.patch)
- fix build dependencies
* Sun Aug 26 2007
- spec cleanup
- stop using bundled popt library, use system one
- enable shared library
- disable static library
- remove libtool archive
* Sat Mar 24 2007
- add libbz2-devel and zlib-devel BuildRequires
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Wed Sep 14 2005
- specfile cleanup
* Thu Apr 14 2005
- update to 0.9.7
* Fri Feb 06 2004
- Fix strict aliasing issues.
* Sat Jan 10 2004
- build as user
* Sun Aug 17 2003
- Reenable installation of rdiff tool.
- Update to 0.9.6:
  * Large file support fixes.
  * [v]snprintf or _[v]snprintf autoconf replacement function fix.
  * Changed installed include file from rsync.h to librsync.h.
  * Rollsum bugfix that produces much smaller deltas.
  * Memory leaks bugfix patches.
  * mdfour bigendian and >512M bugfix, plus optimisations patch.
  * autoconf/automake updates and cleanups for autoconf 2.53.
* Fri Aug 16 2002
- removed empty post/postun scripts (#17922)
* Tue Jan 29 2002
- Build with -fPIC so that it can be included in a shared library.
- Fix unaligned accesses.
* Tue Jan 29 2002
- Fix building for s390x by using %%{_libdir}
* Fri Jan 18 2002
- Update to 0.9.5 (moved from to sourceforge apparently)
* Thu Jan 17 2002
- Initial creation of package (0.9.3)
openSUSE Build Service is sponsored by