[packages/libarcus] - unfinished
arekm
arekm at pld-linux.org
Sun Aug 2 18:51:51 CEST 2015
commit dfa87c28be2c6d9d6dd8b11c26ee05a691d25a8c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Aug 2 18:51:36 2015 +0200
- unfinished
libarcus.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
---
diff --git a/libarcus.spec b/libarcus.spec
new file mode 100644
index 0000000..5e9bff9
--- /dev/null
+++ b/libarcus.spec
@@ -0,0 +1,66 @@
+%define snap 20150802
+Summary: A library designed to facilitate the communication between Cura and its backend and similar code
+Name: libarcus
+Version: 0.1
+Release: 0.%{snap}.1
+License: GPL v2+
+Group: Libraries
+Source0: %{name}-%{snap}.tar.bz2
+# Source0-md5: 9f6d8c4b5e1998305d0346689b43db98
+URL: https://github.com/Ultimaker/libArcus
+BuildRequires: cmake
+BuildRequires: protobuf-devel >= 2.6.1
+BuildRequires: python3-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A C++ and Python3 class 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: Header files for libarcus
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Header files for libarcus.
+
+%package static
+Summary: Static %{name} library
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}
+
+%description static
+Static %{name} library.
+
+%prep
+%setup -q -n %{name}-%{snap}
+
+%build
+install -d build
+cd build
+%cmake ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} 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)
+
+%files devel
+%defattr(644,root,root,755)
+
+%files static
+%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libarcus.git/commitdiff/dfa87c28be2c6d9d6dd8b11c26ee05a691d25a8c
More information about the pld-cvs-commit
mailing list