diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-12-06 07:02:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 07:02:50 +0300 |
commit | d80f61af89d4c8cb1205c9ed9696d888335d5f6d (patch) | |
tree | 8c636b48ef668e61f4b0ce49d2be1932463442f3 | |
parent | ed37afc4f15cd6938385fc10dd1291c19145bc6d (diff) | |
parent | d3fe0726aff524725db4fe95d4e601d20986182c (diff) |
Merge pull request #1 from andrewclarkii/master
add spec file for CentOS/Fedora
-rw-r--r-- | rpm/nesasm.spec | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/rpm/nesasm.spec b/rpm/nesasm.spec new file mode 100644 index 0000000..95c946f --- /dev/null +++ b/rpm/nesasm.spec @@ -0,0 +1,37 @@ +Name: nesasm +Version: 3.6 +Release: 1%{?dist} +Summary: 6502 assembler with specific NES support + +License: MIT +URL: https://github.com/ClusterM/nesasm +Source0: https://github.com/ClusterM/nesasm/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: make + +%description +Just another modification of nesasm. Based on modification by Tim Hentenaar +which is based on modification by Bob Rost which is based on modification +of nesasm 2.51 from MagicKit which is based on 6502 assembler +by J. H. Van Ornum. + +%prep +%setup -q + + +%build +make %{?_smp_mflags} CFLAGS="%{optflags}" -C source/ + + +%install +install -pD -m 755 %{name} %buildroot%_bindir/%{name} + + +%files +%doc documentation/*.txt README.md +%_bindir/* + +%changelog +* Sat Dec 04 2021 Andrew Clark <andrewclarkii@gmail.com> - 3.6-1 +- Initial version |