ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 23846
en ru
SRPMs in branches
hide window
Group :: Development/C
Source RPM: capnproto
Raw spec file

Name: capnproto
Version: 0.8.0
Release: alt1
Summary: A data interchange format and capability-based RPC system
License: MIT
Source: %name-%version.tar
Group: Development/C

BuildRequires: cmake >= 3.1.0 rpm-macros-cmake ctest
BuildRequires: gcc-c++

Cap'n Proto is data interchange format and capability-based RPC system.
Think JSON, except binary. Or think Protocol Buffers, except faster.

This package contains the schema compiler and command-line encoder and
decoder tools.

%package libs
Summary: Libraries for %{name}
Group: System/Libraries

%description libs
The %{name}-libs package contains the libraries for using %{name}
in applications.

%package devel
Summary: Development files for %{name}
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Group: Development/C

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%setup -q

cd c++
%autoreconf -i

cd c++

cd c++
# disable networking test

subst '/TEST(AsyncIo, SimpleNetwork)/,/^}/s/^/\/\//' src/kj/async-io-test.c++
%make_build check


%files libs

%files devel

* Thu Jan 14 2021 Aleksei Nikiforov <darktemplar at> 0.8.0-alt1
- Updated to upstream version 0.8.0.

* Thu Jun 14 2018 Vitaly Chikunov <vt at> 0.6.1-alt1
- Initial build of capnproto for ALT.

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.