]> git.pld-linux.org Git - packages/librsync.git/blob - librsync.spec
e6c1a5c267fe2474e5a1b798c814f75c69515264
[packages/librsync.git] / librsync.spec
1 Summary:        Rsync libraries
2 Summary(pl):    Biblioteki rsync
3 Name:           librsync
4 Version:        0.9.6
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/librsync/%{name}-%{version}.tar.gz
9 # Source0-md5:  b2e7fb16f1e8f66f8397928dcc0436c8
10 URL:            http://librsync.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 librsync implements the "rsync" algorithm, which allows remote
18 differencing of binary files. librsync computes a delta relative to a
19 file's checksum, so the two files need not both be present to generate
20 a delta.
21
22 This library was previously known as libhsync up to version 0.9.0.
23
24 The current version of this package does not implement the rsync
25 network protocol and uses a delta format slightly more efficient than
26 and incompatible with rsync 2.4.6.
27
28 %description -l pl
29 librsync jest implementacj± algorytmu rsync, pozwalaj±cego na zdalne
30 porównywanie plików binarnych. librsync liczy ró¿nice sum kontrolnych
31 plików, wiêc nie wymaga obecno¶ci obu plików do sprawdzenia ró¿nic.
32
33 Ta biblioteka by³a wcze¶niej znana jako libhsync, do wersji 0.9.0
34 w³±cznie.
35
36 Ta wersja nie ma implementacji sieciowego protoko³u rsync i u¿ywa
37 formatu delt nieco wydajniejszego i niekompatybilnego z rsyncem w
38 wersji 2.4.6.
39
40 %package devel
41 Summary:        Headers for librsync
42 Summary(pl):    Pliki nag³ówkowe librsync
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}
45
46 %description devel
47 This package contains header files necessary for developing programs
48 based on librsync.
49
50 %description devel -l pl
51 Ten pakiet zawiera pliki nag³ówkowe potrzebne do budowania programów
52 u¿ywajacych librsync.
53
54 %package static
55 Summary:        Static librsync library
56 Summary(pl):    Statyczna biblioteka librsync
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}
59
60 %description static
61 Static librsync library.
62
63 %description static -l pl
64 Statyczna biblioteka librsync.
65
66 %prep
67 %setup -q
68
69 %build
70 rm -f missing
71 %{__libtoolize}
72 %{__aclocal}
73 %{__autoconf}
74 %{__automake}
75 %configure \
76         --enable-shared
77
78 %{__make} CFLAGS="%{rpmcflags}"
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84          DESTDIR=$RPM_BUILD_ROOT
85
86 install -D rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc AUTHORS NEWS README THANKS TODO
97 %attr(755,root,root) %{_bindir}/rdiff
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99 %{_mandir}/man1/rdiff.1*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/lib*.so
104 %{_libdir}/lib*.la
105 %{_includedir}/*
106 %{_mandir}/man3/*
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/lib*.a
This page took 0.096721 seconds and 2 git commands to generate.