Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b8c7aef5365f467b98e6ce30a6c3d1ff > files > 4

librsync-0.9.7-9.mga3.src.rpm

%define	major	1
%define libname	%mklibname rsync %{major}
%define develname %mklibname -d rsync

Summary:	Rsync libraries
Name:		librsync
Version:	0.9.7
Release:	%mkrel 9
License:	LGPL
Group:		System/Libraries
URL:		http://librsync.sourceforge.net/
Source0:	http://downloads.sourceforge.net/librsync/%{name}-%{version}.tar.bz2
Patch0:		librsync-0.9.7-4Gig.patch
Patch1:		librsync-0.9.7-fix-str-fmt.patch

%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 -n	%{libname}
Summary:	Rsync libraries
Group:		System/Libraries

%description -n	%{libname}
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 -n	%{develname}
Summary:	Headers for librsync
Group:		Development/C
Requires:	%{libname} = %{version}
Provides:	librsync-devel = %{version}-%{release}
Obsoletes:	%{_lib}rsync1-devel < 0.9.7-6

%description -n		%{develname}
This package contains header files necessary for developing
programs based on librsync.

%package -n	rdiff
Summary:	Compute and apply signature-based file differences
Group:		System/Servers
Requires:	%{libname} = %{version}

%description -n	rdiff
Compute and apply signature-based file differences.

%prep
%setup -q
%patch0 -p1
%patch1 -p0

%build
%configure2_5x \
    --enable-shared \
    --disable-static

%make

%install
%makeinstall_std
rm -f %{buildroot}%{_libdir}/*.la

%files -n %{libname}
%doc AUTHORS NEWS README THANKS
%{_libdir}/librsync.so.%{major}*

%files -n %{develname}
%doc TODO
%{_libdir}/librsync.so
%{_includedir}/*
%{_mandir}/man3/*

%files -n rdiff
%{_bindir}/rdiff
%{_mandir}/man1/rdiff.1*


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.9.7-9.mga3
+ Revision: 358120
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Oct 15 2012 fwang <fwang> 0.9.7-8.mga3
+ Revision: 305819
- cleanup spec

* Thu Feb 24 2011 philippem <philippem> 0.9.7-8.mga1
+ Revision: 58322
- imported package librsync