Blame SPECS/nasm.spec

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