Adrian Schröter 2017-11-03 07:20:58 +00:00 committed by Git OBS Bridge
parent 3a27d1d65e
commit 5433b5f768
6 changed files with 23 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a92096401c88e406cb47e2b7649838ae0a5888937cb37185dd2a7d701676db5
size 2661388

3
CuraEngine-3.0.3.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:240e410aa3347713e7d5d291028e48e118fa0b7253c19fdaac66ff45dfbdbfd9
size 2763789

View File

@ -1,5 +1,5 @@
name: CuraEngine
version: 2.7.0
mtime: 1503930910
commit: 0b101c60e018b3f0ef1f87037a6b2b20a5a013ff
version: 3.0.3
mtime: 1507791253
commit: e998617c5d1171a827a9d73946be6e434e994c6c

View File

@ -2,8 +2,8 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/Ultimaker/CuraEngine.git</param>
<param name="scm">git</param>
<param name="revision">2.7.0</param>
<param name="version">2.7.0</param>
<param name="revision">3.0.3</param>
<param name="version">3.0.3</param>
<param name="submodules">disable</param>
</service>
<service mode="buildtime" name="tar" />

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 3 07:20:42 UTC 2017 - adrian@suse.de
- update to version 3.0.3
-------------------------------------------------------------------
Tue Sep 12 17:03:00 UTC 2017 - stefan.bruens@rwth-aachen.de

View File

@ -17,21 +17,17 @@
Name: cura-engine
Version: 2.7.0
Version: 3.0.3
Release: 0
Summary: 3D printer control software
License: AGPL-3.0
Group: Applications/Engineering
Group: BLAH
Url: http://github.com/Ultimaker/CuraEngine
Source0: https://github.com/Ultimaker/CuraEngine/archive/%{version}/CuraEngine-%{version}.tar.xz
Source1: CuraEngine.1
Patch1: fix-build.patch
# On TW/Factory or Leap/SLE 15 use latest gcc, gcc5 otherwise
%if 0%{?suse_version} <= 1320
BuildRequires: gcc5-c++
%else
BuildRequires: gcc-c++ >= 5
%endif
BuildRequires: gcc6-c++
#!BuildIgnore: libgcc_s1
BuildRequires: cmake
BuildRequires: libArcus-devel
@ -45,11 +41,12 @@ It is part of the larger open source project called "Cura".
%patch1 -p1
%build
%if 0%{?suse_version} <= 1320
export CXX="g++-5"
export CC="gcc-5"
%if 0%{?suse_version} < 1500
export CC=gcc-6
export CXX=g++-6
%endif
%cmake -DCMAKE_POSITION_INDEPENDENT_CODE="true"
%cmake -DCMAKE_C_FLAGS="%{optflags} -fPIC" \
-DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fpermissive"
make %{?_smp_mflags}
%install
@ -63,7 +60,7 @@ install -Dm0755 lib_CuraEngine.so %{buildroot}%{_libdir}/lib_CuraEngine.so
%files
%defattr(-,root,root,-)
%_bindir/CuraEngine
%_libdir/lib*
%_libdir/*
%_mandir/man1/CuraEngine.1*
%changelog