[packages/libArcus] - pl, release 4 (rebuild with protobuf 3.6)
qboosh
qboosh at pld-linux.org
Sat Oct 13 21:01:54 CEST 2018
commit 9d80e71bb60f7bc81fa700bccd949bf2639a73ee
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 13 21:05:26 2018 +0200
- pl, release 4 (rebuild with protobuf 3.6)
libArcus.spec | 75 +++++++++++++++++++++++++++++++++++------------------------
1 file changed, 45 insertions(+), 30 deletions(-)
---
diff --git a/libArcus.spec b/libArcus.spec
index 38e5b7e..8d003e2 100644
--- a/libArcus.spec
+++ b/libArcus.spec
@@ -1,17 +1,17 @@
Summary: Communication library between internal components for Ultimaker software
+Summary(pl.UTF-8): Biblioteka komunikacji między wewnętrznymi komponentami oprogramowania Ultimaker
Name: libArcus
Version: 2.5.0
-Release: 3
-License: AGPLv3+
+Release: 4
+License: AGPL v3+
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
+URL: https://github.com/Ultimaker/libArcus
+BuildRequires: cmake >= 2.8.12
+BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: protobuf-devel >= 3.0.0
+BuildRequires: python3-devel >= 1:3.2
BuildRequires: python3-sip-devel
BuildRequires: sip
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -22,22 +22,29 @@ 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
+%description -l pl.UTF-8
+Biblioteka Arcus zawiera kod C++ oraz wiązania Pythona 3 do tworzenia
+gniazda w wątku i wykorzystywania tego gniazda do wysyłania i
+odbierania komunikatów w oparciu o bibliotekę Protocol Buffers.
+Została zaprojektowana, aby ułatwić komunikację między programem Cura
+a jego backendem i podobnym kodem.
+
+%package devel
Summary: Development files for libArcus
-License: AGPLv3+ and BSD
+Summary(pl.UTF-8): Pliki programistyczne biblioteki libArcus
+License: AGPL v3+ 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.
+%description devel
+Development files for libArcus.
-Development files.
+%description devel -l pl
+Pliki programistyczne biblioteki libArcus.
-%package -n python3-Arcus
-Summary: Python 3 libArcus bindings
+%package -n python3-Arcus
+Summary: Python 3 bindings for libArcus
+Summary(pl.UTF-8): Wiązania Pythona 3 do biblioteki libArcus
Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
@@ -47,44 +54,52 @@ 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.
+%description -n python3-Arcus -l pl.UTF-8
+Wiązania Pythona 3 do biblioteki Arcus, tworzącej gniazdo w wątku i
+wykorzystującej to gniazdo do wysyłania i odbierania komunikatów w
+oparciu o bibliotekę Protocol Buffers. Biblioteka została
+zaprojektowana, aby ułatwić komunikację między programem Cura a jego
+backendem i podobnym kodem.
+
%prep
%setup -q
%build
mkdir build
cd build
-%{cmake} .. \
- -DPYTHON_SITE_PACKAGES_DIR:PATH=%{py3_sitedir} \
+%cmake .. \
-DBUILD_EXAMPLES:BOOL=OFF \
- -DCMAKE_SKIP_RPATH:BOOL=ON
+ -DCMAKE_SKIP_RPATH:BOOL=ON \
+ -DPYTHON_SITE_PACKAGES_DIR:PATH=%{py3_sitedir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install DESTDIR=$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
+%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
+%doc README.md TODO.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
+%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
+%attr(755,root,root) %{py3_sitedir}/Arcus.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libArcus.git/commitdiff/9d80e71bb60f7bc81fa700bccd949bf2639a73ee
More information about the pld-cvs-commit
mailing list