]> git.pld-linux.org Git - packages/librsync.git/blob - librsync.spec
fd268fd636e9e9d65faf73d7633fe74760f96a07
[packages/librsync.git] / librsync.spec
1 Summary:        Rsync libraries
2 Summary(pl):    Biblioteki rsync
3 Name:           librsync
4 Version:        0.9.5.1
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://ftp1.sourceforge.net/rproxy/%{name}-%{version}.tar.gz
9 URL:            http://www.sf.net/projects/rproxy/
10 Patch0:         %{name}-am.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 librsync implements the "rsync" algorithm, which allows remote
19 differencing of binary files. librsync computes a delta relative to a
20 file's checksum, so the two files need not both be present to generate
21 a delta.
22
23 This library was previously known as libhsync up to version 0.9.0.
24
25 The current version of this package does not implement the rsync
26 network protocol and uses a delta format slightly more efficient than
27 and incompatible with rsync 2.4.6.
28
29 %description -l pl
30 librsync jest implementacj± algorytmu rsync, pozwalaj±cego na zdalne
31 porównywanie plików binarnych. librsync liczy ró¿nice sum kontrolnych
32 plików, wiêc nie wymaga obecno¶ci obu plików do sprawdzenia ró¿nic.
33
34 Ta biblioteka by³a wcze¶niej znana jako libhsync, do wersji 0.9.0
35 w³±cznie.
36
37 Ta wersja nie ma implementacji sieciowego protoko³u rsync i u¿ywa
38 formatu delt nieco wydajniejszego i niekompatybilnego z rsyncem w
39 wersji 2.4.6.
40
41 %package devel
42 Summary:        Headers for librsync
43 Summary(pl):    Pliki nag³ówkowe librsync
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}
46
47 %description devel
48 This package contains header files necessary for developing programs
49 based on librsync.
50
51 %description devel -l pl
52 Ten pakiet zawiera pliki nag³ówkowe potrzebne do budowania programów
53 u¿ywajacych librsync.
54
55 %package static
56 Summary:        Static librsync library
57 Summary(pl):    Statyczna biblioteka librsync
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}
60
61 %description static
62 Static librsync library.
63
64 %description static -l pl
65 Statyczna biblioteka librsync.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70
71 %build
72 rm -f missing
73 %{__libtoolize}
74 %{__gettextize}
75 aclocal
76 %{__autoconf}
77 %{__automake}
78 %configure \
79         --enable-shared
80
81 %{__make} CFLAGS="%{rpmcflags}"
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 %attr(755,root,root) %{_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.02488 seconds and 2 git commands to generate.