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