?? nasm.spec
字號(hào):
# $Id: nasm.spec.in,v 1.8 2003/08/29 21:03:44 hpa Exp $Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntaxName: nasmVersion: 0.98.38Serial: 6432256Release: 1Copyright: LGPLGroup: Development/LanguagesSource: ftp://download.sourceforge.net/pub/sourceforge/nasm/nasm-%{version}.tar.bz2URL: http://nasm.sourceforge.net/BuildRoot: /tmp/rpm-build-nasmPrefix: /usrBuildPrereq: perl%package docSummary: Extensive documentation for NASMGroup: Development/LanguagesPrereq: /sbin/install-info%package rdoffSummary: Tools for the RDOFF binary format, sometimes used with NASM.Group: Development/Tools%descriptionNASM is the Netwide Assembler, a free portable assembler for the Intel80x86 microprocessor series, using primarily the traditional Intelinstruction mnemonics and syntax.%description docExtensive documentation for the Netwide Assembler, NASM, in HTML,info, PostScript and text formats.%description rdoffTools for the operating-system independent RDOFF binary format, whichis sometimes used with the Netwide Assembler (NASM). These toolsinclude linker, library manager, loader, and information dump.%prep%setup%buildCFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure --prefix=/usrmake everything%installrm -rf "$RPM_BUILD_ROOT"mkdir -p "$RPM_BUILD_ROOT"mkdir -p "$RPM_BUILD_ROOT"/usr/binmkdir -p "$RPM_BUILD_ROOT"/usr/man/man1mkdir -p "$RPM_BUILD_ROOT"/%{_infodir}DOC="$RPM_BUILD_ROOT"/usr/doc/nasm-%{version}mkdir -p "$DOC"mkdir -p "$DOC"/rdoffrm -f "$RPM_BUILD_ROOT"/usr/info/nasm.*make INSTALLROOT="$RPM_BUILD_ROOT" \ docdir=/usr/doc/nasm-%{version} \ infodir=%{_infodir} \ install_everythinggzip -9 "$RPM_BUILD_ROOT"/%{_infodir}/nasm.*gzip -9 "$DOC"/*.txt "$DOC"/*.pscp AUTHORS CHANGES COPYING README TODO doc/*.doc "$DOC"cp rdoff/README "$DOC"/rdoffcp rdoff/doc/* "$DOC"/rdoff%cleanrm -rf "$RPM_BUILD_ROOT"%post doc/sbin/install-info %{_infodir}/nasm.info.gz %{_infodir}/dir%preun docif [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/nasm.info.gz %{_infodir}/dirfi%files%attr(-,root,root) /usr/bin/nasm%attr(-,root,root) /usr/bin/ndisasm%attr(-,root,root) %doc /usr/man/man1/nasm.1*%attr(-,root,root) %doc /usr/man/man1/ndisasm.1*%files doc%attr(-,root,root) %doc %{_infodir}/nasm.info*.gz%attr(-,root,root) %doc /usr/doc/nasm-%{version}/*%files rdoff%attr(-,root,root) /usr/bin/ldrdf%attr(-,root,root) /usr/bin/rdf2bin%attr(-,root,root) /usr/bin/rdf2com%attr(-,root,root) /usr/bin/rdf2ihx%attr(-,root,root) /usr/bin/rdfdump%attr(-,root,root) /usr/bin/rdflib%attr(-,root,root) /usr/bin/rdx%attr(-,root,root) %doc /usr/doc/nasm-%{version}/rdoff/*
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -