]> git.pld-linux.org Git - packages/librsync.git/blob - librsync.spec
remove patches: format-security, 4Gigbug and link dropped from spec in 71f4f5d
[packages/librsync.git] / librsync.spec
1 Summary:        Rsync libraries
2 Summary(pl.UTF-8):      Biblioteki rsync
3 Name:           librsync
4 Version:        2.3.2
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        https://github.com/librsync/librsync/archive/v%{version}.tar.gz
9 # Source0-md5:  74ba5b50de5ba3d595828e9109fa5fce
10 URL:            http://librsync.sourceforge.net/
11 BuildRequires:  cmake >= 3.6
12 BuildRequires:  popt-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 librsync implements the "rsync" algorithm, which allows remote
17 differencing of binary files. librsync computes a delta relative to a
18 file's checksum, so the two files need not both be present to generate
19 a delta.
20
21 This library was previously known as libhsync up to version 0.9.0.
22
23 The current version of this package does not implement the rsync
24 network protocol and uses a delta format slightly more efficient than
25 and incompatible with rsync 2.4.6.
26
27 %description -l pl.UTF-8
28 librsync jest implementacją algorytmu rsync, pozwalającego na zdalne
29 porównywanie plików binarnych. librsync liczy różnice sum kontrolnych
30 plików, więc nie wymaga obecności obu plików do sprawdzenia różnic.
31
32 Ta biblioteka była wcześniej znana jako libhsync, do wersji 0.9.0
33 włącznie.
34
35 Ta wersja nie ma implementacji sieciowego protokołu rsync i używa
36 formatu delt nieco wydajniejszego i niekompatybilnego z rsyncem w
37 wersji 2.4.6.
38
39 %package devel
40 Summary:        Headers for librsync
41 Summary(pl.UTF-8):      Pliki nagłówkowe librsync
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44
45 %description devel
46 This package contains header files necessary for developing programs
47 based on librsync.
48
49 %description devel -l pl.UTF-8
50 Ten pakiet zawiera pliki nagłówkowe potrzebne do budowania programów
51 używających librsync.
52
53 %prep
54 %setup -q
55
56 %build
57 install -d build
58 cd build
59 %{cmake} \
60         ..
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} -C build install \
68          DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS CONTRIBUTING.md NEWS.md README.md THANKS TODO.md
79 %attr(755,root,root) %{_bindir}/rdiff
80 %attr(755,root,root) %{_libdir}/librsync.so.*.*
81 %attr(755,root,root) %ghost %{_libdir}/librsync.so.2
82 %{_mandir}/man1/rdiff.1*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_includedir}/librsync.h
88 %{_mandir}/man3/librsync.3*
This page took 0.089912 seconds and 3 git commands to generate.