From: areq Date: Wed, 15 May 2002 11:13:27 +0000 (+0000) Subject: - Init PLD spec X-Git-Tag: librsync-0_9_5-1~2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4aa83a909aa600c516fcf54f9188bda562e9137f;p=packages%2Flibrsync.git - Init PLD spec Changed files: librsync.spec -> 1.1 --- 4aa83a909aa600c516fcf54f9188bda562e9137f diff --git a/librsync.spec b/librsync.spec new file mode 100644 index 0000000..2b3c460 --- /dev/null +++ b/librsync.spec @@ -0,0 +1,84 @@ +Summary: Rsync libraries +Name: librsync +Version: 0.9.5 +Release: 1 +License: LGPL +Group: Libraries +Source0: http://ftp1.sourceforge.net/rproxy/%{name}-%{version}.tar.gz +URL: http://www.sf.net/projects/rproxy +Patch0: %{name}-am.patch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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 -q +%patch0 -p1 + +%build +rm -f missing +libtoolize --copy --force +gettextize --copy --force +aclocal +autoconf +automake -a -c + +%configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir}/ + +%{__make} CFLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} DESTDIR=$RPM_BUILD_ROOT install +gzip -9nf AUTHORS COPYING NEWS README + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/rdiff +%{_mandir}/man1/rdiff.1.gz +%doc *.gz + +%files devel +%defattr(644,root,root,755) +%{_includedir}/* +%{_libdir}/librsync.* +%{_mandir}/man3/librsync.3.gz