1 | Summary: Rsync libraries |
---|
2 | Name: librsync |
---|
3 | Version: 0.9.7 |
---|
4 | Release: 3%{?_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 | Patch0: librsync-0.9.7-lfs_overflow.patch |
---|
10 | Patch1: librsync-0.9.7-getopt.patch |
---|
11 | Patch2: librsync-0.9.7-man_pages.patch |
---|
12 | Patch3: librsync-0.9.7-format-security.patch |
---|
13 | BuildRequires: zlib-devel, bzip2-devel, popt, libtool |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
15 | |
---|
16 | %description |
---|
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 |
---|
20 | a delta. |
---|
21 | |
---|
22 | This library was previously known as libhsync up to version 0.9.0. |
---|
23 | |
---|
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. |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Headers and development libraries for librsync |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | |
---|
33 | %description devel |
---|
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 |
---|
37 | a delta. |
---|
38 | |
---|
39 | This library was previously known as libhsync up to version 0.9.0. |
---|
40 | |
---|
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. |
---|
44 | |
---|
45 | This package contains header files necessary for developing programs |
---|
46 | based on librsync. |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q |
---|
50 | %patch0 -p1 -b .lfs_overflow |
---|
51 | %patch1 -p1 -b .getopt |
---|
52 | %patch2 -p1 -b .man_pages |
---|
53 | %patch3 -p1 -b .format-security |
---|
54 | |
---|
55 | %build |
---|
56 | autoreconf -f -i |
---|
57 | libtoolize --copy --force |
---|
58 | |
---|
59 | %configure --enable-shared |
---|
60 | make %{?_smp_mflags} |
---|
61 | |
---|
62 | %install |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | %makeinstall |
---|
65 | |
---|
66 | install -D -m 755 .libs/rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff |
---|
67 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{la,a} |
---|
68 | |
---|
69 | %clean |
---|
70 | rm -rf $RPM_BUILD_ROOT |
---|
71 | |
---|
72 | %post -p /sbin/ldconfig |
---|
73 | |
---|
74 | %postun -p /sbin/ldconfig |
---|
75 | |
---|
76 | %files |
---|
77 | %defattr(-,root,root) |
---|
78 | %doc AUTHORS COPYING NEWS README |
---|
79 | %{_libdir}/librsync.so.1* |
---|
80 | %{_bindir}/rdiff |
---|
81 | %{_mandir}/man1/rdiff.1* |
---|
82 | |
---|
83 | %files devel |
---|
84 | %defattr(-,root,root) |
---|
85 | %{_libdir}/librsync.so |
---|
86 | %{_includedir}/* |
---|
87 | %{_mandir}/man3/librsync.3* |
---|
88 | |
---|
89 | %changelog |
---|
90 | * Fri Jul 04 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.7-3 |
---|
91 | - rebuilt with current environment |
---|
92 | - added Patch1,2,3 from Fedora rawhide |
---|
93 | |
---|
94 | * Sat Apr 30 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.7-2 |
---|
95 | - rebuilt with current environment |
---|
96 | - run libtoolize --copy --force |
---|
97 | |
---|
98 | * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.7-1vl5 |
---|
99 | - applied new versioning policy |
---|
100 | |
---|
101 | * Mon Jun 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.7-0vl1 |
---|
102 | - initial build for Vine Linux |
---|
103 | |
---|
104 | * Mon May 07 2007 Robert Scheck <robert@fedoraproject.org> 0.9.7-10 |
---|
105 | - rebuilt |
---|
106 | |
---|
107 | * Thu Dec 14 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-9 |
---|
108 | - removed static library from librsync-devel (#213780) |
---|
109 | |
---|
110 | * Mon Oct 09 2006 Gavin Henry <ghenry@suretecsystems.com> 0.9.7-8 |
---|
111 | - rebuilt |
---|
112 | |
---|
113 | * Tue Oct 03 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-7 |
---|
114 | - rebuilt |
---|
115 | |
---|
116 | * Mon Sep 25 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-6 |
---|
117 | - added an upstream patch to solve a lfs overflow (#207940) |
---|
118 | |
---|
119 | * Wed Sep 20 2006 Robert Scheck <robert@fedoraproject.org> 0.9.7-5 |
---|
120 | - some spec file cleanup, added %%{?dist} and rebuild |
---|
121 | |
---|
122 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9.7-4 |
---|
123 | - rebuild on all arches |
---|
124 | |
---|
125 | * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
126 | - rebuilt |
---|
127 | |
---|
128 | * Sun Jan 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.7-2 |
---|
129 | - Recreate autotools files with autoreconf to fix x86_64 build. |
---|
130 | |
---|
131 | * Wed Nov 10 2004 Adrian Reber <adrian@lisas.de> - 0:0.9.7-0.fdr.1 |
---|
132 | - updated to 0.9.7 (#2248) |
---|
133 | - changed source URL to be downloadable with wget |
---|
134 | |
---|
135 | * Fri Aug 8 2003 Ben Escoto <bescoto@stanford.edu> 0.9.6-0.fdr.3 |
---|
136 | - Build no longer requires GNU tools |
---|
137 | - Install shared library and rdiff executable by default |
---|
138 | |
---|
139 | * Sun Jul 20 2003 Ben Escoto <bescoto@stanford.edu> 0.9.5.1-0.fdr.2 |
---|
140 | - Repackaged Laurent Papier's <papier@sdv.fr> rpm. |
---|