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