public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Reto Gantenbein <reto.gantenbein@linuxmonk.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/raft] epel10: Initial import (#2017459).
Date: Fri, 30 Oct 2026 21:48:25 GMT [thread overview]
Message-ID: <179339690573.1.3631398456275619372.rpms-raft-2944b49966ae@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/raft
Branch : epel10
Commit : 2944b49966aea404a97787c99502b48b7ee49a7b
Author : Reto Gantenbein <reto.gantenbein@linuxmonk.ch>
Date : 2021-12-05T15:40:35+01:00
Stats : +83/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/raft/c/2944b49966aea404a97787c99502b48b7ee49a7b?branch=epel10
Log:
Initial import (#2017459).
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..88868a7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/v0.11.2.tar.gz
diff --git a/raft.spec b/raft.spec
new file mode 100644
index 0000000..c7b93d9
--- /dev/null
+++ b/raft.spec
@@ -0,0 +1,81 @@
+Name: raft
+Version: 0.11.2
+Release: 1%{?dist}
+Summary: C implementation of the Raft consensus protocol
+
+License: LGPLv3 with exceptions
+URL: https://github.com/canonical/raft
+Source0: %{URL}/archive/v%{version}.tar.gz
+
+BuildRequires: autoconf libtool
+BuildRequires: gcc
+BuildRequires: pkgconfig(liblz4)
+BuildRequires: pkgconfig(libuv)
+
+%description
+Fully asynchronous C implementation of the Raft consensus protocol. It consists
+of a core part that implements the core Raft algorithm logic and a pluggable
+interface defining the I/O implementation for networking and disk persistence.
+
+%package benchmark
+Summary: Benchmark operating system disk write performance
+BuildRequires: pkgconfig(liburing)
+
+%description benchmark
+Benchmark operating system disk write performance.
+
+%package devel
+Summary: Development libraries for raft
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development headers and library for raft.
+
+%package doc
+Summary: C-Raft documentation
+BuildArch: noarch
+BuildRequires: python-sphinx
+
+%description doc
+This package contains the C-Raft documentation in HTML format.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+autoreconf -i
+%configure --disable-static --enable-benchmark
+%make_build
+sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
+
+%install
+%make_install
+rm -f %{buildroot}%{_libdir}/libraft.la
+
+%check
+%make_build check
+
+%ldconfig_scriptlets
+
+%files
+%doc AUTHORS README.md
+%license LICENSE
+%{_libdir}/libraft.so.*
+
+%files benchmark
+%license LICENSE
+%{_bindir}/os-disk-write
+
+%files devel
+%{_libdir}/libraft.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_includedir}/raft.h
+%{_includedir}/raft/
+
+%files doc
+%license LICENSE
+%doc docs/_build/html/
+
+%changelog
+%autochangelog
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..ed30b99
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (v0.11.2.tar.gz) = 8be47270cf3b888ff6adeeec2480ccd5065b45c3c546da089cbb326cf429f0bcd4396001e20fbf52587c00d5757337812c834ec5064fafa4815a978a7cf0c35f
reply other threads:[~2026-10-30 21:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179339690573.1.3631398456275619372.rpms-raft-2944b49966ae@fedoraproject.org \
--to=reto.gantenbein@linuxmonk.ch \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox