From c3479539572fd6cb6a5eae61cad30ba66ba6fbc3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 9 May 2024 17:40:56 +0200 Subject: [PATCH] package created using the webbuild interface [release 6.1.1-1mamba;Thu May 09 2024] --- README.md | 2 ++ msgpack-cxx.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 msgpack-cxx.spec diff --git a/README.md b/README.md index f084c58..448b012 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # msgpack-cxx +MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. + diff --git a/msgpack-cxx.spec b/msgpack-cxx.spec new file mode 100644 index 0000000..6817032 --- /dev/null +++ b/msgpack-cxx.spec @@ -0,0 +1,55 @@ +Name: msgpack-cxx +Version: 6.1.1 +Release: 1mamba +Summary: An efficient C++ JSON library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/msgpack/msgpack-c +Source: https://github.com/msgpack/msgpack-c.git/cpp-%{version}/msgpack-c-%{version}.tar.bz2 +License: BSL-1.0 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: An efficient C++ JSON library + +%description -n lib%{name}-devel +MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. +This package contains header files for developing applications that use %{name}. + +#% debug_package + +%prep +%setup -q -n msgpack-c-%{version} + +%build +%cmake +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/msgpack.hpp +%dir %{_includedir}/msgpack +%{_includedir}/msgpack/* +%dir %{_libdir}/cmake/msgpack-cxx +%{_libdir}/cmake/msgpack-cxx/msgpack-cxx*.cmake +%doc COPYING README.md + +%changelog +* Thu May 09 2024 Silvan Calarco 6.1.1-1mamba +- package created using the webbuild interface