source: projects/specs/trunk/lib/libr/librsync/librsync-vl.spec @ 8734

Revision 8734, 4.2 KB checked in by kudoh, 10 years ago (diff)

rebuilt & new upstream release

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