]> git.pld-linux.org Git - packages/librsync.git/blob - librsync.spec
- BR+R: bzip2-devel,popt-devel,zlib-devel
[packages/librsync.git] / librsync.spec
1 Summary:        Rsync libraries
2 Summary(pl):    Biblioteki rsync
3 Name:           librsync
4 Version:        0.9.7
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/librsync/%{name}-%{version}.tar.gz
9 # Source0-md5:  24cdb6b78f45e0e83766903fd4f6bc84
10 URL:            http://librsync.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  bzip2-devel
14 BuildRequires:  libtool
15 BuildRequires:  popt-devel
16 BuildRequires:  zlib-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
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):    Pliki nag³ówkowe librsync
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       bzip2-devel
49 Requires:       popt-devel
50 Requires:       zlib-devel
51
52 %description devel
53 This package contains header files necessary for developing programs
54 based on librsync.
55
56 %description devel -l pl
57 Ten pakiet zawiera pliki nag³ówkowe potrzebne do budowania programów
58 u¿ywaj±cych librsync.
59
60 %package static
61 Summary:        Static librsync library
62 Summary(pl):    Statyczna biblioteka librsync
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static librsync library.
68
69 %description static -l pl
70 Statyczna biblioteka librsync.
71
72 %prep
73 %setup -q
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__automake}
80 %configure \
81         --enable-shared
82
83 %{__make} \
84         CFLAGS="%{rpmcflags}"
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90          DESTDIR=$RPM_BUILD_ROOT
91
92 install -D rdiff $RPM_BUILD_ROOT%{_bindir}/rdiff
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS NEWS README THANKS TODO
103 %attr(755,root,root) %{_bindir}/rdiff
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105 %{_mandir}/man1/rdiff.1*
106
107 %files devel
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib*.so
110 %{_libdir}/lib*.la
111 %{_includedir}/*
112 %{_mandir}/man3/*
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/lib*.a
This page took 0.029894 seconds and 3 git commands to generate.