ebf23ce
Name:           CuraEngine
9f57144
Epoch:          1
c7ae19f
Version:        4.8.0
c7ae19f
Release:        1%{?dist}
ebf23ce
Summary:        Engine for processing 3D models into G-code instructions for 3D printers
99053fc
License:        AGPLv3+
ebf23ce
URL:            https://github.com/Ultimaker/%{name}
99053fc
Source0:        %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
c63a010
c63a010
# The cmake stuff would attempt to git clone this:
c63a010
# TODO package on it's own
c63a010
%global stb_commit e6afb9cbae4064da8c3e69af3ff5c4629579c1d2
c63a010
Source1:        https://github.com/nothings/stb/archive/%{stb_commit}.tar.gz
c63a010
Provides:       bundled(stb) = %stb_commit
c63a010
Igor Gnatenko 2b1fe41
BuildRequires:  gcc
Igor Gnatenko 2b1fe41
BuildRequires:  gcc-c++
99053fc
BuildRequires:  libarcus-devel == %{version}
00b6c0d
BuildRequires:  polyclipping-devel >= 6.1.2
99053fc
BuildRequires:  protobuf-devel
99053fc
BuildRequires:  rapidjson-devel
99053fc
BuildRequires:  cmake
4a82728
BuildRequires:  git-core
99053fc
99053fc
Patch0:         %{name}-rpath.patch
99053fc
Patch1:         %{name}-static-libstdcpp.patch
ebf23ce
0a3a1dc
# Get Fedora 33++ behavior on anything older
0a3a1dc
%undefine __cmake_in_source_build
0a3a1dc
ebf23ce
%description
ebf23ce
%{name} is a C++ console application for 3D printing G-code generation. It
ebf23ce
has been made as a better and faster alternative to the old Skeinforge engine.
ebf23ce
ebf23ce
This is just a console application for G-code generation. For a full graphical
ebf23ce
application look at cura with is the graphical frontend for %{name}.
ebf23ce
ebf23ce
%prep
99053fc
%autosetup -p1 -S git
c63a010
tar -xf %{SOURCE1}
4a82728
mv stb-%{stb_commit} stb
ebf23ce
99053fc
# bundled libraries
99053fc
rm -rf libs
ebf23ce
99053fc
# The -DCURA_ENGINE_VERSION does not work, so we sed-change the default value
6edbadd
sed -i 's/"DEV"/"%{version}"/' src/settings/Settings.h
faa9784
ebf23ce
%build
0a3a1dc
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DCURA_ENGINE_VERSION:STRING=%{version} -DUSE_SYSTEM_LIBS:BOOL=ON -DCMAKE_CXX_FLAGS_RELEASE_INIT:STRING="%{optflags} -fPIC" -DStb_INCLUDE_DIRS:PATH=${PWD}
0a3a1dc
%cmake_build
99053fc
ebf23ce
ebf23ce
%install
0a3a1dc
%cmake_install
99053fc
ebf23ce
ebf23ce
%check
99053fc
# Smoke test
99053fc
%{buildroot}%{_bindir}/%{name} help
ebf23ce
ebf23ce
%files
ebf23ce
%doc LICENSE README.md
ebf23ce
%{_bindir}/%{name}
ebf23ce
ebf23ce
%changelog
c7ae19f
* Wed Dec 23 2020 Jan Pazdziora <jpazdziora@redhat.com> - 4.8.0-1
c7ae19f
- Update to 4.8.0
c7ae19f
e2380f8
* Wed Sep 23 2020 Adrian Reber <adrian@lisas.de> - 1:4.7.1-2
e2380f8
- Rebuilt for protobuf 3.13
e2380f8
355ba6d
* Thu Sep 03 2020 Miro Hrončok <mhroncok@redhat.com> - 1:4.7.1-1
355ba6d
- Update to 4.7.1
355ba6d
e7d86d3
* Mon Aug 31 2020 Gabriel Féron <feron.gabriel@gmail.com> - 4.7.0-1
e7d86d3
- Update to 4.7.0
e7d86d3
95e9f04
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.6.1-3
95e9f04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
95e9f04
d7c1553
* Sun Jun 14 2020 Adrian Reber <adrian@lisas.de> - 1:4.6.1-2
d7c1553
- Rebuilt for protobuf 3.12
d7c1553
79765b4
* Tue May 5 2020 Gabriel Féron <feron.gabriel@gmail.com> - 4.6.0-1
79765b4
- Update to 4.6.1
79765b4
2241b8f
* Tue Apr 21 2020 Gabriel Féron <feron.gabriel@gmail.com> - 4.6.0-1
2241b8f
- Update to 4.6.0
2241b8f
0c0a525
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.4.0-3
0c0a525
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0c0a525
a43ef39
* Thu Dec 19 2019 Orion Poplawski <orion@nwra.com> - 1:4.4.0-2
a43ef39
- Rebuild for protobuf 3.11
a43ef39
da5b9ea
* Thu Nov 21 2019 Gabriel Féron <feron.gabriel@gmail.com> - 4.4.0-1
da5b9ea
- Update to 4.4.0
da5b9ea
a772b81
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.1.0-2
a772b81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a772b81
Gabriel Féron 82046e0
* Tue Jun 18 2019 Gabriel Féron <feron.gabriel@gmail.com> - 4.1.0-1
Gabriel Féron 82046e0
- Update to 4.1.0
Gabriel Féron 82046e0
bfa13d7
* Wed Apr 03 2019 Gabriel Féron <feron.gabriel@gmail.com> - 4.0.0-1
bfa13d7
- Update to 4.0.0
bfa13d7
abcc1a5
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.6.0-4
abcc1a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
abcc1a5
6edbadd
* Sat Jan 26 2019 Gabriel Féron <feron.gabriel@gmail.com> - 1:3.6.0-1
6edbadd
- Update to 3.6.0
6edbadd
a712a35
* Thu Nov 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.5.1-3
a712a35
- Rebuild for protobuf 3.6
a712a35
6015abd
* Wed Nov 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.5.1-2
6015abd
- Rebuild for protobuf 3.6
6015abd
9f57144
* Mon Nov 12 2018 Miro Hrončok <mhroncok@redhat.com> - 1:3.5.1-1
9f57144
- Fix the error in epoch/release
9f57144
4a82728
* Mon Nov 12 2018 Miro Hrončok <mhroncok@redhat.com> - 0:3.5.1-2
4a82728
- Update to 3.5.1 (#1644323)
4a82728
c63a010
* Tue Aug 28 2018 Miro Hrončok <mhroncok@redhat.com> - 1:3.4.1-1
c63a010
- Update to 3.4.1
c63a010
ba1a791
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.3.0-2
ba1a791
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ba1a791
8eef9f9
* Wed May 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:3.3.0-1
8eef9f9
- Updated to 3.3.0
8eef9f9
- Make sure Fedora CXXFLAGS are used, also -fPIC
8eef9f9
- Use new USE_SYSTEM_LIBS option instead of patch+sed
8eef9f9
3f63517
* Mon Mar 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1:3.2.1-1
3f63517
- Updated to 3.2.1
3f63517
ca15e80
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1.0-2
ca15e80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ca15e80
6035995
* Sun Dec 10 2017 Miro Hrončok <mhroncok@redhat.com> - 1:3.1.0-1
6035995
- Updated to 3.1.0
6035995
Igor Gnatenko bb26ed5
* Wed Nov 29 2017 Igor Gnatenko <ignatenko@redhat.com> - 1:3.0.3-3
Igor Gnatenko bb26ed5
- Rebuild for protobuf 3.5
Igor Gnatenko bb26ed5
957a13b
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.0.3-2
957a13b
- Rebuild for protobuf 3.4
957a13b
f46646d
* Mon Oct 23 2017 Miro Hrončok <mhroncok@redhat.com> - 1:3.0.3-1
f46646d
- Updated to 3.0.3
f46646d
f947512
* Wed Aug 30 2017 Miro Hrončok <mhroncok@redhat.com> - 1:2.7.0-1
f947512
- Update to 2.7.0
f947512
9820e7d
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.1-3
9820e7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9820e7d
935be27
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.1-2
935be27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
935be27
9baa279
* Wed Jun 28 2017 Miro Hrončok <mhroncok@redhat.com> - 1:2.6.1-1
9baa279
- Updated to 2.6.1
9baa279
bcc0d9b
* Tue Jun 27 2017 Miro Hrončok <mhroncok@redhat.com> - 1:2.6.0-1
bcc0d9b
- Updated to 2.6.0
bcc0d9b
b0e37f3
* Wed Jun 14 2017 Miro Hrončok <mhroncok@redhat.com> - 1:2.5.0-2
b0e37f3
- Rebuilt for new protobuf 3.3.1
b0e37f3
99053fc
* Wed May 03 2017 Miro Hrončok <mhroncok@redhat.com> - 1:2.5.0-1
99053fc
- Updated to 2.5.0
99053fc
99053fc
* Sun Dec 04 2016 Miro Hrončok <mhroncok@redhat.com> - 1:2.3.1-1
99053fc
- New version scheme -> Introduce Epoch
99053fc
- Updated
99053fc
- SPEC rewritten
605b183
ee86800
* Sun Sep 18 2016 Miro Hrončok <mhroncok@redhat.com> - 15.04-4
ee86800
- Rebuilt for new polyclipping (#1159525)
ee86800
d446311
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.04-3
d446311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d446311
faa9784
* Mon Jul 06 2015 Miro Hrončok <mhroncok@redhat.com> - 15.04-2
faa9784
- Set the VERSION variable
faa9784
cbe313a
* Sun Jul 05 2015 Miro Hrončok <mhroncok@redhat.com> - 15.04-1
cbe313a
- Update to 15.04
cbe313a
b2d08f3
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.12.1-3
b2d08f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b2d08f3
ddc9b70
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 14.12.1-2
ddc9b70
- Rebuilt for GCC 5 C++11 ABI change
ddc9b70
53482a1
* Mon Dec 29 2014 Miro Hrončok <mhroncok@redhat.com> - 14.12.1-1
53482a1
- Update to 14.12.1
53482a1
59b5c01
* Thu Oct 23 2014 Miro Hrončok <mhroncok@redhat.com> - 14.03-3
59b5c01
- Rebuilt for new polyclipping
59b5c01
931fee1
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.03-2
931fee1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
931fee1
e3a63af
* Mon Jun 23 2014 Miro Hrončok <mhroncok@redhat.com> - 14.03-1
e3a63af
- New version 14.03
e3a63af
dc2b10a
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.01-2
dc2b10a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dc2b10a
00b6c0d
* Sun Mar 09 2014 Miro Hrončok <mhroncok@redhat.com> - 14.01-1
00b6c0d
- New version 14.01
00b6c0d
- polyclipping 6.1.x
00b6c0d
- Now with make test
00b6c0d
- Rebuilt against new polyclipping release
00b6c0d
d99a63b
* Sat Dec 14 2013 Miro Hrončok <mhroncok@redhat.com> - 13.11.2-1
d99a63b
- New version 13.11.2
d99a63b
- Makefile seding changed to reflect changes
d99a63b
- Clipper usage no longer need patching
d99a63b
280b908
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.06.3-4
280b908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
280b908
a159126
* Mon Jul 22 2013 Miro Hrončok <mhroncok@redhat.com> - 13.06.3-3
a159126
- Rebuilt for new polyclipping
a159126
ebf23ce
* Thu Jul 04 2013 Miro Hrončok <mhroncok@redhat.com> - 13.06.3-2
ebf23ce
- Added some explaining comments
ebf23ce
ebf23ce
* Sun Jun 23 2013 Miro Hrončok <mhroncok@redhat.com> - 13.06.3-1
ebf23ce
- New package