]> git.pld-linux.org Git - packages/librsync.git/blame - librsync.spec
- rel.5 - support more than 4G
[packages/librsync.git] / librsync.spec
CommitLineData
4aa83a90 1Summary: Rsync libraries
a468bf01 2Summary(pl.UTF-8): Biblioteki rsync
4aa83a90 3Name: librsync
59a07046 4Version: 0.9.7
9c5441f9 5Release: 5
4aa83a90 6License: LGPL
7Group: Libraries
57a1421f 8Source0: http://dl.sourceforge.net/librsync/%{name}-%{version}.tar.gz
59a07046 9# Source0-md5: 24cdb6b78f45e0e83766903fd4f6bc84
0e950cc6 10Patch0: %{name}-link.patch
9c5441f9 11Patch1: %{name}-4Gigbug.patch
57a1421f 12URL: http://librsync.sourceforge.net/
ad3b194d 13BuildRequires: autoconf
14BuildRequires: automake
ad3b194d 15BuildRequires: libtool
a35dda0b 16BuildRequires: popt-devel
4aa83a90 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20librsync implements the "rsync" algorithm, which allows remote
21differencing of binary files. librsync computes a delta relative to a
22file's checksum, so the two files need not both be present to generate
23a delta.
24
25This library was previously known as libhsync up to version 0.9.0.
26
27The current version of this package does not implement the rsync
28network protocol and uses a delta format slightly more efficient than
29and incompatible with rsync 2.4.6.
30
e9170d76
JR
31%description -l pl.UTF-8
32librsync jest implementacją algorytmu rsync, pozwalającego na zdalne
33porównywanie plików binarnych. librsync liczy różnice sum kontrolnych
34plików, więc nie wymaga obecności obu plików do sprawdzenia różnic.
f9dff5ca 35
e9170d76
JR
36Ta biblioteka była wcześniej znana jako libhsync, do wersji 0.9.0
37włącznie.
f9dff5ca 38
e9170d76 39Ta wersja nie ma implementacji sieciowego protokołu rsync i używa
f9dff5ca
JB
40formatu delt nieco wydajniejszego i niekompatybilnego z rsyncem w
41wersji 2.4.6.
42
4aa83a90 43%package devel
f9dff5ca 44Summary: Headers for librsync
a468bf01 45Summary(pl.UTF-8): Pliki nagłówkowe librsync
4aa83a90 46Group: Development/Libraries
a35dda0b 47Requires: %{name} = %{version}-%{release}
4aa83a90 48
49%description devel
4aa83a90 50This package contains header files necessary for developing programs
51based on librsync.
52
e9170d76
JR
53%description devel -l pl.UTF-8
54Ten pakiet zawiera pliki nagłówkowe potrzebne do budowania programów
55używających librsync.
f9dff5ca 56
ad3b194d 57%package static
58Summary: Static librsync library
a468bf01 59Summary(pl.UTF-8): Statyczna biblioteka librsync
ad3b194d 60Group: Development/Libraries
a35dda0b 61Requires: %{name}-devel = %{version}-%{release}
ad3b194d 62
63%description static
64Static librsync library.
65
e9170d76 66%description static -l pl.UTF-8
ad3b194d 67Statyczna biblioteka librsync.
68
4aa83a90 69%prep
70%setup -q
0e950cc6 71%patch0 -p1
9c5441f9 72%patch1 -p1
4aa83a90 73
74%build
b0a9d8c0 75%{__libtoolize}
06df7752 76%{__aclocal}
d4a007cd 77%{__autoconf}
0e950cc6 78%{__autoheader}
d4a007cd 79%{__automake}
4aa83a90 80%configure \
ad3b194d 81 --enable-shared
4aa83a90 82
0e950cc6 83%{__make}
4aa83a90 84
85%install
86rm -rf $RPM_BUILD_ROOT
ad3b194d 87
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
90
4aa83a90 91%clean
92rm -rf $RPM_BUILD_ROOT
93
ad3b194d 94%post -p /sbin/ldconfig
4aa83a90 95%postun -p /sbin/ldconfig
96
97%files
98%defattr(644,root,root,755)
69637716 99%doc AUTHORS NEWS README THANKS TODO
ad3b194d 100%attr(755,root,root) %{_bindir}/rdiff
9c5441f9
PG
101%attr(755,root,root) %{_libdir}/librsync.so.*.*
102%attr(755,root,root) %ghost %{_libdir}/librsync.so.1
ad3b194d 103%{_mandir}/man1/rdiff.1*
4aa83a90 104
105%files devel
106%defattr(644,root,root,755)
ad3b194d 107%attr(755,root,root) %{_libdir}/lib*.so
4e11041c 108%{_libdir}/lib*.la
4aa83a90 109%{_includedir}/*
ad3b194d 110%{_mandir}/man3/*
111
112%files static
113%defattr(644,root,root,755)
114%{_libdir}/lib*.a
This page took 0.113149 seconds and 4 git commands to generate.