File SASM.spec of Package SASM
#
# spec file for package SASM
#
# Copyright (c) 2013 Dmitriy Manushin
#
# 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 GPL Licens v3e). 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://github.com/Dman95/SASM
#
%define major 3
%define minor 15
%define micro 0
%define branch %{major}%{minor}
Name: SASM
Url: https://dman95.github.io/SASM/
Version: %{major}.%{minor}.%{micro}
Release: 0
Summary: Simple crossplatform IDE for NASM, MASM, GAS, FASM assembly languages
License: GPL-3.0+
Group: Development/Languages/Other
%if 0%{?fedora}
BuildRequires: qt5-qtbase-devel gcc-c++
%else
BuildRequires: libqt5-qtbase-devel
%endif
%if 0%{?fedora}
%else
BuildRequires: pkg-config
%endif
BuildRequires: zlib-devel
BuildRequires: unzip
BuildRoot: %{tmppath}/%{name}-%{version}-build
Summary: Simple IDE for NASM, MASM, GAS, FASM assembly languages
Obsoletes: SASM < %{version}
Provides: SASM = %{version}-%{release}
%ifarch x86_64
%if 0%{?fedora}
Requires: gcc, nasm, gdb, glibc-devel(x86-32), libstdc++-devel(x86-32)
%else
Requires: gcc-32bit, nasm, gdb
%endif
%else
Requires: gcc, nasm, gdb
%endif
%description
Simple crossplatform IDE for NASM, MASM, GAS, FASM assembly languages
%prep
tar -xvf ../SOURCES/sasm-%{major}.%{minor}.%{micro}.tar.xz || tar -xvf ../../SOURCES/sasm-%{major}.%{minor}.%{micro}.tar.xz
%build
cd sasm-%{major}.%{minor}.%{micro}
export CXXFLAGS="%optflags -O3 -flto -mfpmath=sse $(getconf LFS_CXXFLAGS)"
export LDFLAGS="-Wl,-z,relro,-z,now"
%if 0%{?fedora}
qmake-qt5 SASM.pro PREFIX=%{buildroot}/usr
%else
qmake-qt5 SASM.pro PREFIX=%{buildroot}/usr
%endif
make %{?_smp_mflags}
%install
cd sasm-%{major}.%{minor}.%{micro}
make install
%files
%defattr(-,root,root)
/usr/bin/sasm
/usr/share/sasm/sasm.png
/usr/share/sasm/keys.ini
/usr/bin/fasm
/usr/bin/listing
/usr/share/sasm/include/io.inc
/usr/share/sasm/include/io64.inc
/usr/share/sasm/NASM/macro.c
/usr/share/sasm/Projects/NASMHello.asm
/usr/share/sasm/Projects/NASMHelloIoInc.asm
/usr/share/sasm/Projects/NASMHellox64.asm
/usr/share/sasm/Projects/NASMSum.asm
/usr/share/sasm/Projects/NASMSumIoInc.asm
/usr/share/sasm/Projects/NASMSumx64.asm
/usr/share/sasm/Projects/FASMHello.asm
/usr/share/sasm/Projects/FASMHellox64.asm
/usr/share/sasm/Projects/FASMSum.asm
/usr/share/sasm/Projects/FASMSumx64.asm
/usr/share/sasm/Projects/GASHello.asm
/usr/share/sasm/Projects/GASHellox64.asm
/usr/share/sasm/Projects/GASSum.asm
/usr/share/sasm/Projects/GASSumx64.asm
/usr/share/applications/sasm.desktop
/usr/share/doc/sasm/changelog.gz
/usr/share/doc/sasm/copyright
%dir /usr/share/sasm/
%dir /usr/share/sasm/NASM
%dir /usr/share/sasm/Projects
%dir /usr/share/sasm/include
%dir /usr/share/doc/sasm/
%changelog
* Fri Feb 07 2025 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.15.0
- Update - 3.15.0 version - recommended to click "Reset all" button in settings after update from previous versions, "Find and replace" dialog improved for keyboard usage (thanks KolhozTools), Brazilian Portuguese language added (thanks williampe99), support for opening .s files added, problems with non-latin usernames in Windows fixed more robustly, cursor jumps during editing while debugging fixed, fresh GCC versions build warnings fixed, fresh GDB versions debugging problems fixed, syntax highlighting fixed, other minor fixes applied.
* Fri Mar 03 2023 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.14.0
- Update - 3.14.0 version - recommended to click "Reset all" button in settings after update from previous versions, add dark theme (thanks Hasan Rüzgar) and French language (thanks Franc Serres).
* Mon Feb 13 2023 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.13.4
- Update - 3.13.4 version - recommended to click "Reset all" button in settings after update from previous versions, fix building on Windows for non-latin usernames, add help window close using escape button.
* Tue Feb 09 2023 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.13.3
- Update - 3.13.3 version - recommended to click "Reset all" button in settings after update from previous versions, linker options fix.
* Tue Feb 07 2023 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.13.2
- Update - 3.13.2 version - recommended to click "Reset all" button in settings after update from previous versions, debugging fixes, new code examples.
* Tue Feb 07 2023 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.13.1
- Update - 3.13.1 version - recommended to click "Reset all" button in settings after update from previous versions, fix debugging on Windows 11 and Ubuntu 22, fix random debugging lags, fix debugger crash when debugging file without .text section, new FASM version 1.73.30 to fix Ubuntu 22 building bug, fix building requirements for Ubuntu 22.
* Mon Feb 06 2023 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.13.0
- Update - 3.13.0 version - recommended to click "Reset all" button in settings after update from previous versions, new input/output functions, get rid of CMAIN/CEXTERN macro, new NASM version 2.15.05, help and examples update, fix string watches in debugging.
* Sun Feb 06 2022 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.12.2
- Update - 3.12.2 version - fix GET_DEC/GET_UDEC/GET_HEX macro with ESP address expressions, fix GDB errors display and running with .gdbinit, fix debugging for programs with segment directive and push ebp/rbp statement, fix NASM multiline comments highlighting and debugging, fix search selection when text changes.
* Sat Feb 13 2021 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.12.1
- Update - 3.12.1 version - fix for debugging with modern NASM versions.
* Sun Feb 07 2021 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.12.0
- Update - 3.12.0 version - run and debug in current code directory if code is saved (for convenient file i/o), UTF-8 support, Qt 5 support for Linux, Portuguese language (thanks alglus), GET_DEC writing in incorrect memory on Windows fix.
* Mon Feb 3 2020 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.11.1
- Update - fix for uncomment keyboard shortcut.
* Fri Jan 31 2020 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.11.0
- Update - 3.11.0 version - bugs in interaction with GDB 8 fixed, register parsing bug fixed, crashing after clicking in memory window fixed (thanks Hofmer13), debug hotkey miss bug fixed, bug that prevented to open files without extension fixed, saving file before building feature added, search for selected text feature added, Italian translation fixed (thanks Mek101).
* Mon Oct 8 2018 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.10.1
- Update - fix for lack of macro object in the linking options after 3.10.0 update.
* Mon Oct 1 2018 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.10.0
- Update - BSD OS support (thanks Martinfx), fix for not working debugging on systems where gcc has default PIE option (thanks lberserq), Spanish language added (thanks Mariano Cordoba), small settings usability fixes.
* Mon Sep 11 2017 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.9.0
- Update - more convinient memory expression watches have been added, debugger crash bug has been fixed (thanks lberserq), Polish (thanks Krzysztof Rossa) and Hebrew (thanks Elian Kamal) languages have been added.
* Sun Feb 19 2017 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.8.0
- Update - registers parsing while debugging has been improved, build in current directory option has been added, Italian language translation has been added.
* Sun Oct 30 2016 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.7.0
- Update - Chinese and German languages have been added, bugs with single application crashes and unprintable characters in output have been fixed.
* Sun Sep 25 2016 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.6.0
- Update - Turkish language has been added, tab key action has been improved.
* Fri Aug 26 2016 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.5.1
- Update - drag & drop bug, debugging bug and some small bugs have been fixed.
* Sat Mar 19 2016 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.5.0
- Update - GoLink linker support, bug with wrong file names when saving and opening has been fixed.
* Thu Feb 11 2016 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.4.0
- Update - ability to change line number font color, ability to switch off debug string insertion.
* Wed Jan 27 2016 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.3.0
- Update - single window, drag and drop for opening files, improved help, some bugs fixes.
* Sun Jun 14 2015 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.2.0
- Update - ability to build programs without running linker, new FASM 1.71.39, fix of some debug problems.
* Wed May 27 2015 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.1.4
- Update - fix of localized systems debug problem.
* Mon Mar 30 2015 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.1.3
- Update - showing description of received signal has been added.
* Fri Mar 27 2015 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.1.2
- Update - debugging files with include has been improved.
* Tue Mar 24 2015 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.1.1
- Update - bugs with hilighter have been fixed.
* Fri Aug 29 2014 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.1.0
- Update - changes from pull requsts and issues - movable tabs, warning message for wrong assembler or linker executable, improve indent operation, noexecstack option for binaries.
* Thu Jul 24 2014 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.0.1
- Update - additional registers view in debugger has been added.
* Sun Jul 13 2014 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 3.0.0
- Update - new assemblers have been added: now NASM, GAS, MASM, FASM are supported, including syntax highlighting, debugging, and x86/x64 modes. Added ability to choose your own assembler or linker filling path to them. Many debugging improvements. Folder for include files. Many bugs have been fixed.
* Wed Apr 24 2014 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 2.3.1
- Update - bug with spaces in path fixed
* Thu Apr 3 2014 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 2.3.0
- Update - x64 feature added, many bugs fixed
* Thu Feb 13 2014 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 2.2.0
- Update - many functions added and bugs fixed
* Wed Nov 13 2013 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 2.1.0
- Update - many functions added and bugs fixed
* Tue Sep 3 2013 Dmitriy "Dman95" Manushin <Dman1095@gmail.com> 2.0.0
- Initial Release