diff --git a/cura.spec b/cura.spec index 6e69318..33e3833 100644 --- a/cura.spec +++ b/cura.spec @@ -57,6 +57,9 @@ needs. As it's open source, our community helps enrich it even more. # see: https://github.com/Ultimaker/Cura/issues/5142 %define cura_sdk_version 6.0.0 +%define cura_cloud_api_root https://api.ultimaker.com +%define cura_cloud_api_version 1 +%define cura_cloud_account_api_root https://account.ultimaker.com %prep %autosetup -p1 -S git -n Cura-%{version} @@ -67,9 +70,15 @@ dos2unix docs/How_to_use_the_flame_graph_profiler.md # Wrong shebang sed -i '1s=^#!/usr/bin/\(python\|env python\)3*=#!%{__python3}=' cura_app.py - %build -%{cmake} -DCURA_VERSION:STRING=%{version} -DCURA_SDK_VERSION:STRING=%{cura_sdk_version} -DLIB_SUFFIX:STR= . +%{cmake} \ + -DCURA_VERSION:STRING=%{version} \ + -DCURA_BUILDTYPE=RPM \ + -DCURA_SDK_VERSION:STRING=%{cura_sdk_version} \ + -DCURA_CLOUD_API_ROOT:STRING=%{cura_cloud_api_root} \ + -DCURA_CLOUD_API_VERSION:STRING=%{cura_cloud_api_version} \ + -DCURA_CLOUD_ACCOUNT_API_ROOT:STRING=%{cura_cloud_account_api_root} \ + -DLIB_SUFFIX:STR= . make %{?_smp_mflags} # rebuild locales @@ -129,6 +138,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_prefix}/lib/%{name} %changelog +* Thu Apr 04 2019 Gabriel Féron - 4.0.0-1 +- Update to 4.0.0 + * Thu Jan 31 2019 Fedora Release Engineering - 1:3.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild