5fc368
Summary: A portable x86 assembler which uses Intel-like syntax
5fc368
Name: nasm
5fc368
Version: 2.10.07
5fc368
Release: 7%{?dist}
5fc368
License: BSD
5fc368
URL: http://www.nasm.us
5fc368
Source0: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.bz2
5fc368
Source1: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}-xdoc.tar.bz2
5fc368
Patch1: %{name}-manpages.patch
5fc368
BuildRequires: perl(Env)
5fc368
BuildRequires: autoconf
5fc368
BuildRequires: asciidoc
5fc368
BuildRequires: xmlto
5fc368
Requires(post): /sbin/install-info
5fc368
Requires(preun): /sbin/install-info
5fc368
5fc368
%package doc
5fc368
Summary: Documentation for NASM
5fc368
BuildRequires: ghostscript, texinfo
5fc368
BuildArch: noarch
5fc368
# For arch to noarch conversion
5fc368
Obsoletes: %{name}-doc < %{version}-%{release}
5fc368
5fc368
%package rdoff
5fc368
Summary: Tools for the RDOFF binary format, sometimes used with NASM
5fc368
5fc368
%description
5fc368
NASM is the Netwide Assembler, a free portable assembler for the Intel
5fc368
80x86 microprocessor series, using primarily the traditional Intel
5fc368
instruction mnemonics and syntax.
5fc368
5fc368
%description doc
5fc368
This package contains documentation for the Netwide Assembler (NASM),
5fc368
in HTML, info, PostScript, and text formats.
5fc368
5fc368
%description rdoff
5fc368
Tools for the operating-system independent RDOFF binary format, which
5fc368
is sometimes used with the Netwide Assembler (NASM). These tools
5fc368
include linker, library manager, loader, and information dump.
5fc368
5fc368
%prep
5fc368
%setup -q
5fc368
tar xjf %{SOURCE1} --strip-components 1
5fc368
%patch1 -p1
5fc368
5fc368
%build
5fc368
autoreconf
5fc368
%configure
5fc368
make everything %{?_smp_mflags}
5fc368
gzip -9f doc/nasmdoc.{ps,txt}
5fc368
5fc368
%install
5fc368
mkdir -p $RPM_BUILD_ROOT%{_bindir}
5fc368
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
5fc368
make INSTALLROOT=$RPM_BUILD_ROOT install install_rdf
5fc368
install -d $RPM_BUILD_ROOT/%{_infodir}
5fc368
install -t $RPM_BUILD_ROOT/%{_infodir} doc/info/*
5fc368
5fc368
%post
5fc368
if [ -e %{_infodir}/nasm.info.gz ]; then
5fc368
  /sbin/install-info %{_infodir}/nasm.info.gz  %{_infodir}/dir || :
5fc368
fi
5fc368
5fc368
%preun
5fc368
if [ $1 = 0 -a -e %{_infodir}/nasm.info.gz ]; then
5fc368
  /sbin/install-info --delete %{_infodir}/nasm.info.gz %{_infodir}/dir || :
5fc368
fi
5fc368
5fc368
%files
5fc368
%doc AUTHORS CHANGES README TODO
5fc368
%{_bindir}/nasm
5fc368
%{_bindir}/ndisasm
5fc368
%{_mandir}/man1/nasm*
5fc368
%{_mandir}/man1/ndisasm*
5fc368
%{_infodir}/nasm.info*.gz
5fc368
5fc368
%files doc
5fc368
%doc doc/html doc/nasmdoc.txt.gz doc/nasmdoc.ps.gz
5fc368
5fc368
%files rdoff
5fc368
%{_bindir}/ldrdf
5fc368
%{_bindir}/rdf2bin
5fc368
%{_bindir}/rdf2ihx
5fc368
%{_bindir}/rdf2com
5fc368
%{_bindir}/rdfdump
5fc368
%{_bindir}/rdflib
5fc368
%{_bindir}/rdx
5fc368
%{_bindir}/rdf2ith
5fc368
%{_bindir}/rdf2srec
5fc368
%{_mandir}/man1/rd*
5fc368
%{_mandir}/man1/ld*
5fc368
5fc368
%changelog
5fc368
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.10.07-7
5fc368
- Mass rebuild 2014-01-24
5fc368
5fc368
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.10.07-6
5fc368
- Mass rebuild 2013-12-27
5fc368
5fc368
* Mon Jul  1 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-5
5fc368
- Move rdf manpages to rdf subpackage
5fc368
5fc368
* Mon Jul  1 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-4
5fc368
- Backport upsteam manpage fixes
5fc368
- Resolves: rhbz#948792
5fc368
5fc368
* Thu Mar  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-3
5fc368
- Properly obsolete arch-specific doc subpackage
5fc368
5fc368
* Thu Mar  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-2
5fc368
- Update to current packaging guidelines
5fc368
- Resolves: rhbz#919008 (doc subpackage should be noarch)
5fc368
5fc368
* Wed Jan 30 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.07-1
5fc368
- Update to upstream version 2.10.07
5fc368
5fc368
* Mon Aug  6 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.10.03-1
5fc368
- Update to upstream version 2.10.03
5fc368
5fc368
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10-2
5fc368
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5fc368
5fc368
* Thu Mar 15 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 2.10-1
5fc368
- update to 2.10 (#797858)
5fc368
5fc368
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09.08-2
5fc368
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5fc368
5fc368
* Tue Apr 26 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 2.09.08-1
5fc368
- update to 2.09.08
5fc368
  Resolves: #685125 
5fc368
5fc368
* Mon Mar 14 2011 Adam Tkac <atkac redhat com> - 2.09.07-1
5fc368
- update to 2.09.07
5fc368
5fc368
* Mon Feb 21 2011 Adam Tkac <atkac redhat com> - 2.09.05-1
5fc368
- update to 2.09.05
5fc368
5fc368
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09.04-2
5fc368
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5fc368
5fc368
* Tue Nov 23 2010 Adam Tkac <atkac redhat com> - 2.09.04-1
5fc368
- update to 2.09.04
5fc368
5fc368
* Thu Nov 11 2010 Adam Tkac <atkac redhat com> - 2.09.03-2
5fc368
- fix URL (#652012)
5fc368
5fc368
* Tue Nov 02 2010 Adam Tkac <atkac redhat com> - 2.09.03-1
5fc368
- update to 2.09.03
5fc368
5fc368
* Wed Sep 29 2010 jkeating - 2.09.02-2
5fc368
- Rebuilt for gcc bug 634757
5fc368
5fc368
* Mon Sep 20 2010 Adam Tkac <atkac redhat com> - 2.09.02-1
5fc368
- update to 2.09.02
5fc368
5fc368
* Mon Sep 13 2010 Adam Tkac <atkac redhat com> - 2.09.01-1
5fc368
- update to 2.09.01
5fc368
5fc368
* Thu Sep 02 2010 Adam Tkac <atkac redhat com> - 2.09-1
5fc368
- update to 2.09
5fc368
5fc368
* Fri Aug 13 2010 Adam Tkac <atkac redhat com> - 2.08.02-1
5fc368
- update to 2.08.02
5fc368
5fc368
* Wed Jul 14 2010 Todd Zullinger <tmz@gaggle.net> - 2.08.01-2
5fc368
- Fix license tag, nasm is under 2 clause BSD since 2.07
5fc368
5fc368
* Tue Mar 23 2010 Adam Tkac <atkac redhat com> - 2.08.01-1
5fc368
- update to 2.08.01
5fc368
5fc368
* Thu Aug 20 2009 Zdenek Prikryl <zprikryl@redhat.com> - 2.07-3
5fc368
- Don't complain if installing with --excludedocs (#515944)
5fc368
5fc368
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.07-2
5fc368
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5fc368
5fc368
* Tue Jul 21 2009 Adam Tkac <atkac redhat com> - 2.07-1
5fc368
- update to 2.07
5fc368
5fc368
* Wed Jul 10 2009 Zdenek Prikryl <zprikryl@redhat.com> - 2.06-1
5fc368
- updated to 2.06
5fc368
5fc368
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05.01-2
5fc368
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5fc368
5fc368
* Wed Nov 12 2008 Zdenek Prikryl <zprikryl@redhat.com> - 2.05.01-1
5fc368
- updated to 2.05.01
5fc368
5fc368
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.03.01-2
5fc368
- fix license tag
5fc368
5fc368
* Thu Jun 19 2008 Petr Machata <pmachata@redhat.com> - 2.03.01-1
5fc368
- rebase to a new stable upstream version 2.03.01
5fc368
5fc368
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.01-2
5fc368
- Autorebuild for GCC 4.3
5fc368
5fc368
* Tue Jan 29 2008 Petr Machata <pmachata@redhat.com> - 2.01-1
5fc368
- rebase to a new stable upstream version 2.01
5fc368
5fc368
* Wed Feb  7 2007 Petr Machata <pmachata@redhat.com> - 0.98.39-5
5fc368
- tidy up the specfile per rpmlint comments
5fc368
- use utf-8 and fix national characters in contributor's names
5fc368
- port bogus elf patch to new nasm version and turn it on again
5fc368
5fc368
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 0.98.39-4
5fc368
- Ville Skyttä: patch for non-failing %%post, %%preun
5fc368
- Resolves: #223714
5fc368
5fc368
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.98.39-3.2.2
5fc368
- rebuild
5fc368
5fc368
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.98.39-3.2.1
5fc368
- bump again for double-long bug on ppc(64)
5fc368
5fc368
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.98.39-3.2
5fc368
- rebuilt for new gcc4.1 snapshot and glibc changes
5fc368
5fc368
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
5fc368
- rebuilt
5fc368
5fc368
* Mon Apr  4 2005 Jeremy Katz <katzj@redhat.com> - 0.98.39-3
5fc368
- pdf docs are duplication of html, txt and postscript
5fc368
5fc368
* Fri Apr 01 2005 Jindrich Novy <jnovy@redhat.com> 0.98.39-2
5fc368
- fix yet another vsprintf buffer overflow (#152963)
5fc368
5fc368
* Thu Mar 31 2005 Jindrich Novy <jnovy@redhat.com> 0.98.39-1
5fc368
- update to 0.98.39
5fc368
- add BuildRequires ghostscript, texinfo to doc subpackage (#110584)
5fc368
- generate also PDF documentation for nasm (#88431)
5fc368
- new release fixes CAN-2004-1287 (#143052)
5fc368
5fc368
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
5fc368
- rebuilt
5fc368
5fc368
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
5fc368
- rebuilt
5fc368
5fc368
* Fri Sep 26 2003 Florian La Roche <Florian.LaRoche@redhat.de>
5fc368
- update to 0.98.38 and specfile cleanup
5fc368
5fc368
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
5fc368
- rebuilt
5fc368
5fc368
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
5fc368
- rebuilt
5fc368
5fc368
* Tue Dec 17 2002 Phil Knirsch <pknirsch@redhat.com> 0.98.35-2
5fc368
- Removed ExclusiveArch tag.
5fc368
- Fixed typo in homepage URL.
5fc368
5fc368
* Wed Dec 11 2002 Thomas Woerner <twoerner@redhat.com> 0.98.35-1
5fc368
- new version 0.98.35
5fc368
- nasm has new homepage (#77323)
5fc368
5fc368
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 0.98.34-2
5fc368
- fix %%doc list
5fc368
- remove unpackaged files from the buildroot
5fc368
5fc368
* Mon Sep 16 2002 Jeremy Katz <katzj@redhat.com> 0.98.34-1hammer
5fc368
- add x86_64 to ExclusiveArch list
5fc368
5fc368
* Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.98.34-1
5fc368
- 0.98.34
5fc368
5fc368
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
5fc368
- automated rebuild
5fc368
5fc368
* Sun May 26 2002 Tim Powers <timp@redhat.com>
5fc368
- automated rebuild
5fc368
5fc368
* Tue May 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.98.32-1
5fc368
- 0.98.32
5fc368
- Various doc files have changed names/been removed/added
5fc368
- New download location (after the license change, it's at sourceforge)
5fc368
- The new version is LGPL
5fc368
- Only build on x86 (#65255)
5fc368
5fc368
* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.98.22-2
5fc368
- Rebuild
5fc368
5fc368
* Mon Jan 21 2002 Bernhard Rosenkraenzer <bero@redhat.com>
5fc368
- Update to 0.98.22 to fix bogus code generation in SDL
5fc368
- Fix spec file, handle RPM_OPT_FLAGS
5fc368
5fc368
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
5fc368
- automated rebuild
5fc368
5fc368
* Tue Aug  7 2001 Trond Eivind Glomsrød <teg@redhat.com>
5fc368
- Updated patch from H.J. Lu for bogus elf generation (#45986,
5fc368
  verified by reporter) 
5fc368
5fc368
* Thu Apr 26 2001 Trond Eivind Glomsrød <teg@redhat.com>
5fc368
- Updated patch for bogus elf generation from hjl@gnu.org
5fc368
5fc368
* Tue Feb 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
5fc368
- Add patch from H.J. Lu to avoid creating bogus elf objects (#27489)
5fc368
5fc368
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
5fc368
- automatic rebuild
5fc368
5fc368
* Tue Jun 13 2000 Trond Eivind Glomsrød <teg@redhat.com>
5fc368
- rewrote almost everything. The old specfile was bad, bad, bad.
5fc368
  Really Bad.
5fc368
5fc368
* Tue Apr 04 2000 Erik Troan <ewt@redhat.com>
5fc368
- moved to distribution (syslinux needs it)
5fc368
- gzipped man pages
5fc368
5fc368
* Thu Dec 02 1999 Preston Brown <pbrown@redhat.com>
5fc368
- adopted from one of the best .spec files I have seen in a long time. :)