%define debug_package %nil %define devname %mklibname %{name} -d %global zmqver %(rpm -q --queryformat "%{VERSION}" %{_lib}zmq-devel ) Name: cppzmq Summary: C++ binding for 0MQ Version: 4.7.1 %define subrel 1 Release: %mkrel 1 License: MIT Group: Development/Other Url: https://github.com/zeromq/cppzmq Source0: https://github.com/zeromq/cppzmq/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: 0001-Skip-zeromq-static-targets.patch Patch2: 0001-Fix-FindZeroMQ.cmake-install-location.patch BuildRequires: cmake BuildRequires: git-core BuildRequires: pkgconfig(libzmq) >= 4.3.1 %description C++ binding for 0MQ. %package -n %{devname} Summary: C++ binding for 0MQ Requires: zeromq-devel >= 4.3.1 Provides: %{name} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Conflicts: %{_lib}zeromq-devel < 4.2.2 %description -n %{devname} C++ binding development headers for 0MQ. %prep %autosetup -S git_am %build %cmake \ -DCPPZMQ_BUILD_TESTS:BOOL=OFF %cmake_build %install %cmake_install %files -n %{devname} %doc README* %license LICENSE %{_includedir}/zmq*.hpp %dir %{_datadir}/cmake/cppzmq/ %{_datadir}/cmake/cppzmq/*.cmake %changelog * Fri Mar 12 2021 neoclust <neoclust> 4.7.1-1.1.mga8 + Revision: 1701858 - Do not require a specific zeromq version * Sat Oct 10 2020 wally <wally> 4.7.1-1.mga8 + Revision: 1633069 - new version 4.7.1 * Sun Sep 13 2020 barjac <barjac> 4.6.0-3.mga8 + Revision: 1625986 - rebuild for zeromq-4.3.3 * Sat Sep 12 2020 joequant <joequant> 4.6.0-2.mga8 + Revision: 1625076 - allow updated zeromq * Sun Feb 23 2020 wally <wally> 4.6.0-1.mga8 + Revision: 1549568 - new version 4.6.0 * Tue Feb 18 2020 umeabot <umeabot> 4.5.0-2.mga8 + Revision: 1537884 - Mageia 8 Mass Rebuild + wally <wally> - build with new cmake macros * Mon Nov 11 2019 wally <wally> 4.5.0-1.mga8 + Revision: 1459279 - new version 4.5.0 * Sat Sep 21 2019 wally <wally> 4.4.1-1.mga8 + Revision: 1444245 - new version 4.4.1 * Tue Aug 20 2019 daviddavid <daviddavid> 4.3.0-3.mga8 + Revision: 1430400 - rebuild for new libzmq 4.3.2 * Thu Jan 17 2019 wally <wally> 4.3.0-2.mga7 + Revision: 1357659 - add patch to fix FindZeroMQ.cmake install location * Thu Jan 17 2019 wally <wally> 4.3.0-1.mga7 + Revision: 1357651 - new version 4.3.0 - redo static targets patches - disable tests (downloads stuff from Internet) * Thu Jan 17 2019 wally <wally> 4.2.2-2.mga7 + Revision: 1357632 - add patch to build without static zeromq * Thu Jan 17 2019 barjac <barjac> 4.2.2-1.mga7 + Revision: 1357534 - new version 4.2.2 - Remove un-needed patch - Fix files list * Thu Jan 17 2019 barjac <barjac> 4.2.1-6.mga7 + Revision: 1357524 - rebuild for zeromq 4.3.1 * Sun Sep 23 2018 umeabot <umeabot> 4.2.1-5.mga7 + Revision: 1296848 - Mageia 7 Mass Rebuild * Fri Jan 12 2018 wally <wally> 4.2.1-4.mga7 + Revision: 1192449 - fix requires for devel pkg * Thu Jan 11 2018 barjac <barjac> 4.2.1-3.mga7 + Revision: 1192383 - rebuild for zeromq * Wed Feb 22 2017 wally <wally> 4.2.1-2.mga6 + Revision: 1087399 - rebuild for ARM * Wed Feb 22 2017 wally <wally> 4.2.1-1.mga6 + Revision: 1087390 - add patch to skip static lib check with CMake - imported package cppzmq