1 Summary: Rsync libraries
7 Source0: http://ftp1.sourceforge.net/rproxy/%{name}-%{version}.tar.gz
8 URL: http://www.sf.net/projects/rproxy
9 Patch0: %{name}-am.patch
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 librsync implements the "rsync" algorithm, which allows remote
14 differencing of binary files. librsync computes a delta relative to a
15 file's checksum, so the two files need not both be present to generate
18 This library was previously known as libhsync up to version 0.9.0.
20 The current version of this package does not implement the rsync
21 network protocol and uses a delta format slightly more efficient than
22 and incompatible with rsync 2.4.6.
25 Summary: Headers and development libraries for librsync
26 Group: Development/Libraries
27 Requires: %{name} = %{version}
30 librsync implements the "rsync" algorithm, which allows remote
31 differencing of binary files. librsync computes a delta relative to a
32 file's checksum, so the two files need not both be present to generate
35 This library was previously known as libhsync up to version 0.9.0.
37 The current version of this package does not implement the rsync
38 network protocol and uses a delta format slightly more efficient than
39 and incompatible with rsync 2.4.6.
41 This package contains header files necessary for developing programs
50 libtoolize --copy --force
51 gettextize --copy --force
60 %{__make} CFLAGS="%{rpmcflags}"
63 rm -rf $RPM_BUILD_ROOT
64 %{__make} DESTDIR=$RPM_BUILD_ROOT install
65 gzip -9nf AUTHORS COPYING NEWS README
68 rm -rf $RPM_BUILD_ROOT
70 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/rdiff
77 %{_mandir}/man1/rdiff.1.gz
81 %defattr(644,root,root,755)
84 %{_mandir}/man3/librsync.3.gz