[521] | 1 | Summary: Rsync libraries |
---|
| 2 | Name: librsync |
---|
| 3 | Version: 0.9.7 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: LGPL |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | URL: http://librsync.sourceforge.net/ |
---|
| 8 | Source: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz |
---|
| 9 | Patch: librsync-0.9.7-lfs_overflow.patch |
---|
| 10 | BuildRequires: zlib-devel, bzip2-devel, popt, libtool |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | |
---|
| 13 | %description |
---|
| 14 | librsync implements the "rsync" algorithm, which allows remote |
---|
| 15 | differencing of binary files. librsync computes a delta relative to a |
---|
| 16 | file's checksum, so the two files need not both be present to generate |
---|
| 17 | a delta. |
---|
| 18 | |
---|
| 19 | This library was previously known as libhsync up to version 0.9.0. |
---|
| 20 | |
---|
| 21 | The current version of this package does not implement the rsync |
---|
| 22 | network protocol and uses a delta format slightly more efficient than |
---|
| 23 | and incompatible with rsync 2.4.6. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Headers and development libraries for librsync |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | |
---|
| 30 | %description devel |
---|
| 31 | librsync implements the "rsync" algorithm, which allows remote |
---|
| 32 | differencing of binary files. librsync computes a delta relative to a |
---|
| 33 | file's checksum, so the two files need not both be present to generate |
---|
| 34 | a delta. |
---|
| 35 | |
---|
| 36 | This library was previously known as libhsync up to version 0.9.0. |
---|
| 37 | |
---|
| 38 | The current version of this package does not implement the rsync |
---|
| 39 | network protocol and uses a delta format slightly more efficient than |
---|
| 40 | and incompatible with rsync 2.4.6. |
---|
| 41 | |
---|
| 42 | This package contains header files necessary for developing programs |
---|
| 43 | based on librsync. |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q |
---|
| 47 | %patch -p1 -b .lfs_overflow |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | autoreconf -f |
---|
| 51 | %configure --enable-shared |
---|
| 52 | make %{?_smp_mflags} |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | %makeinstall |
---|
| 57 | |
---|
| 58 | install -D -m 755 .libs/rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff |
---|
| 59 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{la,a} |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | |
---|
| 64 | %post -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %postun -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | %files |
---|
| 69 | %defattr(-,root,root) |
---|
| 70 | %doc AUTHORS COPYING NEWS README |
---|
| 71 | %{_libdir}/librsync.so.1* |
---|
| 72 | %{_bindir}/rdiff |
---|
| 73 | %{_mandir}/man1/rdiff.1* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
| 76 | %defattr(-,root,root) |
---|
| 77 | %{_libdir}/librsync.so |
---|
| 78 | %{_includedir}/* |
---|
| 79 | %{_mandir}/man3/librsync.3* |
---|
| 80 | |
---|
| 81 | %changelog |
---|
| 82 | * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.7-1vl5 |
---|
| 83 | - applied new versioning policy |
---|
| 84 | |
---|
| 85 | * Mon Jun 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.7-0vl1 |
---|
| 86 | - initial build for Vine Linux |
---|
| 87 | |
---|
| 88 | * Mon May 07 2007 Robert Scheck <robert@fedoraproject.org> 0.9.7-10 |
---|
| 89 | - rebuilt |
---|
| 90 | |
---|
| 91 | * Thu Dec 14 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-9 |
---|
| 92 | - removed static library from librsync-devel (#213780) |
---|
| 93 | |
---|
| 94 | * Mon Oct 09 2006 Gavin Henry <ghenry@suretecsystems.com> 0.9.7-8 |
---|
| 95 | - rebuilt |
---|
| 96 | |
---|
| 97 | * Tue Oct 03 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-7 |
---|
| 98 | - rebuilt |
---|
| 99 | |
---|
| 100 | * Mon Sep 25 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-6 |
---|
| 101 | - added an upstream patch to solve a lfs overflow (#207940) |
---|
| 102 | |
---|
| 103 | * Wed Sep 20 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-5 |
---|
| 104 | - some spec file cleanup, added %%{?dist} and rebuild |
---|
| 105 | |
---|
| 106 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9.7-4 |
---|
| 107 | - rebuild on all arches |
---|
| 108 | |
---|
| 109 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
| 110 | - rebuilt |
---|
| 111 | |
---|
| 112 | * Sun Jan 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.7-2 |
---|
| 113 | - Recreate autotools files with autoreconf to fix x86_64 build. |
---|
| 114 | |
---|
| 115 | * Wed Nov 10 2004 Adrian Reber <adrian@lisas.de> - 0:0.9.7-0.fdr.1 |
---|
| 116 | - updated to 0.9.7 (#2248) |
---|
| 117 | - changed source URL to be downloadable with wget |
---|
| 118 | |
---|
| 119 | * Fri Aug 8 2003 Ben Escoto <bescoto@stanford.edu> 0.9.6-0.fdr.3 |
---|
| 120 | - Build no longer requires GNU tools |
---|
| 121 | - Install shared library and rdiff executable by default |
---|
| 122 | |
---|
| 123 | * Sun Jul 20 2003 Ben Escoto <bescoto@stanford.edu> 0.9.5.1-0.fdr.2 |
---|
| 124 | - Repackaged Laurent Papier's <papier@sdv.fr> rpm. |
---|