Name: msgpack Version: 3.1.0 Release: 2%{?dist} Summary: Binary-based efficient object serialization library License: Boost URL: http://msgpack.org Source0: https://github.com/msgpack/msgpack-c/releases/download/cpp-%{version}/%{name}-%{version}.tar.gz Patch: 0001-Fixed-724.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: doxygen # for %%check BuildRequires: gtest-devel BuildRequires: zlib-devel %description MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small. %package devel Summary: Libraries and header files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Libraries and header files for %{name} %prep %autosetup -p1 %build if test ! -e "obj"; then mkdir obj fi pushd obj %cmake .. -DCMAKE_INSTALL_LIBDIR=%{_libdir} -Dlibdir=%{_libdir} -DBUILD_SHARED_LIBS=ON %make_build popd %check pushd obj # https://github.com/msgpack/msgpack-c/issues/697 export GTEST_FILTER=-object_with_zone.ext_empty make test || { cat Testing/Temporary/LastTest.log; exit 1; } popd %install make install/fast DESTDIR=$RPM_BUILD_ROOT -C obj %ldconfig_scriptlets %files %{!?_licensedir:%global license %doc} %license LICENSE_1_0.txt COPYING %doc AUTHORS ChangeLog NOTICE README README.md %{_libdir}/*.so.* %files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/msgpack.pc %{_libdir}/cmake/msgpack %changelog * Fri Feb 01 2019 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Aug 22 2018 Daiki Ueno - 3.1.0-1 - new upstream release - cmake configuration files no longer rely on nonexistent static libraries * Fri Jul 13 2018 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 7 2018 Daiki Ueno - 3.0.1-1 - new upstream release * Thu Feb 08 2018 Fedora Release Engineering - 1.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 1.4.2-4 - Switch to %%ldconfig_scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Feb 21 2017 Daiki Ueno - 1.4.2-1 - new upstream release - avoid FTBFS with GCC7 * Fri Feb 10 2017 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Apr 7 2016 Daiki Ueno - 1.4.1-1 - new upstream release * Thu Feb 04 2016 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Dec 10 2015 Neal Gompa - 1.3.0-1 - Upgrade to 1.3.0 upstream release - Drop unneeded patch * Wed Jun 17 2015 Fedora Release Engineering - 0.5.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.5.9-3 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.5.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jul 11 2014 Daiki Ueno - 0.5.9-1 - new upstream release - apply patch to fix int->float test failure * Sat Jun 07 2014 Fedora Release Engineering - 0.5.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Jan 9 2014 Daiki Ueno - 0.5.8-1 - new upstream release - remove patches that are no longer needed * Tue Aug 27 2013 Dan HorĂ¡k - 0.5.7-5 - apply upstream fix for big endians * Sat Aug 03 2013 Fedora Release Engineering - 0.5.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.5.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.5.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 15 2012 Daiki Ueno - 0.5.7-1 - initial packaging for Fedora