Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
uranium-firmware2-lulzbot
uranium-firmware2-lulzbot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uranium-firmware2-lulzbot.spec of Package uranium-firmware2-lulzbot
# # spec file for package uranium-firmware-lulzbot # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: uranium-firmware2-lulzbot Version: 2.0.0.144_aded3b617 Release: 0 Summary: 3D printer firmware License: GPL-3.0-only Group: System/Libraries URL: https://gitlab.com/lulzbot3d/marlin Source: marlin-%{version}.tar.xz Patch1: fix-build.patch BuildArch: noarch BuildRequires: avr-libc %if 0%{?suse_version} > 1500 BuildRequires: cross-avr-gcc10 #BuildRequires: cross-arm-gcc10 BuildRequires: cross-arm-none-gcc10 %else BuildRequires: cross-avr-gcc7 %endif %description Matching firmware for cura-lulzbot %prep %setup -q -n marlin-%version #%patch1 -p1 %build # -s seems not to work VERSION="%{version}" ./build-lulzbot-firmware.sh -c -s %install target=%buildroot%_prefix/share/uranium/resources/firmware/ mkdir -p "$target" cd build for i in *.hex *.config; do out=`echo $i|sed 's/Marlin_\(.*\)_\(.*\)_\(.*\)_\(.*\)_\(.*\)_.\(.*\)/Marlin_\2_\4_%version.\6/'` cp -v "$i" "$target/$out" || exit 1 done %files %license LICENSE %doc README.md README_LulzBot.md %_prefix/share/uranium %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor