Name: libarcus Version: 4.8.0 Release: 3%{?dist} Summary: Communication library between internal components for Ultimaker software License: LGPLv3+ URL: https://github.com/Ultimaker/libArcus Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # https://bugzilla.redhat.com/show_bug.cgi?id=1601917 Patch1: libArcus-3.5.1-PyQt5.sip.patch BuildRequires: protobuf-devel BuildRequires: python3-devel BuildRequires: python3-protobuf BuildRequires: python3-pyqt5-sip BuildRequires: python3-sip-devel BuildRequires: /usr/bin/sip BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: git-core # Get Fedora 33++ behavior on anything older %undefine __cmake_in_source_build %description Arcus library contains C++ code and Python 3 bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library. It is designed to facilitate the communication between Cura and its backend and similar code. %package devel # The cmake scripts are BSD License: LGPLv3+ and BSD Summary: Development files for libarcus Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Arcus library contains C++ code and Python 3 bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library. It is designed to facilitate the communication between Cura and its backend and similar code. Development files. %package -n python3-arcus Summary: Python 3 libArcus bindings Requires: %{name}%{?_isa} = %{version}-%{release} %{?_sip_api:Requires: python3-pyqt5-sip-api(%{_sip_api_major}) >= %{_sip_api}} %{?python_provide:%python_provide python3-arcus} %description -n python3-arcus Arcus Python 3 bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library. It is designed to facilitate the communication between Cura and its backend and similar code. %prep %autosetup -n libArcus-%{version} -p1 -S git # https://github.com/Ultimaker/libArcus/pull/94#issuecomment-505376760 sed -i 's/Python3_SITELIB/Python3_SITEARCH/' cmake/SIPMacros.cmake %build %cmake -DBUILD_EXAMPLES:BOOL=OFF -DCMAKE_SKIP_RPATH:BOOL=ON . %cmake_build %install %cmake_install %files %license LICENSE %doc README.md TODO.md %{_libdir}/libArcus.so.* %files devel %license LICENSE cmake/COPYING-CMAKE-SCRIPTS %doc examples/example.cpp examples/example.proto %{_libdir}/libArcus.so %{_includedir}/Arcus # Own the dir not to depend on cmake: %{_libdir}/cmake %files -n python3-arcus %license LICENSE %doc README.md TODO.md %doc examples/example.py %{python3_sitearch}/Arcus.so %changelog * Tue Jan 26 2021 Fedora Release Engineering - 4.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 09:45:36 CET 2021 Adrian Reber - 4.8.0-2 - Rebuilt for protobuf 3.14 * Tue Dec 22 2020 Jan Pazdziora - 4.8.0-1 - Update to 4.8.0 * Wed Sep 23 2020 Adrian Reber - 4.7.1-2 - Rebuilt for protobuf 3.13 * Thu Sep 03 2020 Miro Hrončok - 4.7.1-1 - Update to 4.7.1 * Tue Jul 28 2020 Fedora Release Engineering - 4.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 14 2020 Adrian Reber - 4.6.1-3 - Rebuilt for protobuf 3.12 * Tue May 26 2020 Miro Hrončok - 4.6.1-2 - Rebuilt for Python 3.9 * Tue May 5 2020 Gabriel Féron - 4.6.0-1 - Update to 4.6.1 * Tue Apr 21 2020 Gabriel Féron - 4.6.0-1 - Update to 4.6.0 * Wed Jan 29 2020 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Dec 19 2019 Orion Poplawski - 4.4.0-2 - Rebuild for protobuf 3.11 * Thu Nov 21 2019 Gabriel Féron - 4.4.0-1 - Update to 4.4.0 * Fri Nov 01 2019 Miro Hrončok - 4.1.0-5 - Make the dependency of python3-arcus on libarcus strict (#1767762) * Mon Sep 16 2019 Rex Dieter - 4.1.0-4 - use python3-pyqt5-sip (#1748527#c12) * Mon Aug 19 2019 Miro Hrončok - 4.1.0-3 - Rebuilt for Python 3.8 * Thu Jul 25 2019 Fedora Release Engineering - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 18 2019 Gabriel Féron - 4.1.0-1 - Update to 4.1.0 * Wed Apr 03 2019 Gabriel Féron - 4.0.0-1 - Update to 4.0.0 * Fri Feb 01 2019 Fedora Release Engineering - 3.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jan 26 2019 Gabriel Féron - 3.6.0-1 - Update to 3.6.0 * Wed Nov 21 2018 Igor Gnatenko - 3.5.1-3 - Rebuild for protobuf 3.6 * Mon Nov 12 2018 Miro Hrončok - Use PyQt5.sip (#1601917) * Mon Nov 12 2018 Miro Hrončok - 3.5.1-1 - Update to 3.5.1 (#1644323) * Tue Aug 28 2018 Rex Dieter - 3.4.1-2 - use more robust upstreamable sip_flags.patch (#1601917) * Tue Aug 28 2018 Miro Hrončok - 3.4.1-1 - Update to 3.4.1 (#1599716) * Thu Aug 23 2018 Rex Dieter - 3.3.0-4 - Use PyQt5.sip (#1601917) * Fri Jul 13 2018 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 3.3.0-2 - Rebuilt for Python 3.7 * Wed May 02 2018 Miro Hrončok - 3.3.0-1 - Update to 3.3.0 (#1571482) * Mon Mar 19 2018 Miro Hrončok - 3.2.1-1 - Update to 3.2.1 (#1523891) * Wed Feb 07 2018 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Dec 09 2017 Miro Hrončok - 3.1.0-1 - Update to 3.1.0 (#1523891) - Don't sed lib -> lib64 (not needed now) * Wed Nov 29 2017 Igor Gnatenko - 3.0.3-3 - Rebuild for protobuf 3.5 * Mon Nov 13 2017 Igor Gnatenko - 3.0.3-2 - Rebuild for protobuf 3.4 * Fri Oct 20 2017 Charalampos Statakis - 3.0.3-1 - Update to 3.0.3 * Wed Aug 30 2017 Miro Hrončok - 2.7.0-1 - Update to 2.7.0 * Thu Aug 03 2017 Fedora Release Engineering - 2.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 28 2017 Miro Hrončok - 2.6.1-1 - Update to 2.6.1 * Tue Jun 27 2017 Miro Hrončok - 2.6.0-1 - Update to 2.6.0 * Tue Jun 13 2017 Miro Hrončok - 2.5.0-3 - Rebuilt for new protobuf 3.3.1 * Wed May 03 2017 Miro Hrončok - 2.5.0-2 - Clarify licensing information on cmake files * Wed Apr 26 2017 Miro Hrončok - 2.5.0-1 - Update to 2.5.0 * Sat Mar 25 2017 Miro Hrončok - 2.4.0-1 - Initial package