source: spec/trunk/SPECS/nasm.spec@ 1826

Last change on this file since 1826 was 1823, checked in by tellie, 3 years ago

spec: whois: Release version 5.5.15-1.

File size: 3.0 KB
Line 
1%bcond_without documentation
2
3Summary: A portable x86 assembler which uses Intel-like syntax
4Name: nasm
5Version: 2.14.02
6Release: 1%{?dist}
7License: BSD
8URL: http://www.nasm.us
9Vendor: bww bitwise works GmbH
10%scm_source github https://github.com/bitwiseworks/%{name}-os2 %{version}-os2
11Source1: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}-xdoc.tar.bz2
12
13BuildRequires: perl
14BuildRequires: autoconf
15BuildRequires: asciidoc
16BuildRequires: xmlto
17BuildRequires: gcc
18BuildRequires: make
19
20%if %{with documentation}
21%package doc
22Summary: Documentation for NASM
23BuildRequires: perl(Font::TTF::Font)
24BuildRequires: perl(Sort::Versions)
25BuildRequires: perl(File::Spec)
26BuildRequires: adobe-source-sans-pro-fonts
27BuildRequires: adobe-source-code-pro-fonts
28BuildRequires: ghostscript
29BuildArch: noarch
30# For arch to noarch conversion
31Obsoletes: %{name}-doc < %{version}-%{release}
32%endif
33
34%package rdoff
35Summary: Tools for the RDOFF binary format, sometimes used with NASM
36
37%description
38NASM is the Netwide Assembler, a free portable assembler for the Intel
3980x86 microprocessor series, using primarily the traditional Intel
40instruction mnemonics and syntax.
41
42%if %{with documentation}
43%description doc
44This package contains documentation for the Netwide Assembler (NASM),
45in HTML, info, PostScript, and text formats.
46%endif
47
48%description rdoff
49Tools for the operating-system independent RDOFF binary format, which
50is sometimes used with the Netwide Assembler (NASM). These tools
51include linker, library manager, loader, and information dump.
52
53%debug_package
54
55%prep
56%scm_setup
57
58tar xjf %{SOURCE1} --strip-components 1
59
60%build
61autoreconf
62export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
63export LIBS="-lcx"
64%configure
65%if %{with documentation}
66make everything %{?_smp_mflags}
67gzip -9f doc/nasmdoc.ps
68gzip -9f doc/nasmdoc.txt
69%else
70make all %{?_smp_mflags}
71%endif
72
73%install
74%make_install install_rdf
75
76%files
77%doc AUTHORS CHANGES README TODO
78%{_bindir}/nasm.exe
79%{_bindir}/ndisasm.exe
80%{_mandir}/man1/nasm*
81%{_mandir}/man1/ndisasm*
82
83%if %{with documentation}
84%files doc
85%doc doc/html doc/nasmdoc.txt.gz doc/nasmdoc.ps.gz doc/nasmdoc.pdf
86%endif
87
88%files rdoff
89%{_bindir}/ldrdf.exe
90%{_bindir}/rdf2bin.exe
91%{_bindir}/rdf2ihx.exe
92%{_bindir}/rdf2com.exe
93%{_bindir}/rdfdump.exe
94%{_bindir}/rdflib.exe
95%{_bindir}/rdx.exe
96%{_bindir}/rdf2ith.exe
97%{_bindir}/rdf2srec.exe
98%{_mandir}/man1/rd*
99%{_mandir}/man1/ld*
100
101%changelog
102* Thu Apr 23 2020 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.14.02-1
103- updated to vendor version 2.14.02
104- synchronized with fedora spec
105
106* Wed Feb 21 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.13.03-1
107- updated to vendor version 2.13.03
108
109* Tue Dec 29 2015 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.11.8-2
110- added enhancement from http://sourceforge.net/p/nasm/mailman/message/34609638/
111 this is needed for vbox port, see vbox ticket #31 for further reference
112- changed debug creation to latest rpm macros
113
114* Thu Apr 30 2015 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.11.8-1
115- update to 2.11.8
Note: See TracBrowser for help on using the repository browser.