rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] spec changes for librsync on Rh 7.3


From: Joe Cooper
Subject: [rdiff-backup-users] spec changes for librsync on Rh 7.3
Date: Fri, 27 Sep 2002 02:32:00 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Hi Ben and all,

I've just had to rebuild the librsync-0.9.5.1 RPM on my Red Hat 7.3 box, and ran into autotools incompatibilities. I thought I'd share my changes in case anyone else hit it and didn't know about the incompatible changes in newer versions of the autotools.

In librsync.spec the %build section ought to have explicity versions added to the autocommands, like so:

aclocal-1.4
autoheader-2.13
automake-1.4 Makefile popt/Makefile
autoconf-2.13

I've attached my spec, which just built and installed ok, and allowed me to rebuild and install rdiff-backup against it. I haven't tested it to make sure it actually works yet, though.

BTW-Ben, the RPM of librsync on the website has an extraneous dependency, I think, for 'libgdk...something-or-other'. Not sure where it came from. I couldn't install the package without errors on either a 7.2 or 7.3 machine without a rebuild.

BTW2-As always, thanks for a great tool, Ben!
--
Joe Cooper <address@hidden>
Web caching appliances and support.
http://www.swelltech.com
Summary:        Rsync libraries
Name:           librsync
Version:        0.9.5.1
Release:        2
Copyright:      LGPL
Group:          System Environment/Libraries
Source:         
http://prdownloads.sourceforge.net/rproxy/librsync-0.9.5.1.tar.gz
URL:            http://www.sf.net/projects/rproxy
BuildRoot:      %{_tmppath}/%{name}-%{version}-root

%description
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.

This library was previously known as libhsync up to version 0.9.0.

The current version of this package does not implement the rsync
network protocol and uses a delta format slightly more efficient than
and incompatible with rsync 2.4.6.

%package devel
Summary: Headers and development libraries for librsync
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
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.

This library was previously known as libhsync up to version 0.9.0.

The current version of this package does not implement the rsync
network protocol and uses a delta format slightly more efficient than
and incompatible with rsync 2.4.6.

This package contains header files necessary for developing programs
based on librsync.

%prep 
%setup
# The next line is only needed if there are any non-upstream patches.  In
# this distribution there are none.
#%patch 
%build
libtoolize --force
aclocal-1.4
autoheader-2.13
automake-1.4 Makefile popt/Makefile
autoconf-2.13
./configure --prefix=/usr --mandir=/usr/share/man/
make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
make  DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING NEWS README
%{_libdir}/librsync.so*
%{_bindir}/rdiff
%{_mandir}/man3/librsync.3.gz
%{_mandir}/man1/rdiff.1.gz

%files devel
%defattr(-,root,root)
%{_prefix}/include/*
%{_libdir}/librsync.a
%{_libdir}/librsync.la

%changelog

reply via email to

[Prev in Thread] Current Thread [Next in Thread]