1 Summary: Raft consensus protocol library
7 Source0: https://github.com/canonical/raft/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 2da527e4d935d94b84a7e6c0487c7f00
9 URL: https://github.com/canonical/raft
10 BuildRequires: autoconf >= 2.50
11 BuildRequires: automake
12 BuildRequires: libtool
13 BuildRequires: libuv-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Fully asynchronous C implementation of the Raft consensus protocol.
19 The library has modular design: its core part implements only the core
20 Raft algorithm logic, in a fully platform independent way. On top of
21 that, a pluggable interface defines the I/O implementation for
22 networking (send/receive RPC messages) and disk persistence (store log
23 entries and snapshots).
26 Summary: Header files for %{name} development
27 Summary(pl.UTF-8): Pliki nagłówkowe %{name}
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 This package contains development files for the %{name} library.
35 Summary: Static libraries for %{name} development
36 Summary(pl.UTF-8): Statyczne biblioteki %{name}
37 Group: Development/Libraries
38 Requires: %{name}-devel = %{version}-%{release}
41 This package contains static %{name} library.
53 --disable-silent-rules
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/libraft.so.*.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libraft.so.0
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/libraft.so
79 %dir %{_includedir}/raft
80 %{_includedir}/raft/*.h
81 %{_pkgconfigdir}/raft.pc
84 %defattr(644,root,root,755)