%global forgeurl https://github.com/jschobben/colorscad Name: colorscad Version: 0.7.0 Release: 1%{?dist} Summary: Helps with exporting an OpenSCAD model with color information preserved %forgemeta License: MIT URL: %{forgeurl} Source0: %{forgesource} Requires: openscad Requires: sed BuildRequires: cmake BuildRequires: make BuildRequires: gcc-c++ BuildRequires: pkgconfig(lib3mf) # Tests BuildRequires: openscad BuildRequires: sed BuildRequires: /usr/bin/shasum # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval %if 0%{?fedora} >= 37 || 0%{?rhel} >= 10 ExcludeArch: %{ix86} %endif %description This script helps with exporting an OpenSCAD model to AMF or 3MF format, with color information preserved. The colors are simply assigned using OpenSCADs color() statement, so generally speaking the output will look like the preview (F5) view in OpenSCAD. %prep %forgesetup %build %cmake %cmake_build %install %cmake_install %check PATH=%{buildroot}%{_bindir}:$PATH test/run.sh %files %license LICENSE %doc README.md %doc CHANGELOG.md %doc %attr(0644, -, -) colors.scad %{_bindir}/colorscad %{_bindir}/3mfmerge %changelog * Thu Oct 23 2025 Jonny Heggheim - 0.7.0-1 - Updated to version 0.7.0 * Wed Jul 23 2025 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Mar 31 2025 Jonny Heggheim - 0.6.2-1 - Updated to version 0.6.2 * Sat Mar 15 2025 Jonny Heggheim - 0.6.1-1 - Initial package