0f8fcce
Name:           libarcus
Gabriel 74796e7
Version:        4.6.1
f46cf97
Release:        3%{?dist}
0f8fcce
Summary:        Communication library between internal components for Ultimaker software
fe0bdfc
License:        LGPLv3+
0f8fcce
URL:            https://github.com/Ultimaker/libArcus
0f8fcce
Source0:        %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
0f8fcce
937e163
# https://bugzilla.redhat.com/show_bug.cgi?id=1601917
937e163
Patch1:         libArcus-3.5.1-PyQt5.sip.patch
937e163
0f8fcce
BuildRequires:  protobuf-devel
0f8fcce
BuildRequires:  python3-devel
0f8fcce
BuildRequires:  python3-protobuf
921f031
BuildRequires:  python3-pyqt5-sip
0f8fcce
BuildRequires:  python3-sip-devel
0f8fcce
BuildRequires:  /usr/bin/sip
0f8fcce
BuildRequires:  cmake
0f8fcce
BuildRequires:  gcc-c++
ef2514a
BuildRequires:  git-core
0f8fcce
0b08ba9
# Get Fedora 33++ behavior on anything older
0b08ba9
%undefine __cmake_in_source_build
0b08ba9
0f8fcce
%description
0f8fcce
Arcus library contains C++ code and Python 3 bindings for creating a socket in
0f8fcce
a thread and using this socket to send and receive messages based on the
0f8fcce
Protocol Buffers library. It is designed to facilitate the communication
0f8fcce
between Cura and its backend and similar code.
0f8fcce
0f8fcce
%package        devel
c4acf9f
c4acf9f
# The cmake scripts are BSD
b431a90
License:        LGPLv3+ and BSD
c4acf9f
0f8fcce
Summary:        Development files for libarcus
0f8fcce
Requires:       %{name}%{?_isa} = %{version}-%{release}
0f8fcce
0f8fcce
%description    devel
0f8fcce
Arcus library contains C++ code and Python 3 bindings for creating a socket in
0f8fcce
a thread and using this socket to send and receive messages based on the
0f8fcce
Protocol Buffers library. It is designed to facilitate the communication
0f8fcce
between Cura and its backend and similar code.
0f8fcce
0f8fcce
Development files.
0f8fcce
0f8fcce
%package -n     python3-arcus
0f8fcce
Summary:        Python 3 libArcus bindings
a43df8c
Requires:       %{name}%{?_isa} = %{version}-%{release}
921f031
%{?_sip_api:Requires: python3-pyqt5-sip-api(%{_sip_api_major}) >= %{_sip_api}}
0f8fcce
%{?python_provide:%python_provide python3-arcus}
0f8fcce
0f8fcce
%description -n python3-arcus
0f8fcce
Arcus Python 3 bindings for creating a socket in a thread and using this
0f8fcce
socket to send and receive messages based on the
0f8fcce
Protocol Buffers library. It is designed to facilitate the communication
0f8fcce
between Cura and its backend and similar code.
0f8fcce
0f8fcce
%prep
0f8fcce
%autosetup -n libArcus-%{version} -p1 -S git
0f8fcce
Gabriel Féron d9f7d6d
# https://github.com/Ultimaker/libArcus/pull/94#issuecomment-505376760
Gabriel Féron d9f7d6d
sed -i 's/Python3_SITELIB/Python3_SITEARCH/' cmake/SIPMacros.cmake
Gabriel Féron d9f7d6d
0f8fcce
%build
0b08ba9
%cmake -DBUILD_EXAMPLES:BOOL=OFF -DCMAKE_SKIP_RPATH:BOOL=ON .
0b08ba9
%cmake_build
0f8fcce
0f8fcce
%install
0b08ba9
%cmake_install
0f8fcce
0f8fcce
%files
0f8fcce
%license LICENSE
0f8fcce
%doc README.md TODO.md
0f8fcce
%{_libdir}/libArcus.so.*
0f8fcce
0f8fcce
%files devel
c4acf9f
%license LICENSE cmake/COPYING-CMAKE-SCRIPTS
0f8fcce
%doc examples/example.cpp examples/example.proto
0f8fcce
%{_libdir}/libArcus.so
0f8fcce
%{_includedir}/Arcus
0f8fcce
# Own the dir not to depend on cmake:
0f8fcce
%{_libdir}/cmake
0f8fcce
0f8fcce
%files -n python3-arcus
0f8fcce
%license LICENSE
0f8fcce
%doc README.md TODO.md
0f8fcce
%doc examples/example.py
0f8fcce
%{python3_sitearch}/Arcus.so
0f8fcce
0f8fcce
%changelog
f46cf97
* Sun Jun 14 2020 Adrian Reber <adrian@lisas.de> - 4.6.1-3
f46cf97
- Rebuilt for protobuf 3.12
f46cf97
548bf91
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 4.6.1-2
548bf91
- Rebuilt for Python 3.9
548bf91
Gabriel 74796e7
* Tue May 5 2020 Gabriel Féron <feron.gabriel@gmail.com> - 4.6.0-1
Gabriel 74796e7
- Update to 4.6.1
Gabriel 74796e7
Gabriel 2a456ef
* Tue Apr 21 2020 Gabriel Féron <feron.gabriel@gmail.com> - 4.6.0-1
Gabriel 2a456ef
- Update to 4.6.0
Gabriel 2a456ef
48a8f2e
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
48a8f2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
48a8f2e
509aeab
* Thu Dec 19 2019 Orion Poplawski <orion@nwra.com> - 4.4.0-2
509aeab
- Rebuild for protobuf 3.11
509aeab
Gabriel Féron 1ffe11b
* Thu Nov 21 2019 Gabriel Féron <feron.gabriel@gmail.com> - 4.4.0-1
Gabriel Féron 1ffe11b
- Update to 4.4.0
Gabriel Féron 1ffe11b
a43df8c
* Fri Nov 01 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.0-5
a43df8c
- Make the dependency of python3-arcus on libarcus strict (#1767762)
a43df8c
921f031
* Mon Sep 16 2019 Rex Dieter <rdieter@fedoraproject.org> - 4.1.0-4
921f031
- use python3-pyqt5-sip (#1748527#c12)
921f031
254e7d1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.0-3
254e7d1
- Rebuilt for Python 3.8
254e7d1
dd42670
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
dd42670
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
dd42670
Gabriel Féron d9f7d6d
* Tue Jun 18 2019 Gabriel Féron <feron.gabriel@gmail.com> - 4.1.0-1
Gabriel Féron d9f7d6d
- Update to 4.1.0
Gabriel Féron d9f7d6d
Gabriel Féron 804dc0f
* Wed Apr 03 2019 Gabriel Féron <feron.gabriel@gmail.com> - 4.0.0-1
Gabriel Féron 804dc0f
- Update to 4.0.0
Gabriel Féron 804dc0f
820fd6f
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
820fd6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
820fd6f
Gabriel Feron d9ac655
* Sat Jan 26 2019 Gabriel Féron <feron.gabriel@gmail.com> - 3.6.0-1
Gabriel Feron d9ac655
- Update to 3.6.0
Gabriel Feron d9ac655
1ada66d
* Wed Nov 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.1-3
1ada66d
- Rebuild for protobuf 3.6
1ada66d
937e163
* Mon Nov 12 2018 Miro Hrončok <mhroncok@redhat.com>
937e163
- Use PyQt5.sip (#1601917)
937e163
ef2514a
* Mon Nov 12 2018 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-1
ef2514a
- Update to 3.5.1 (#1644323)
ef2514a
389686a
* Tue Aug 28 2018 Rex Dieter <rdieter@fedoraproject.org> - 3.4.1-2
389686a
- use more robust upstreamable sip_flags.patch (#1601917)
389686a
27a956a
* Tue Aug 28 2018 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-1
27a956a
- Update to 3.4.1 (#1599716)
27a956a
f7aa86f
* Thu Aug 23 2018 Rex Dieter <rdieter@fedoraproject.org> - 3.3.0-4
f7aa86f
- Use PyQt5.sip (#1601917)
f7aa86f
dafec05
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
dafec05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
dafec05
e56e01d
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.3.0-2
e56e01d
- Rebuilt for Python 3.7
e56e01d
a600a68
* Wed May 02 2018 Miro Hrončok <mhroncok@redhat.com> - 3.3.0-1
a600a68
- Update to 3.3.0 (#1571482)
a600a68
a6ada6a
* Mon Mar 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.2.1-1
a6ada6a
- Update to 3.2.1 (#1523891)
a6ada6a
a0874d1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
a0874d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a0874d1
f7641e1
* Sat Dec 09 2017 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-1
f7641e1
- Update to 3.1.0 (#1523891)
f7641e1
- Don't sed lib -> lib64 (not needed now)
f7641e1
Igor Gnatenko f54f64d
* Wed Nov 29 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.0.3-3
Igor Gnatenko f54f64d
- Rebuild for protobuf 3.5
Igor Gnatenko f54f64d
cd6490d
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.0.3-2
cd6490d
- Rebuild for protobuf 3.4
cd6490d
fe0bdfc
* Fri Oct 20 2017 Charalampos Statakis <cstratak@redhat.com> - 3.0.3-1
fe0bdfc
- Update to 3.0.3
fe0bdfc
9cfb397
* Wed Aug 30 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-1
9cfb397
- Update to 2.7.0
9cfb397
075a65a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-3
075a65a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
075a65a
638be5d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
638be5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
638be5d
312ee67
* Wed Jun 28 2017 Miro Hrončok <mhroncok@redhat.com> - 2.6.1-1
312ee67
- Update to 2.6.1
312ee67
9f185a6
* Tue Jun 27 2017 Miro Hrončok <mhroncok@redhat.com> - 2.6.0-1
9f185a6
- Update to 2.6.0
9f185a6
8645ba3
* Tue Jun 13 2017 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-3
8645ba3
- Rebuilt for new protobuf 3.3.1
8645ba3
c4acf9f
* Wed May 03 2017 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-2
c4acf9f
- Clarify licensing information on cmake files
c4acf9f
cf7ea09
* Wed Apr 26 2017 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-1
cf7ea09
- Update to 2.5.0
cf7ea09
0f8fcce
* Sat Mar 25 2017 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-1
0f8fcce
- Initial package