1 | Summary: Rsync libraries |
---|
2 | Name: librsync |
---|
3 | Version: 0.9.7 |
---|
4 | Release: 2%{?_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 | libtoolize --copy --force |
---|
52 | |
---|
53 | %configure --enable-shared |
---|
54 | make %{?_smp_mflags} |
---|
55 | |
---|
56 | %install |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | %makeinstall |
---|
59 | |
---|
60 | install -D -m 755 .libs/rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff |
---|
61 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{la,a} |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | |
---|
66 | %post -p /sbin/ldconfig |
---|
67 | |
---|
68 | %postun -p /sbin/ldconfig |
---|
69 | |
---|
70 | %files |
---|
71 | %defattr(-,root,root) |
---|
72 | %doc AUTHORS COPYING NEWS README |
---|
73 | %{_libdir}/librsync.so.1* |
---|
74 | %{_bindir}/rdiff |
---|
75 | %{_mandir}/man1/rdiff.1* |
---|
76 | |
---|
77 | %files devel |
---|
78 | %defattr(-,root,root) |
---|
79 | %{_libdir}/librsync.so |
---|
80 | %{_includedir}/* |
---|
81 | %{_mandir}/man3/librsync.3* |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Sat Apr 30 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.7-2 |
---|
85 | - rebuilt with current environment |
---|
86 | - run libtoolize --copy --force |
---|
87 | |
---|
88 | * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.7-1vl5 |
---|
89 | - applied new versioning policy |
---|
90 | |
---|
91 | * Mon Jun 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.7-0vl1 |
---|
92 | - initial build for Vine Linux |
---|
93 | |
---|
94 | * Mon May 07 2007 Robert Scheck <robert@fedoraproject.org> 0.9.7-10 |
---|
95 | - rebuilt |
---|
96 | |
---|
97 | * Thu Dec 14 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-9 |
---|
98 | - removed static library from librsync-devel (#213780) |
---|
99 | |
---|
100 | * Mon Oct 09 2006 Gavin Henry <ghenry@suretecsystems.com> 0.9.7-8 |
---|
101 | - rebuilt |
---|
102 | |
---|
103 | * Tue Oct 03 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-7 |
---|
104 | - rebuilt |
---|
105 | |
---|
106 | * Mon Sep 25 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-6 |
---|
107 | - added an upstream patch to solve a lfs overflow (#207940) |
---|
108 | |
---|
109 | * Wed Sep 20 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-5 |
---|
110 | - some spec file cleanup, added %%{?dist} and rebuild |
---|
111 | |
---|
112 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9.7-4 |
---|
113 | - rebuild on all arches |
---|
114 | |
---|
115 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
116 | - rebuilt |
---|
117 | |
---|
118 | * Sun Jan 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.7-2 |
---|
119 | - Recreate autotools files with autoreconf to fix x86_64 build. |
---|
120 | |
---|
121 | * Wed Nov 10 2004 Adrian Reber <adrian@lisas.de> - 0:0.9.7-0.fdr.1 |
---|
122 | - updated to 0.9.7 (#2248) |
---|
123 | - changed source URL to be downloadable with wget |
---|
124 | |
---|
125 | * Fri Aug 8 2003 Ben Escoto <bescoto@stanford.edu> 0.9.6-0.fdr.3 |
---|
126 | - Build no longer requires GNU tools |
---|
127 | - Install shared library and rdiff executable by default |
---|
128 | |
---|
129 | * Sun Jul 20 2003 Ben Escoto <bescoto@stanford.edu> 0.9.5.1-0.fdr.2 |
---|
130 | - Repackaged Laurent Papier's <papier@sdv.fr> rpm. |
---|