Summary(pl.UTF-8): Silnik do przetwarzania modeli 3D na instrukcje G-code dla drukarek 3D
Name: CuraEngine
Version: 3.5.1
-Release: 4
+Release: 5
Epoch: 1
License: AGPL v3
Group: Applications/Engineering
+#Source0Download: https://github.com/Ultimaker/CuraEngine/releases
Source0: https://github.com/Ultimaker/CuraEngine/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 54800673b165c69dff2978e7b7a58e70
Source1: https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
Patch1: %{name}-static-libstdcpp.patch
Patch2: local-stb.patch
URL: https://github.com/Ultimaker/CuraEngine
-BuildRequires: cmake
+BuildRequires: cmake >= 2.8.12
BuildRequires: libArcus-devel = %{version}
-BuildRequires: libstdc++-devel
+BuildRequires: libgomp-devel
+BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: polyclipping-devel >= 6.1.2
-BuildRequires: protobuf-devel
-%{?with_tests:BuildRequires: python}
+BuildRequires: protobuf-devel >= 3.0.0
+%{?with_tests:BuildRequires: python3 >= 1:3}
BuildRequires: rapidjson-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch2 -p1
mkdir stb
-install %{SOURCE1} stb/
+cp -p %{SOURCE1} stb/
# bundled libraries
%{__rm} -rf libs
%files
%defattr(644,root,root,755)
-%doc LICENSE README.md
+%doc README.md
%attr(755,root,root) %{_bindir}/%{name}