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