1 Summary: The Netwide Assembler
, a portable x86 assembler with Intel
-like syntax
7 Group: Development
/Languages
8 Source: ftp
://download.sourceforge.net
/pub
/sourceforge
/nasm
/nasm
-%{version}.tar.bz2
9 URL: http
://nasm
.2y.net
/
10 BuildRoot: /tmp
/rpm
-build
-nasm
13 BuildArchitectures
: noarch
%{_arch}
16 Summary: Extensive documentation
for NASM
17 Group: Development
/Languages
18 Prereq
: /sbin
/install-info
21 Summary: Tools
for the RDOFF binary format
, sometimes used with NASM.
22 Group: Development
/Tools
25 NASM is the Netwide Assembler
, a free portable assembler
for the Intel
26 80x86 microprocessor series
, using primarily the traditional Intel
27 instruction mnemonics and syntax.
30 Extensive documentation
for the Netwide Assembler
, NASM
, in HTML
,
31 info
, PostScript and text formats.
34 Tools
for the operating
-system independent RDOFF binary format
, which
35 is sometimes used with the Netwide Assembler
(NASM
). These tools
36 include linker
, library manager
, loader
, and information dump.
42 CFLAGS
="$RPM_OPT_FLAGS" LDFLAGS
=-s .
/configure
--prefix
=/usr
46 rm -rf "$RPM_BUILD_ROOT"
47 mkdir -p "$RPM_BUILD_ROOT"
48 mkdir -p "$RPM_BUILD_ROOT"
/usr
/bin
49 mkdir -p "$RPM_BUILD_ROOT"
/usr
/man
/man1
50 mkdir -p "$RPM_BUILD_ROOT"
/usr
/info
51 DOC
="$RPM_BUILD_ROOT"
/usr
/doc
/nasm
-%{version}
54 rm -f "$RPM_BUILD_ROOT"
/usr
/info
/nasm.
*
55 make INSTALLROOT
="$RPM_BUILD_ROOT" docdir
=/usr
/doc
/nasm
-%{version} install_everything
56 gzip
-9 "$RPM_BUILD_ROOT"
/usr
/info
/nasm.
*
57 gzip
-9 "$DOC"
/*.txt "$DOC"
/*.ps
58 cp AUTHORS CHANGES COPYING README TODO doc
/*.doc "$DOC"
59 cp rdoff
/README "$DOC"
/rdoff
60 cp rdoff
/doc
/* "$DOC"
/rdoff
63 rm -rf "$RPM_BUILD_ROOT"
66 /sbin
/install-info "$RPM_INSTALL_PREFIX"
/info
/nasm.info.gz "$RPM_INSTALL_PREFIX"
/info
/dir
70 /sbin
/install-info
--delete "$RPM_INSTALL_PREFIX"
/info
/nasm.info.gz "$RPM_INSTALL_PREFIX"
/info
/dir
76 %attr(-,root
,root
) %doc /usr
/info
/nasm.info
*.gz
77 %attr(-,root
,root
) %doc /usr
/doc
/nasm
-%{version}/*
82 %attr(-,root
,root
) /usr
/bin
/nasm
83 %attr(-,root
,root
) /usr
/bin
/ndisasm
84 %attr(-,root
,root
) %doc /usr
/man
/man1
/nasm
.1*
85 %attr(-,root
,root
) %doc /usr
/man
/man1
/ndisasm
.1*
88 %attr(-,root
,root
) /usr
/bin
/ldrdf
89 %attr(-,root
,root
) /usr
/bin
/rdf2bin
90 %attr(-,root
,root
) /usr
/bin
/rdf2com
91 %attr(-,root
,root
) /usr
/bin
/rdfdump
92 %attr(-,root
,root
) /usr
/bin
/rdflib
93 %attr(-,root
,root
) /usr
/bin
/rdx
94 %attr(-,root
,root
) %doc /usr
/doc
/nasm
-%{version}/rdoff
/*