Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 14:09:54 +0000 | Пакетов: 24131
en ru
Исходные пакеты в ветвях
свернуть окно
Группа :: Разработка/C
Исходный пакет: capnproto
Необработанный spec-файл

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

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

%description
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}.

%prep
%setup -q

%build
cd c++
%autoreconf -i
%configure
%make_build

%install
cd c++
%makeinstall_std

%check
cd c++
# disable networking test

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

%files
%_bindir/cap*

%files libs
%doc LICENSE CONTRIBUTORS README.md
%_libdir/*.so*

%files devel
%_includedir/*
%_libdir/*.a
%_libdir/pkgconfig/*.pc
%_libdir/cmake/CapnProto/

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

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

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT