]> git.pld-linux.org Git - packages/librsync.git/blob - librsync.spec
- rel.5 - support more than 4G
[packages/librsync.git] / librsync.spec
1 Summary:        Rsync libraries
2 Summary(pl.UTF-8):      Biblioteki rsync
3 Name:           librsync
4 Version:        0.9.7
5 Release:        5
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/librsync/%{name}-%{version}.tar.gz
9 # Source0-md5:  24cdb6b78f45e0e83766903fd4f6bc84
10 Patch0:         %{name}-link.patch
11 Patch1:         %{name}-4Gigbug.patch
12 URL:            http://librsync.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  popt-devel
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
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.
35
36 Ta biblioteka była wcześniej znana jako libhsync, do wersji 0.9.0
37 włącznie.
38
39 Ta wersja nie ma implementacji sieciowego protokołu rsync i używa
40 formatu delt nieco wydajniejszego i niekompatybilnego z rsyncem w
41 wersji 2.4.6.
42
43 %package devel
44 Summary:        Headers for librsync
45 Summary(pl.UTF-8):      Pliki nagłówkowe librsync
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48
49 %description devel
50 This package contains header files necessary for developing programs
51 based on librsync.
52
53 %description devel -l pl.UTF-8
54 Ten pakiet zawiera pliki nagłówkowe potrzebne do budowania programów
55 używających librsync.
56
57 %package static
58 Summary:        Static librsync library
59 Summary(pl.UTF-8):      Statyczna biblioteka librsync
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static librsync library.
65
66 %description static -l pl.UTF-8
67 Statyczna biblioteka librsync.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72 %patch1 -p1
73
74 %build
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__autoheader}
79 %{__automake}
80 %configure \
81         --enable-shared
82
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89          DESTDIR=$RPM_BUILD_ROOT
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc AUTHORS NEWS README THANKS TODO
100 %attr(755,root,root) %{_bindir}/rdiff
101 %attr(755,root,root) %{_libdir}/librsync.so.*.*
102 %attr(755,root,root) %ghost %{_libdir}/librsync.so.1
103 %{_mandir}/man1/rdiff.1*
104
105 %files devel
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_libdir}/lib*.la
109 %{_includedir}/*
110 %{_mandir}/man3/*
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.028352 seconds and 3 git commands to generate.