forked from pool/cura-engine
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
This commit is contained in:
commit
436ec22426
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
CuraEngine-15.04.6.tar.gz
Normal file
3
CuraEngine-15.04.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f2e3c5e74001b39cf5894a1e3f436a7724be0ae9ee30cd02bd2e3fd676ca4b1
|
||||
size 107970
|
13
CuraEngine-uses-sharelib.patch
Normal file
13
CuraEngine-uses-sharelib.patch
Normal file
@ -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)
|
25
CuraEngine.1
Normal file
25
CuraEngine.1
Normal file
@ -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 <output.gcode> <model.stl>
|
||||
.TP
|
||||
\fB\-h\fR
|
||||
Help
|
||||
.TP
|
||||
\fB\-v\fR
|
||||
Version information
|
||||
.TP
|
||||
\fB\-s\fR
|
||||
Settings key value
|
||||
.TP
|
||||
\fB\-m\fR
|
||||
Size
|
||||
.PP
|
5
cura-engine.changes
Normal file
5
cura-engine.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 12 06:26:03 UTC 2013 - lzwang@suse.com
|
||||
|
||||
- Initial package of CuraEngine
|
||||
|
62
cura-engine.spec
Normal file
62
cura-engine.spec
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user