]>
Commit | Line | Data |
---|---|---|
4aa83a90 | 1 | Summary: Rsync libraries |
a468bf01 | 2 | Summary(pl.UTF-8): Biblioteki rsync |
4aa83a90 | 3 | Name: librsync |
59a07046 | 4 | Version: 0.9.7 |
07f536ae | 5 | Release: 6 |
4aa83a90 | 6 | License: LGPL |
7 | Group: Libraries | |
57a1421f | 8 | Source0: http://dl.sourceforge.net/librsync/%{name}-%{version}.tar.gz |
59a07046 | 9 | # Source0-md5: 24cdb6b78f45e0e83766903fd4f6bc84 |
0e950cc6 | 10 | Patch0: %{name}-link.patch |
9c5441f9 | 11 | Patch1: %{name}-4Gigbug.patch |
07f536ae | 12 | Patch2: format-security.patch |
57a1421f | 13 | URL: http://librsync.sourceforge.net/ |
ad3b194d | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
ad3b194d | 16 | BuildRequires: libtool |
a35dda0b | 17 | BuildRequires: popt-devel |
4aa83a90 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | librsync implements the "rsync" algorithm, which allows remote | |
22 | differencing of binary files. librsync computes a delta relative to a | |
23 | file's checksum, so the two files need not both be present to generate | |
24 | a delta. | |
25 | ||
26 | This library was previously known as libhsync up to version 0.9.0. | |
27 | ||
28 | The current version of this package does not implement the rsync | |
29 | network protocol and uses a delta format slightly more efficient than | |
30 | and incompatible with rsync 2.4.6. | |
31 | ||
e9170d76 JR |
32 | %description -l pl.UTF-8 |
33 | librsync jest implementacją algorytmu rsync, pozwalającego na zdalne | |
34 | porównywanie plików binarnych. librsync liczy różnice sum kontrolnych | |
35 | plików, więc nie wymaga obecności obu plików do sprawdzenia różnic. | |
f9dff5ca | 36 | |
e9170d76 JR |
37 | Ta biblioteka była wcześniej znana jako libhsync, do wersji 0.9.0 |
38 | włącznie. | |
f9dff5ca | 39 | |
e9170d76 | 40 | Ta wersja nie ma implementacji sieciowego protokołu rsync i używa |
f9dff5ca JB |
41 | formatu delt nieco wydajniejszego i niekompatybilnego z rsyncem w |
42 | wersji 2.4.6. | |
43 | ||
4aa83a90 | 44 | %package devel |
f9dff5ca | 45 | Summary: Headers for librsync |
a468bf01 | 46 | Summary(pl.UTF-8): Pliki nagłówkowe librsync |
4aa83a90 | 47 | Group: Development/Libraries |
a35dda0b | 48 | Requires: %{name} = %{version}-%{release} |
4aa83a90 | 49 | |
50 | %description devel | |
4aa83a90 | 51 | This package contains header files necessary for developing programs |
52 | based on librsync. | |
53 | ||
e9170d76 JR |
54 | %description devel -l pl.UTF-8 |
55 | Ten pakiet zawiera pliki nagłówkowe potrzebne do budowania programów | |
56 | używających librsync. | |
f9dff5ca | 57 | |
ad3b194d | 58 | %package static |
59 | Summary: Static librsync library | |
a468bf01 | 60 | Summary(pl.UTF-8): Statyczna biblioteka librsync |
ad3b194d | 61 | Group: Development/Libraries |
a35dda0b | 62 | Requires: %{name}-devel = %{version}-%{release} |
ad3b194d | 63 | |
64 | %description static | |
65 | Static librsync library. | |
66 | ||
e9170d76 | 67 | %description static -l pl.UTF-8 |
ad3b194d | 68 | Statyczna 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 | |
88 | rm -rf $RPM_BUILD_ROOT | |
ad3b194d | 89 | |
90 | %{__make} install \ | |
91 | DESTDIR=$RPM_BUILD_ROOT | |
92 | ||
4aa83a90 | 93 | %clean |
94 | rm -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 |