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