1
0
forked from pool/msgpack-c

- Update to release 6.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/msgpack-c?expand=0&rev=3
This commit is contained in:
Jan Engelhardt 2023-11-02 21:42:41 +00:00 committed by Git OBS Bridge
parent e54f7b79d0
commit 372c136cc1
4 changed files with 27 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:420fe35e7572f2a168d17e660ef981a589c9cbe77faa25eb34a520e1fcc032c8
size 69290

3
msgpack-c-6.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3654f5e2c652dc52e0a993e270bb57d5702b262703f03771c152bba51602aeba
size 69341

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Nov 2 21:37:47 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 6.0.0
* The package name in cmake and pkgconfig files was changed
from msgpackc to msgpack-c; the SONAME of the library changed
likewise.
-------------------------------------------------------------------
Mon Aug 29 11:12:03 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package msgpack-c
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,35 +17,36 @@
Name: msgpack-c
Version: 4.0.0
Version: 6.0.0
Release: 0
Summary: Object serialization library for cross-language communication
License: BSL-1.0
Group: Development/Libraries/C and C++
URL: https://msgpack.org
Source: https://github.com/msgpack/msgpack-c/releases/download/c-%{version}/msgpack-c-%{version}.tar.gz
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: gtest
BuildRequires: pkg-config
BuildRequires: pkgconfig(zlib)
%description
MessagePack is a binary-based object serialization library. It enables to
exchange structured objects between many languages like JSON.
%package -n libmsgpackc2
%package -n libmsgpack-c2
Summary: Object serialization library for cross-language communication
Group: System/Libraries
%description -n libmsgpackc2
%description -n libmsgpack-c2
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: libmsgpackc2 = %{version}-%{release}
Requires: libmsgpack-c2 = %{version}-%{release}
Provides: libmsgpack-devel = %{version}-%{release}
Provides: libmsgpackc-devel = %{version}-%{release}
Conflicts: msgpack-devel < 4
@ -65,24 +66,20 @@ This package provides headers and other devel files.
%install
%cmake_install
find %{buildroot} -type f -name "*.a" -delete -print
# Fix duplicated files.
%fdupes %{buildroot}/%{_includedir}/%{name}
%post -n libmsgpackc2 -p /sbin/ldconfig
%postun -n libmsgpackc2 -p /sbin/ldconfig
%post -n libmsgpack-c2 -p /sbin/ldconfig
%postun -n libmsgpack-c2 -p /sbin/ldconfig
%files -n libmsgpackc2
%files -n libmsgpack-c2
%license COPYING
%{_libdir}/libmsgpackc.so.*
%_libdir/libmsgpack-c.so.*
%files devel
%doc NOTICE README.md
%{_libdir}/libmsgpackc.so
%{_libdir}/pkgconfig/msgpack.pc
%{_libdir}/cmake/msgpack
%{_includedir}/msgpack.h
%{_includedir}/msgpack/
%_libdir/libmsgpack-c.so
%_libdir/pkgconfig/*.pc
%_libdir/cmake/
%_includedir/msgpack*
%changelog