Группа :: Разработка/C++
Пакет: libzeromq-cpp-devel
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# Header-only library.
Name: libzeromq-cpp-devel
Version: 4.10.0
Release: alt2.1
Summary: Header-only C++ binding for libzmq
License: MIT
Group: Development/C++
URL: https://zeromq.org
VCS: https://github.com/zeromq/cppzmq
Source: %name-%version.tar
# Based on https://github.com/catchorg/Catch2/blob/devel/docs/migrate-v2-to-v3.md
Patch: libzeromq-cpp-devel-4.10.0-adapt-for-catch2-v3.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libzeromq-devel
BuildRequires: catch-devel
%description
cppzmq is a C++ binding for libzmq.
cppzmq maps the libzmq C API to C++ concepts. In particular, it is type-safe,
provides exception-based error handling, and provides RAII-style classes that
automate resource management. cppzmq is a light-weight, header-only binding.
%prep
%setup
%patch -p1
%ifarch %e2k
# LCC bug workaround
sed -i "s/constexpr zmq::/const zmq::/g" tests/buffer.cpp
%endif
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%doc README.md
%_includedir/zmq*.hpp
%_datadir/cmake/*
%_pkgconfigdir/cppzmq.pc
%changelog
…
Полный changelog можно просмотреть здесь
Name: libzeromq-cpp-devel
Version: 4.10.0
Release: alt2.1
Summary: Header-only C++ binding for libzmq
License: MIT
Group: Development/C++
URL: https://zeromq.org
VCS: https://github.com/zeromq/cppzmq
Source: %name-%version.tar
# Based on https://github.com/catchorg/Catch2/blob/devel/docs/migrate-v2-to-v3.md
Patch: libzeromq-cpp-devel-4.10.0-adapt-for-catch2-v3.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libzeromq-devel
BuildRequires: catch-devel
%description
cppzmq is a C++ binding for libzmq.
cppzmq maps the libzmq C API to C++ concepts. In particular, it is type-safe,
provides exception-based error handling, and provides RAII-style classes that
automate resource management. cppzmq is a light-weight, header-only binding.
%prep
%setup
%patch -p1
%ifarch %e2k
# LCC bug workaround
sed -i "s/constexpr zmq::/const zmq::/g" tests/buffer.cpp
%endif
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%doc README.md
%_includedir/zmq*.hpp
%_datadir/cmake/*
%_pkgconfigdir/cppzmq.pc
%changelog
…
Полный changelog можно просмотреть здесь