587031
# Build without documentation per default if built as part of a module.
587031
%if 0%{?_module_build}
587031
%bcond_with documentation
587031
%else
587031
# XXX adobe fonts no longer supported, so building with documentation is now suppressed.
587031
%bcond_with documentation
587031
%endif
587031
587031
Summary: A portable x86 assembler which uses Intel-like syntax
587031
Name: nasm
a20c9d
Version: 2.15.03
a20c9d
Release: 3%{?dist}
587031
License: BSD
587031
URL: http://www.nasm.us
a20c9d
Source0: https://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.xz
a20c9d
Source1: https://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}-xdoc.tar.xz
587031
587031
BuildRequires: perl(Env)
587031
BuildRequires: autoconf
a20c9d
BuildRequires: automake
587031
BuildRequires: asciidoc
587031
BuildRequires: xmlto
587031
BuildRequires: gcc
587031
BuildRequires: make
587031
587031
%if %{with documentation}
587031
%package doc
587031
Summary: Documentation for NASM
587031
BuildRequires: perl(Font::TTF::Font)
587031
BuildRequires: perl(Sort::Versions)
587031
BuildRequires: perl(File::Spec)
a20c9d
BuildRequires: perl(sort)
587031
BuildRequires: adobe-source-sans-pro-fonts
587031
BuildRequires: adobe-source-code-pro-fonts
587031
BuildRequires: ghostscript
587031
BuildArch: noarch
587031
# For arch to noarch conversion
587031
Obsoletes: %{name}-doc < %{version}-%{release}
587031
%endif
587031
587031
%package rdoff
587031
Summary: Tools for the RDOFF binary format, sometimes used with NASM
587031
587031
%description
587031
NASM is the Netwide Assembler, a free portable assembler for the Intel
587031
80x86 microprocessor series, using primarily the traditional Intel
587031
instruction mnemonics and syntax.
587031
587031
%if %{with documentation}
587031
%description doc
587031
This package contains documentation for the Netwide Assembler (NASM),
587031
in HTML, PDF, PostScript, and text formats.
587031
%endif
587031
587031
%description rdoff
587031
Tools for the operating-system independent RDOFF binary format, which
587031
is sometimes used with the Netwide Assembler (NASM). These tools
587031
include linker, library manager, loader, and information dump.
587031
587031
%prep
a20c9d
%autosetup
587031
a20c9d
tar xJf %{SOURCE1} --strip-components 1
587031
587031
%build
587031
%configure
587031
%if %{with documentation}
587031
make everything %{?_smp_mflags}
587031
gzip -9f doc/nasmdoc.{ps,txt}
587031
%else
587031
make all %{?_smp_mflags}
587031
%endif
587031
587031
%install
a20c9d
%make_install install_rdf
587031
587031
%files
a20c9d
%license LICENSE
a20c9d
%doc AUTHORS CHANGES README.md
587031
%{_bindir}/nasm
587031
%{_bindir}/ndisasm
587031
%{_mandir}/man1/nasm*
587031
%{_mandir}/man1/ndisasm*
587031
587031
%if %{with documentation}
587031
%files doc
587031
%doc doc/html doc/nasmdoc.txt.gz doc/nasmdoc.ps.gz doc/nasmdoc.pdf
587031
%endif
587031
587031
%files rdoff
587031
%{_bindir}/ldrdf
587031
%{_bindir}/rdf2bin
587031
%{_bindir}/rdf2ihx
587031
%{_bindir}/rdf2com
587031
%{_bindir}/rdfdump
587031
%{_bindir}/rdflib
587031
%{_bindir}/rdx
587031
%{_bindir}/rdf2ith
587031
%{_bindir}/rdf2srec
587031
%{_mandir}/man1/rd*
587031
%{_mandir}/man1/ld*
587031
587031
%changelog
a20c9d
* Wed Nov 11 2020 Martin Cermak <mcermak@redhat.com> - 2.15.03-3
a20c9d
- NVR bump and rebuild for CI gating purposes.
a20c9d
a20c9d
* Fri Oct 30 2020 Nick Clifton <nickc@redhat.com> - 2.15.03-2
a20c9d
- Remove gatimg.yaml as no gating tests are needed.
a20c9d
a20c9d
* Thu Oct 29 2020 Nick Clifton <nickc@redhat.com> - 2.15.03-1
a20c9d
- Rebase to 2.15.  (#1889815)
a20c9d
a20c9d
* Tue Jul 31 2018 Michael Simacek <msimacek@redhat.com> - 2.13.03-2
587031
- Suppress documentation building as the required fonts are no longer available.  #1610010
587031
587031
* Thu Feb 08 2018 Michael Simacek <msimacek@redhat.com> - 2.13.03-1
587031
- Update to upstream version 2.13.03
587031
587031
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.02-3
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
587031
587031
* Thu Jan 11 2018 Michael Simacek <msimacek@redhat.com> - 2.13.02-2
587031
- Add missing BR ghostscript
587031
587031
* Tue Jan 02 2018 Michael Simacek <msimacek@redhat.com> - 2.13.02-1
587031
- Update to upstream version 2.13.02
587031
- Resolves: CVE-2017-17810, CVE-2017-17811, CVE-2017-17812, CVE-2017-17813,
587031
  CVE-2017-17814, CVE-2017-17815, CVE-2017-17816, CVE-2017-17817,
587031
  CVE-2017-17818, CVE-2017-17819, CVE-2017-17820
587031
587031
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.01-4
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
587031
587031
* Wed Jul 26 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.13.01-3
587031
- Fix use-after-free and heap buffer overflow vulnerabilities
587031
- Resolves: CVE-2017-10686, CVE-2017-11111
587031
587031
* Tue Jul 04 2017 Nils Philippsen <nils@redhat.com> - 2.13.01-2
587031
- don't build documentation during modular build
587031
- fix bogus changelog date
587031
587031
* Mon May 22 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.13.01-1
587031
- Update to upstream version 2.13.01
587031
587031
* Tue May  2 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.13-1
587031
- Update to upstream version 2.13
587031
587031
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.02-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
587031
587031
* Tue Jul 12 2016 Roman Vais <rvais@redhat.com> - 2.12.02-1
587031
- Update to upstream version 2.12.02
587031
587031
* Tue Mar 22 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.12.01-1
587031
- Update to upstream version 2.12.01
587031
587031
* Thu Mar  3 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.12-2
587031
- Fix build failure on ppc64
587031
587031
* Mon Feb 29 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.12-1
587031
- Update to upstream version 2.12
587031
587031
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.08-3
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
587031
587031
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11.08-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
587031
587031
* Mon Feb 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.08-1
587031
- Update to upstream version 2.11.08
587031
587031
* Tue Oct 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.06-1
587031
- Update to upstream version 2.11.06
587031
587031
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11.05-3
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
587031
587031
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11.05-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
587031
587031
* Fri May 23 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.05-1
587031
- Update to upstream version 2.11.05
587031
587031
* Mon May 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.04-1
587031
- Update to upstream version 2.11.04
587031
587031
* Mon May 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.03-1
587031
- Update to upstream version 2.11.03
587031
587031
* Fri Mar  7 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.02-1
587031
- Update to upstream version 2.11.02
587031
587031
* Thu Jan  2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11-1
587031
- Update to upstream version 2.11
587031
587031
* Thu Sep 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.09-1
587031
- Update to upstream version 2.10.09
587031
587031
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.07-6
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
587031
587031
* Mon Jul  1 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-5
587031
- Backport upsteam manpage fixes
587031
587031
* Mon Apr  8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-4
587031
- Add missing BR: perl(Env)
587031
- Move rdf manpages to rdf subpackage
587031
587031
* Thu Mar  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-3
587031
- Properly obsolete arch-specific doc subpackage
587031
587031
* Thu Mar  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-2
587031
- Update to current packaging guidelines
587031
- Resolves: rhbz#919008 (doc subpackage should be noarch)
587031
587031
* Wed Jan 30 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-1
587031
- Update to upstream version 2.10.07
587031
587031
* Mon Aug  6 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.03-1
587031
- Update to upstream version 2.10.03
587031
587031
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
587031
587031
* Thu Mar 15 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 2.10-1
587031
- update to 2.10 (#797858)
587031
587031
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09.08-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
587031
587031
* Tue Apr 26 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 2.09.08-1
587031
- update to 2.09.08
587031
  Resolves: #685125 
587031
587031
* Mon Mar 14 2011 Adam Tkac <atkac redhat com> - 2.09.07-1
587031
- update to 2.09.07
587031
587031
* Mon Feb 21 2011 Adam Tkac <atkac redhat com> - 2.09.05-1
587031
- update to 2.09.05
587031
587031
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09.04-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
587031
587031
* Tue Nov 23 2010 Adam Tkac <atkac redhat com> - 2.09.04-1
587031
- update to 2.09.04
587031
587031
* Thu Nov 11 2010 Adam Tkac <atkac redhat com> - 2.09.03-2
587031
- fix URL (#652012)
587031
587031
* Tue Nov 02 2010 Adam Tkac <atkac redhat com> - 2.09.03-1
587031
- update to 2.09.03
587031
587031
* Wed Sep 29 2010 jkeating - 2.09.02-2
587031
- Rebuilt for gcc bug 634757
587031
587031
* Mon Sep 20 2010 Adam Tkac <atkac redhat com> - 2.09.02-1
587031
- update to 2.09.02
587031
587031
* Mon Sep 13 2010 Adam Tkac <atkac redhat com> - 2.09.01-1
587031
- update to 2.09.01
587031
587031
* Thu Sep 02 2010 Adam Tkac <atkac redhat com> - 2.09-1
587031
- update to 2.09
587031
587031
* Fri Aug 13 2010 Adam Tkac <atkac redhat com> - 2.08.02-1
587031
- update to 2.08.02
587031
587031
* Wed Jul 14 2010 Todd Zullinger <tmz@gaggle.net> - 2.08.01-2
587031
- Fix license tag, nasm is under 2 clause BSD since 2.07
587031
587031
* Tue Mar 23 2010 Adam Tkac <atkac redhat com> - 2.08.01-1
587031
- update to 2.08.01
587031
587031
* Thu Aug 20 2009 Zdenek Prikryl <zprikryl@redhat.com> - 2.07-3
587031
- Don't complain if installing with --excludedocs (#515944)
587031
587031
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.07-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
587031
587031
* Tue Jul 21 2009 Adam Tkac <atkac redhat com> - 2.07-1
587031
- update to 2.07
587031
587031
* Fri Jul 10 2009 Zdenek Prikryl <zprikryl@redhat.com> - 2.06-1
587031
- updated to 2.06
587031
587031
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05.01-2
587031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
587031
587031
* Wed Nov 12 2008 Zdenek Prikryl <zprikryl@redhat.com> - 2.05.01-1
587031
- updated to 2.05.01
587031
587031
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.03.01-2
587031
- fix license tag
587031
587031
* Thu Jun 19 2008 Petr Machata <pmachata@redhat.com> - 2.03.01-1
587031
- rebase to a new stable upstream version 2.03.01
587031
587031
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.01-2
587031
- Autorebuild for GCC 4.3
587031
587031
* Tue Jan 29 2008 Petr Machata <pmachata@redhat.com> - 2.01-1
587031
- rebase to a new stable upstream version 2.01
587031
587031
* Wed Feb  7 2007 Petr Machata <pmachata@redhat.com> - 0.98.39-5
587031
- tidy up the specfile per rpmlint comments
587031
- use utf-8 and fix national characters in contributor's names
587031
- port bogus elf patch to new nasm version and turn it on again
587031
587031
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 0.98.39-4
587031
- Ville Skyttä: patch for non-failing %%post, %%preun
587031
- Resolves: #223714
587031
587031
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.98.39-3.2.2
587031
- rebuild
587031
587031
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.98.39-3.2.1
587031
- bump again for double-long bug on ppc(64)
587031
587031
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.98.39-3.2
587031
- rebuilt for new gcc4.1 snapshot and glibc changes
587031
587031
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
587031
- rebuilt
587031
587031
* Mon Apr  4 2005 Jeremy Katz <katzj@redhat.com> - 0.98.39-3
587031
- pdf docs are duplication of html, txt and postscript
587031
587031
* Fri Apr 01 2005 Jindrich Novy <jnovy@redhat.com> 0.98.39-2
587031
- fix yet another vsprintf buffer overflow (#152963)
587031
587031
* Thu Mar 31 2005 Jindrich Novy <jnovy@redhat.com> 0.98.39-1
587031
- update to 0.98.39
587031
- add BuildRequires ghostscript, texinfo to doc subpackage (#110584)
587031
- generate also PDF documentation for nasm (#88431)
587031
- new release fixes CAN-2004-1287 (#143052)
587031
587031
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
587031
- rebuilt
587031
587031
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
587031
- rebuilt
587031
587031
* Fri Sep 26 2003 Florian La Roche <Florian.LaRoche@redhat.de>
587031
- update to 0.98.38 and specfile cleanup
587031
587031
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
587031
- rebuilt
587031
587031
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
587031
- rebuilt
587031
587031
* Tue Dec 17 2002 Phil Knirsch <pknirsch@redhat.com> 0.98.35-2
587031
- Removed ExclusiveArch tag.
587031
- Fixed typo in homepage URL.
587031
587031
* Wed Dec 11 2002 Thomas Woerner <twoerner@redhat.com> 0.98.35-1
587031
- new version 0.98.35
587031
- nasm has new homepage (#77323)
587031
587031
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 0.98.34-2
587031
- fix %%doc list
587031
- remove unpackaged files from the buildroot
587031
587031
* Mon Sep 16 2002 Jeremy Katz <katzj@redhat.com> 0.98.34-1hammer
587031
- add x86_64 to ExclusiveArch list
587031
587031
* Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.98.34-1
587031
- 0.98.34
587031
587031
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
587031
- automated rebuild
587031
587031
* Sun May 26 2002 Tim Powers <timp@redhat.com>
587031
- automated rebuild
587031
587031
* Tue May 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.98.32-1
587031
- 0.98.32
587031
- Various doc files have changed names/been removed/added
587031
- New download location (after the license change, it's at sourceforge)
587031
- The new version is LGPL
587031
- Only build on x86 (#65255)
587031
587031
* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.98.22-2
587031
- Rebuild
587031
587031
* Mon Jan 21 2002 Bernhard Rosenkraenzer <bero@redhat.com>
587031
- Update to 0.98.22 to fix bogus code generation in SDL
587031
- Fix spec file, handle RPM_OPT_FLAGS
587031
587031
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
587031
- automated rebuild
587031
587031
* Tue Aug  7 2001 Trond Eivind Glomsrød <teg@redhat.com>
587031
- Updated patch from H.J. Lu for bogus elf generation (#45986,
587031
  verified by reporter) 
587031
587031
* Thu Apr 26 2001 Trond Eivind Glomsrød <teg@redhat.com>
587031
- Updated patch for bogus elf generation from hjl@gnu.org
587031
587031
* Tue Feb 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
587031
- Add patch from H.J. Lu to avoid creating bogus elf objects (#27489)
587031
587031
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
587031
- automatic rebuild
587031
587031
* Tue Jun 13 2000 Trond Eivind Glomsrød <teg@redhat.com>
587031
- rewrote almost everything. The old specfile was bad, bad, bad.
587031
  Really Bad.
587031
587031
* Tue Apr 04 2000 Erik Troan <ewt@redhat.com>
587031
- moved to distribution (syslinux needs it)
587031
- gzipped man pages
587031
587031
* Thu Dec 02 1999 Preston Brown <pbrown@redhat.com>
587031
- adopted from one of the best .spec files I have seen in a long time. :)