source: projects/specs/branches/6/lib/libr/librsync/librsync-vl.spec @ 3738

Revision 3738, 3.9 KB checked in by kudoh, 13 years ago (diff)
Line 
1Summary:        Rsync libraries
2Name:           librsync
3Version:        0.9.7
4Release:        2%{?_dist_release}
5License:        LGPL
6Group:          System Environment/Libraries
7URL:            http://librsync.sourceforge.net/
8Source:         http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
9Patch:          librsync-0.9.7-lfs_overflow.patch
10BuildRequires:  zlib-devel, bzip2-devel, popt, libtool
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12
13%description
14librsync implements the "rsync" algorithm, which allows remote
15differencing of binary files. librsync computes a delta relative to a
16file's checksum, so the two files need not both be present to generate
17a delta.
18
19This library was previously known as libhsync up to version 0.9.0.
20
21The current version of this package does not implement the rsync
22network protocol and uses a delta format slightly more efficient than
23and incompatible with rsync 2.4.6.
24
25%package devel
26Summary:        Headers and development libraries for librsync
27Group:          Development/Libraries
28Requires:       %{name} = %{version}-%{release}
29
30%description devel
31librsync implements the "rsync" algorithm, which allows remote
32differencing of binary files. librsync computes a delta relative to a
33file's checksum, so the two files need not both be present to generate
34a delta.
35
36This library was previously known as libhsync up to version 0.9.0.
37
38The current version of this package does not implement the rsync
39network protocol and uses a delta format slightly more efficient than
40and incompatible with rsync 2.4.6.
41
42This package contains header files necessary for developing programs
43based on librsync.
44
45%prep
46%setup -q
47%patch -p1 -b .lfs_overflow
48
49%build
50autoreconf -f
51libtoolize --copy --force
52
53%configure --enable-shared
54make %{?_smp_mflags}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58%makeinstall
59
60install -D -m 755 .libs/rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff
61rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.{la,a}
62
63%clean
64rm -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.
Note: See TracBrowser for help on using the repository browser.