Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions anda/desktops/chasm/show/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "show.spec"
}
}
37 changes: 37 additions & 0 deletions anda/desktops/chasm/show/show.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
%global _hardened_ldflags %nil

Name: show
Release: 1%{?dist}
Version: 0.1.0
Summary: Pure assembly file viewer with syntax highlighting
License: Unlicense
URL: https://github.com/isene/show
Source: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: nasm gcc
BuildRequires: make
Packager: Owen Zimmerman <owen@fyralabs.com>
ExclusiveArch: x86_64
Conflicts: nmh

%description
Pure assembly file viewer with syntax highlighting. Part of CHasm.

%prep
%autosetup -C
sed '/^\s*nasm/s/nasm /nasm -g /;/^\s*ld/s@ld @gcc -nostdlib -fuse-ld=mold -Wl,-z,muldefs %build_ldflags@' -i Makefile

%build
%make_build

%install
%make_install PREFIX=%{_prefix}

%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*

%changelog
* Sun Jul 26 2026 Owen Zimmerman <owen@fyralabs.com> - 0.1.0-1
- Initial commit
1 change: 1 addition & 0 deletions anda/desktops/chasm/show/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("isene/show"));
Loading