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 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: gettext
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 librsync implements the "rsync" algorithm, which allows remote
18 differencing of binary files. librsync computes a delta relative to a
19 file's checksum, so the two files need not both be present to generate
22 This library was previously known as libhsync up to version 0.9.0.
24 The current version of this package does not implement the rsync
25 network protocol and uses a delta format slightly more efficient than
26 and incompatible with rsync 2.4.6.
29 Summary: Headers and development libraries for librsync
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
34 librsync implements the "rsync" algorithm, which allows remote
35 differencing of binary files. librsync computes a delta relative to a
36 file's checksum, so the two files need not both be present to generate
39 This library was previously known as libhsync up to version 0.9.0.
41 The current version of this package does not implement the rsync
42 network protocol and uses a delta format slightly more efficient than
43 and incompatible with rsync 2.4.6.
45 This package contains header files necessary for developing programs
49 Summary: Static librsync library
50 Summary(pl): Statyczna biblioteka librsync
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}
55 Static librsync library.
57 %description static -l pl
58 Statyczna biblioteka librsync.
66 libtoolize --copy --force
67 gettextize --copy --force
74 %{__make} CFLAGS="%{rpmcflags}"
77 rm -rf $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
82 gzip -9nf AUTHORS NEWS README THANKS TODO
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/rdiff
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
95 %{_mandir}/man1/rdiff.1*
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/lib*.so
100 %attr(755,root,root) %{_libdir}/lib*.la
105 %defattr(644,root,root,755)