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