msgpack-cxx/msgpack-cxx.spec

56 lines
1.7 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 6.1.1-1mamba
- package created using the webbuild interface