# # spec file for package uasm # # Copyright (c) 2022 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: uasm Version: 2.56.2 Release: 1%{?dist} Summary: MASM-compatible assembler based on JWasm License: Watcom-1.0 URL: http://www.terraspace.co.uk/%{name}.html Source: https://github.com/Terraspace/%{name}/archive/refs/tags/v%{version}.tar.gz Patch0: fix-error-return-type.patch BuildRequires: glibc-devel BuildRequires: make BuildRequires: gcc %if 0%{?rhel} == 7 BuildRequires: devtoolset-8-gcc %endif %description MASM-compatible assembler based on JWasm %prep %autosetup -n UASM-%{version} -p1 %build %set_build_flags sed -i 's|-s -o|-o|' gccLinux64.mak %if 0%{?rhel} == 7 . /opt/rh/devtoolset-8/enable %endif %make_build -f gccLinux64.mak %install mkdir -p %{buildroot}%{_bindir} install GccUnixR/%{name} -t %{buildroot}%{_bindir} %files %doc Readme.txt %doc History.txt %license License.txt %{_bindir}/%{name} %changelog * Tue Nov 29 2022 Danilo Spinella - Initial packaging of uasm version 2.56.2