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