From 4c96bf6bf28b167a4875737257b8e09c4b572d57 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 31 Jul 2019 17:55:01 +0200 Subject: [PATCH] - release 5 (rebuild with protobuf 3.9.0) - drop LICENSE from docs (copy of generic AGPLv3 text) --- CuraEngine.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/CuraEngine.spec b/CuraEngine.spec index 681b9f4..cf723cc 100644 --- a/CuraEngine.spec +++ b/CuraEngine.spec @@ -6,10 +6,11 @@ Summary: Engine for processing 3D models into G-code instructions for 3D printer 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 @@ -18,12 +19,13 @@ Patch0: %{name}-rpath.patch 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) @@ -52,7 +54,7 @@ pakiecie cura. %patch2 -p1 mkdir stb -install %{SOURCE1} stb/ +cp -p %{SOURCE1} stb/ # bundled libraries %{__rm} -rf libs @@ -85,5 +87,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc LICENSE README.md +%doc README.md %attr(755,root,root) %{_bindir}/%{name} -- 2.44.0