SHA256
1
0
forked from pool/msgpack-cxx
msgpack-cxx/msgpack-cxx.spec
Dirk Mueller d7c6f084d6 Accepting request 1164037 from home:jubalh:branches:devel:libraries:c_c++
- Update to release 6.1.1:
  * Fix compilation error when std::variant has the same types (#1112)
  * Improve CI (#1090, #1110)
  * Fix to avoid common function name's (has_as::check) ambiguity/conflict
    with other libraries' macros (#1085)

OBS-URL: https://build.opensuse.org/request/show/1164037
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/msgpack-cxx?expand=0&rev=11
2024-04-02 15:28:16 +00:00

69 lines
2.0 KiB
RPMSpec

#
# spec file for package msgpack-cxx
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: msgpack-cxx
Version: 6.1.1
Release: 0
Summary: Object serialization library for cross-language communication (C++ interface)
License: BSL-1.0
Group: Development/Libraries/C and C++
URL: https://msgpack.org
Source: https://github.com/msgpack/msgpack-c/releases/download/cpp-%version/msgpack-cxx-%version.tar.gz
BuildRequires: boost-devel
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: pkg-config
%description
MessagePack is a binary-based object serialization library. It enables to
exchange structured objects between many languages like JSON.
%package devel
Summary: Development headers for libmsgpack C++ library
Group: Development/Libraries/C and C++
Requires: libboost_headers-devel
Requires: msgpack-c-devel >= 6
Provides: libmsgpack-devel = %{version}-%{release}
Conflicts: msgpack-devel < 6
%description devel
MessagePack is a binary-based object serialization library. It enables to
exchange structured objects between many languages like JSON.
This package provides C++ headers and other devel files.
%prep
%autosetup
%build
%cmake
%cmake_build
%install
%cmake_install
%fdupes %buildroot/%_prefix
%files devel
%license COPYING
%doc NOTICE README.md
%_includedir/msgpack*
%_libdir/cmake/
%changelog