|
Packit Service |
3b8507 |
# -*- coding: utf-8 -*-
|
|
Packit Service |
3b8507 |
%define nasm_version 2.15.03
|
|
Packit Service |
3b8507 |
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
|
|
Packit Service |
3b8507 |
Name: nasm
|
|
Packit Service |
3b8507 |
Version: 2.15.03
|
|
Packit Service |
3b8507 |
Release: 0%{?dist}
|
|
Packit Service |
3b8507 |
License: BSD
|
|
Packit Service |
3b8507 |
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{nasm_version}/nasm-%{nasm_version}.tar.xz
|
|
Packit Service |
3b8507 |
URL: http://www.nasm.us/
|
|
Packit Service |
3b8507 |
BuildRoot: /tmp/rpm-build-nasm
|
|
Packit Service |
3b8507 |
Prefix: %{_prefix}
|
|
Packit Service |
3b8507 |
BuildRequires: perl(bytes)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Fcntl)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(File::Basename)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(File::Compare)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(File::Copy)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(File::Find)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(File::Path)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(File::Spec)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(File::Temp)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Font::TTF::Cmap)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Font::TTF::Font)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Font::TTF::Head)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Font::TTF::Hmtx)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Font::TTF::Maxp)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Font::TTF::Post)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Font::TTF::PSNames)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Getopt::Long)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Pod::Usage)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(sort)
|
|
Packit Service |
3b8507 |
BuildRequires: perl(Sort::Versions)
|
|
Packit Service |
3b8507 |
BuildRequires: autoconf
|
|
Packit Service |
3b8507 |
BuildRequires: automake
|
|
Packit Service |
3b8507 |
BuildRequires: asciidoc
|
|
Packit Service |
3b8507 |
BuildRequires: xmlto
|
|
Packit Service |
3b8507 |
BuildRequires: xz
|
|
Packit Service |
3b8507 |
BuildRequires: perl
|
|
Packit Service |
3b8507 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%package doc
|
|
Packit Service |
3b8507 |
Summary: Detailed manual for the Netwide Assembler
|
|
Packit Service |
3b8507 |
BuildArch: noarch
|
|
Packit Service |
3b8507 |
BuildRequires: ghostscript
|
|
Packit Service |
3b8507 |
BuildRequires: fontconfig
|
|
Packit Service |
3b8507 |
BuildRequires: adobe-source-sans-pro-fonts
|
|
Packit Service |
3b8507 |
BuildRequires: adobe-source-code-pro-fonts
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%package rdoff
|
|
Packit Service |
3b8507 |
Summary: Tools for the RDOFF binary format, sometimes used with NASM.
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%description
|
|
Packit Service |
3b8507 |
NASM is the Netwide Assembler, a free portable assembler for the Intel
|
|
Packit Service |
3b8507 |
80x86 microprocessor series, using primarily the traditional Intel
|
|
Packit Service |
3b8507 |
instruction mnemonics and syntax.
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%description doc
|
|
Packit Service |
3b8507 |
Extensive documentation for the Netwide Assembler (NASM) in HTML and
|
|
Packit Service |
3b8507 |
PDF formats.
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%description rdoff
|
|
Packit Service |
3b8507 |
Tools for the operating-system independent RDOFF binary format, which
|
|
Packit Service |
3b8507 |
is sometimes used with the Netwide Assembler (NASM). These tools
|
|
Packit Service |
3b8507 |
include linker, library manager, loader, and information dump.
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%prep
|
|
Packit Service |
3b8507 |
%setup -q -n nasm-%{nasm_version}
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%build
|
|
Packit Service |
3b8507 |
sh autogen.sh
|
|
Packit Service |
3b8507 |
%configure --enable-sections
|
|
Packit Service |
3b8507 |
make %{?_smp_mflags} everything
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%install
|
|
Packit Service |
3b8507 |
rm -rf "%{buildroot}"
|
|
Packit Service |
3b8507 |
mkdir -p "%{buildroot}"/%{_bindir}
|
|
Packit Service |
3b8507 |
mkdir -p "%{buildroot}"/%{_mandir}/man1
|
|
Packit Service |
3b8507 |
make DESTDIR="%{buildroot}" install install_rdf
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%files
|
|
Packit Service |
3b8507 |
%doc AUTHORS
|
|
Packit Service |
3b8507 |
%{_bindir}/nasm
|
|
Packit Service |
3b8507 |
%{_bindir}/ndisasm
|
|
Packit Service |
3b8507 |
%{_mandir}/man1/nasm.1*
|
|
Packit Service |
3b8507 |
%{_mandir}/man1/ndisasm.1*
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%files doc
|
|
Packit Service |
3b8507 |
%doc doc/html doc/nasmdoc.pdf.xz
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
%files rdoff
|
|
Packit Service |
3b8507 |
%{_bindir}/ldrdf
|
|
Packit Service |
3b8507 |
%{_bindir}/rdf2bin
|
|
Packit Service |
3b8507 |
%{_bindir}/rdf2com
|
|
Packit Service |
3b8507 |
%{_bindir}/rdf2ihx
|
|
Packit Service |
3b8507 |
%{_bindir}/rdf2ith
|
|
Packit Service |
3b8507 |
%{_bindir}/rdf2srec
|
|
Packit Service |
3b8507 |
%{_bindir}/rdfdump
|
|
Packit Service |
3b8507 |
%{_bindir}/rdflib
|
|
Packit Service |
3b8507 |
%{_bindir}/rdx
|
|
Packit Service |
3b8507 |
%{_mandir}/man1/ldrdf.1*
|
|
Packit Service |
3b8507 |
%{_mandir}/man1/rd*.1*
|
|
Packit Service |
3b8507 |
|
|
Packit Service |
3b8507 |
# This is the upstream spec file; the change log is in git
|
|
Packit Service |
3b8507 |
%changelog
|