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
13 BuildRequires
: perl
, asciidoc
, xmlto
, ghostscript
, perl
-Font
-TTF
14 BuildRequires
: adobe
-source-sans
-pro
-fonts
, adobe
-source-code
-pro
-fonts
15 BuildRequires
: fontconfig
, xz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
19 Summary: Extensive documentation
for NASM
20 Group: Development
/Languages
23 Summary: Tools
for the RDOFF binary format
, sometimes used with NASM.
24 Group: Development
/Tools
27 NASM is the Netwide Assembler
, a free portable assembler
for the Intel
28 80x86 microprocessor series
, using primarily the traditional Intel
29 instruction mnemonics and syntax.
32 Extensive documentation
for the Netwide Assembler
(NASM
) in HTML and
36 Tools
for the operating
-system independent RDOFF binary format
, which
37 is sometimes used with the Netwide Assembler
(NASM
). These tools
38 include linker
, library manager
, loader
, and information dump.
41 %setup -q
-n nasm
-%{nasm_version}
44 %configure --disable
-pdf
-compression
45 make %{?_smp_mflags} everything
48 rm -rf "$RPM_BUILD_ROOT"
49 mkdir -p "$RPM_BUILD_ROOT"
/%{_bindir}
50 mkdir -p "$RPM_BUILD_ROOT"
/%{_mandir}/man1
51 mkdir -p "$RPM_BUILD_ROOT"
/usr
/tempdoc
52 %makeinstall install_everything docdir
="$RPM_BUILD_ROOT"
/usr
/tempdoc
53 cp
-a $RPM_BUILD_ROOT
/usr
/tempdoc
/html \
54 $RPM_BUILD_ROOT
/usr
/tempdoc
/nasmdoc.pdf .
56 # remove unpackaged files from the buildroot
57 rm -rf $RPM_BUILD_ROOT
%{_prefix}/tempdoc
60 rm -rf "$RPM_BUILD_ROOT"
64 %doc AUTHORS CHANGES README TODO
67 %{_mandir}/man1
/nasm
.1*
68 %{_mandir}/man1
/ndisasm
.1*
72 %doc html nasmdoc.pdf.xz
85 %{_mandir}/man1
/ldrdf
.1*
86 %{_mandir}/man1
/rdf2bin
.1*
87 %{_mandir}/man1
/rdf2com
.1*
88 %{_mandir}/man1
/rdf2ihx
.1*
89 %{_mandir}/man1
/rdf2ith
.1*
90 %{_mandir}/man1
/rdf2srec
.1*
91 %{_mandir}/man1
/rdfdump
.1*
92 %{_mandir}/man1
/rdflib
.1*
93 %{_mandir}/man1
/rdx
.1*