]> git.pld-linux.org Git - packages/librsync.git/blob - librsync.spec
2f701e1995e4ef0bd3600405e4a0a60ccb9e3468
[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:  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 %patch0 -p1
69
70 %build
71 rm -f missing
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__automake}
76 %configure \
77         --enable-shared
78
79 %{__make} CFLAGS="%{rpmcflags}"
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85          DESTDIR=$RPM_BUILD_ROOT
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %doc AUTHORS NEWS README THANKS TODO
96 %attr(755,root,root) %{_bindir}/rdiff
97 %attr(755,root,root) %{_libdir}/lib*.so.*.*
98 %{_mandir}/man1/rdiff.1*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %{_libdir}/lib*.la
104 %{_includedir}/*
105 %{_mandir}/man3/*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.079584 seconds and 2 git commands to generate.