From f51abab6bc6128526a17d1daec6e0408f6192ae52cb2c2bf6120e8828f2a3004 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 2 Sep 2022 09:30:37 +0000 Subject: [PATCH] Accepting request 999999 from home:jengelh:branches:devel:libraries:c_c++ split from msgpack OBS-URL: https://build.opensuse.org/request/show/999999 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/msgpack-cxx?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + msgpack-cxx-4.1.1.tar.gz | 3 ++ msgpack-cxx.spec | 65 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 msgpack-cxx-4.1.1.tar.gz create mode 100644 msgpack-cxx.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/msgpack-cxx-4.1.1.tar.gz b/msgpack-cxx-4.1.1.tar.gz new file mode 100644 index 0000000..28550eb --- /dev/null +++ b/msgpack-cxx-4.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8115c5edcf20bc1408c798a6bdaec16c1e52b1c34859d4982a0fb03300438f0b +size 475478 diff --git a/msgpack-cxx.spec b/msgpack-cxx.spec new file mode 100644 index 0000000..0701275 --- /dev/null +++ b/msgpack-cxx.spec @@ -0,0 +1,65 @@ +# +# spec file for package msgpack-cxx +# +# Copyright (c) 2022 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: 4.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: 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: msgpack-c-devel >= 4 +Provides: libmsgpack-devel = %{version}-%{release} +Conflicts: msgpack-devel < 4 + +%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 +%make_jobs + +%install +%cmake_install + +%files devel +%license COPYING +%doc NOTICE README.md +%_includedir/msgpack* +%_libdir/cmake/ + +%changelog