]> git.pld-linux.org Git - packages/librsync.git/blame - librsync.spec
- Init PLD spec
[packages/librsync.git] / librsync.spec
CommitLineData
4aa83a90 1Summary: Rsync libraries
2Name: librsync
3Version: 0.9.5
4Release: 1
5License: LGPL
6Group: Libraries
7Source0: http://ftp1.sourceforge.net/rproxy/%{name}-%{version}.tar.gz
8URL: http://www.sf.net/projects/rproxy
9Patch0: %{name}-am.patch
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12%description
13librsync implements the "rsync" algorithm, which allows remote
14differencing of binary files. librsync computes a delta relative to a
15file's checksum, so the two files need not both be present to generate
16a delta.
17
18This library was previously known as libhsync up to version 0.9.0.
19
20The current version of this package does not implement the rsync
21network protocol and uses a delta format slightly more efficient than
22and incompatible with rsync 2.4.6.
23
24%package devel
25Summary: Headers and development libraries for librsync
26Group: Development/Libraries
27Requires: %{name} = %{version}
28
29%description devel
30librsync implements the "rsync" algorithm, which allows remote
31differencing of binary files. librsync computes a delta relative to a
32file's checksum, so the two files need not both be present to generate
33a delta.
34
35This library was previously known as libhsync up to version 0.9.0.
36
37The current version of this package does not implement the rsync
38network protocol and uses a delta format slightly more efficient than
39and incompatible with rsync 2.4.6.
40
41This package contains header files necessary for developing programs
42based on librsync.
43
44%prep
45%setup -q
46%patch0 -p1
47
48%build
49rm -f missing
50libtoolize --copy --force
51gettextize --copy --force
52aclocal
53autoconf
54automake -a -c
55
56%configure \
57 --prefix=%{_prefix} \
58 --mandir=%{_mandir}/
59
60%{__make} CFLAGS="%{rpmcflags}"
61
62%install
63rm -rf $RPM_BUILD_ROOT
64%{__make} DESTDIR=$RPM_BUILD_ROOT install
65gzip -9nf AUTHORS COPYING NEWS README
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post -p /sbin/ldconfig
71
72%postun -p /sbin/ldconfig
73
74%files
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/rdiff
77%{_mandir}/man1/rdiff.1.gz
78%doc *.gz
79
80%files devel
81%defattr(644,root,root,755)
82%{_includedir}/*
83%{_libdir}/librsync.*
84%{_mandir}/man3/librsync.3.gz
This page took 0.038603 seconds and 4 git commands to generate.