[packages/libArcus] - new

baggins baggins at pld-linux.org
Sat May 13 19:52:12 CEST 2017


commit d8d3c61244df21dd6cb8f564d04ecf7e708e2ae8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat May 13 19:51:54 2017 +0200

    - new

 libArcus.spec | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
---
diff --git a/libArcus.spec b/libArcus.spec
new file mode 100644
index 0000000..1cb8344
--- /dev/null
+++ b/libArcus.spec
@@ -0,0 +1,90 @@
+Summary:	Communication library between internal components for Ultimaker software
+Name:		libArcus
+Version:	2.5.0
+Release:	1
+License:	AGPLv3+
+Group:		Libraries
+URL:		https://github.com/Ultimaker/libArcus
+Source0:	https://github.com/Ultimaker/libArcus/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	a8f83c896793262967971b7a94fe3082
+BuildRequires:	cmake
+BuildRequires:	libstdc++-devel
+BuildRequires:	protobuf-devel
+BuildRequires:	python3-devel
+BuildRequires:	python3-protobuf
+BuildRequires:	python3-sip-devel
+BuildRequires:	sip
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+Summary:	Development files for libArcus
+License:	AGPLv3+ and BSD
+Group:		Development/Libraries
+Requires:	%{name} = %{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
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+
+%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
+%setup -q
+
+%build
+mkdir build
+cd build
+%{cmake} .. \
+	-DPYTHON_SITE_PACKAGES_DIR:PATH=%{py3_sitedir} \
+	-DBUILD_EXAMPLES:BOOL=OFF \
+	-DCMAKE_SKIP_RPATH:BOOL=ON
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755, root, root) %{_libdir}/libArcus.so.*.*.*
+%attr(755, root, root) %ghost %{_libdir}/libArcus.so.3
+
+%files devel
+%defattr(644,root,root,755)
+%doc examples/example.cpp examples/example.proto
+%attr(755, root, root) %{_libdir}/libArcus.so
+%{_includedir}/Arcus
+%{_libdir}/cmake/Arcus
+
+%files -n python3-Arcus
+%defattr(644,root,root,755)
+%doc TODO.md
+%doc examples/example.py
+%attr(755, root, root) %{py3_sitedir}/Arcus.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libArcus.git/commitdiff/d8d3c61244df21dd6cb8f564d04ecf7e708e2ae8



More information about the pld-cvs-commit mailing list