orion / rpms / libarcus

Forked from rpms/libarcus 4 years ago
Clone

Blame libarcus.spec

0f8fcce
Name:           libarcus
ef2514a
Version:        3.5.1
1ada66d
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
0f8fcce
BuildRequires:  python3-sip-devel
0f8fcce
BuildRequires:  /usr/bin/sip
0f8fcce
BuildRequires:  cmake
0f8fcce
BuildRequires:  gcc-c++
ef2514a
BuildRequires:  git-core
0f8fcce
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
c4acf9f
License:        AGPLv3+ 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
ef2514a
Requires:       python3-sip
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
0f8fcce
%build
0f8fcce
%{cmake} -DBUILD_EXAMPLES:BOOL=OFF -DCMAKE_SKIP_RPATH:BOOL=ON .
0f8fcce
make %{?_smp_mflags}
0f8fcce
0f8fcce
%install
0f8fcce
make install DESTDIR=%{buildroot}
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
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