commit 436ec22426de6bcb60657391847493d9fa191e072d81cebde300bc887f390681 Author: Adrian Schröter Date: Fri Dec 23 10:00:09 2016 +0000 osc copypac from project:home:adrianSuSE package:cura-engine.stable revision:4, using expand OBS-URL: https://build.opensuse.org/package/show/science/cura-engine?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/CuraEngine-15.04.6.tar.gz b/CuraEngine-15.04.6.tar.gz new file mode 100644 index 0000000..d285bd1 --- /dev/null +++ b/CuraEngine-15.04.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f2e3c5e74001b39cf5894a1e3f436a7724be0ae9ee30cd02bd2e3fd676ca4b1 +size 107970 diff --git a/CuraEngine-uses-sharelib.patch b/CuraEngine-uses-sharelib.patch new file mode 100644 index 0000000..7166908 --- /dev/null +++ b/CuraEngine-uses-sharelib.patch @@ -0,0 +1,13 @@ +Index: Makefile +=================================================================== +--- Makefile.orig 2015-11-16 00:12:52.594259531 +0100 ++++ Makefile 2015-11-16 00:13:29.030165015 +0100 +@@ -50,7 +50,7 @@ else + LDFLAGS += --static + else + CFLAGS += -flto +- LDFLAGS += --static -flto ++ LDFLAGS += -flto + endif + endif + ifeq ($(UNAME), OpenBSD) diff --git a/CuraEngine.1 b/CuraEngine.1 new file mode 100644 index 0000000..29a8ee0 --- /dev/null +++ b/CuraEngine.1 @@ -0,0 +1,25 @@ +.TH CURAENGINE "1" "DATE" "CuraEngine VERSION" "User Commands" +.SH NAME +CuraEngine \- manual page for CuraEngine VERSION +.SH SYNOPSIS +.B CuraEngine +[\fIOPTION\fR]... \fI-o OUTPUT \fR\fIMODEL\fR... +.SH DESCRIPTION +The CuraEngine is a C++ console application for 3D printing GCode +generation. It has been made as a better and faster alternative to the old +Skeinforge engine. +.TP +Example: CuraEngine -o +.TP +\fB\-h\fR +Help +.TP +\fB\-v\fR +Version information +.TP +\fB\-s\fR +Settings key value +.TP +\fB\-m\fR +Size +.PP diff --git a/cura-engine.changes b/cura-engine.changes new file mode 100644 index 0000000..acd6b67 --- /dev/null +++ b/cura-engine.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Oct 12 06:26:03 UTC 2013 - lzwang@suse.com + +- Initial package of CuraEngine + diff --git a/cura-engine.spec b/cura-engine.spec new file mode 100644 index 0000000..e6a11f4 --- /dev/null +++ b/cura-engine.spec @@ -0,0 +1,62 @@ +# +# spec file for package CuraEngine +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: cura-engine +Version: 15.04.6 +Release: 0 +Summary: 3D printer control software +License: AGPL-3.0 +Group: Applications/Engineering +Url: http://github.com/Ultimaker/CuraEngine +Source0: https://github.com/Ultimaker/CuraEngine/archive/%{version}/CuraEngine-%{version}.tar.gz +Source1: CuraEngine.1 +Patch1: CuraEngine-uses-sharelib.patch +BuildRequires: gcc-c++ + +%description +CuraEngine is the a powerful, fast and robust engine for processing 3D models +into 3D printing instruction for Ultimaker and other GCode based 3D printers. +It is part of the larger open source project called "Cura". + +%prep +%setup -q -n CuraEngine-%{version} +%patch1 + +%build +CFLAGS="%{optflags}" +export CFLAGS +make VERSION=%{version} + +%install +install -d -m 755 %{buildroot}%{_bindir} +install -d -m 755 %{buildroot}%{_datadir}/CuraEngine +cp build/CuraEngine %{buildroot}%{_bindir} +D=$(date +"%b %Y") +sed -i "s/DATE/${D}/g;s/VERSION/%version/g" %{SOURCE1} + + +install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/cura-engine.1 + +%files +%defattr(-,root,root,-) +%dir %{_datadir}/CuraEngine +%doc LICENSE +%{_bindir}/CuraEngine +%_mandir/man1/cura-engine.1* + +%changelog