1 # -*- coding: utf-8 -*-
2 %define nasm_version @@NASM_VER@@
3 Summary: The Netwide Assembler
, a portable x86 assembler with Intel
-like syntax
5 Version: @@NASM_MANGLED_VER@@
8 Group: Development
/Languages
9 Source: http
://www.nasm.us
/pub
/nasm
/releasebuilds
/%{nasm_version}/nasm-%{nasm_version}.tar.xz
10 URL: http
://www.nasm.us
/
11 BuildRoot: /tmp
/rpm
-build
-nasm
14 BuildRequires
: autoconf
15 BuildRequires
: asciidoc
17 BuildRequires
: ghostscript
18 BuildRequires
: fontconfig
19 BuildRequires
: adobe
-source-sans
-pro
-fonts
20 BuildRequires
: adobe
-source-code
-pro
-fonts
22 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
25 Summary: Extensive documentation
for NASM
26 Group: Development
/Languages
29 Summary: Tools
for the RDOFF binary format
, sometimes used with NASM.
30 Group: Development
/Tools
33 NASM is the Netwide Assembler
, a free portable assembler
for the Intel
34 80x86 microprocessor series
, using primarily the traditional Intel
35 instruction mnemonics and syntax.
38 Extensive documentation
for the Netwide Assembler
(NASM
) in HTML and
42 Tools
for the operating
-system independent RDOFF binary format
, which
43 is sometimes used with the Netwide Assembler
(NASM
). These tools
44 include linker
, library manager
, loader
, and information dump.
47 %setup -q
-n nasm
-%{nasm_version}
51 %configure --disable
-pdf
-compression
--enable-lto
52 make %{?_smp_mflags} everything
53 xz
-9ef doc
/nasmdoc.pdf
56 rm -rf "$RPM_BUILD_ROOT"
57 mkdir -p "$RPM_BUILD_ROOT"
/%{_bindir}
58 mkdir -p "$RPM_BUILD_ROOT"
/%{_mandir}/man1
59 make INSTALLROOT
="$RPM_BUILD_ROOT"
install install_rdf
62 %doc AUTHORS CHANGES README TODO
65 %{_mandir}/man1
/nasm
.1*
66 %{_mandir}/man1
/ndisasm
.1*
69 %doc doc
/html doc
/nasmdoc.pdf.xz
81 %{_mandir}/man1
/ldrdf
.1*
82 %{_mandir}/man1
/rd
*.1*
84 # This is the upstream spec file; the change log is in git