2024-01-06 07:32:24 +01:00
|
|
|
Name: nasm
|
2024-01-06 07:32:24 +01:00
|
|
|
Version: 2.16.01
|
|
|
|
Release: 2mamba
|
2024-01-06 07:32:24 +01:00
|
|
|
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:32:24 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://sourceforge.net/projects/nasm/
|
2024-01-06 07:32:24 +01:00
|
|
|
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
|
|
|
|
Patch0: nasm-2.10.09-fix-texi-rdoff.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:32:24 +01:00
|
|
|
Requires(post):%{__install_info}
|
2024-01-06 07:32:24 +01:00
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
BuildRequires: tetex
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
NASM is the Netwide Assembler, a free portable assembler for the Intel 80x86 microprocessor series, using primarily the traditional Intel instruction mnemonics and syntax.
|
|
|
|
|
|
|
|
%package rdoff
|
|
|
|
Summary: Tools for the RDOFF binary format, sometimes used with NASM.
|
|
|
|
Group: Development/Tools
|
|
|
|
|
|
|
|
%description rdoff
|
|
|
|
Tools for the operating-system independent RDOFF binary format, which is sometimes used with the Netwide #Assembler (NASM).
|
|
|
|
These tools include linker, library manager, loader, and information dump.
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
%package doc
|
|
|
|
Summary: Extensive documentation for NASM
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Extensive documentation for the Netwide Assembler, NASM, in HTML, info, PostScript and text formats.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-06 07:32:24 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:32:24 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 07:32:24 +01:00
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
./autogen.sh
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
%build
|
|
|
|
%configure
|
2024-01-06 07:32:24 +01:00
|
|
|
%make everything || make everything
|
2024-01-06 07:32:24 +01:00
|
|
|
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
#make -C doc nasmdoc.dvi
|
2024-01-06 07:32:24 +01:00
|
|
|
make -C doc
|
|
|
|
#info html pdf
|
2024-01-06 07:32:24 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
install -d %{buildroot}{%_bindir,%_mandir/man1,%_infodir}
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
%makeinstall INSTALLROOT=%{buildroot} install_everything \
|
|
|
|
htmldir=%{_docdir}/nasm/html \
|
|
|
|
docdir=%{_docdir}/nasm
|
|
|
|
#% makeinstall INSTALLROOT=%{buildroot} install_rdf
|
2024-01-06 07:32:24 +01:00
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
#%if "%{stage1}" != "1"
|
|
|
|
#install -d %{buildroot}%{_prefix}/tempdoc
|
|
|
|
#%makeinstall -C doc docdir=%{_docdir}/nasm
|
|
|
|
#
|
|
|
|
##install -D -m644 rdoff/doc/rdoff.info \
|
|
|
|
## %{buildroot}/%{_infodir}/rdoff.info
|
|
|
|
##gzip -9f rdoff/doc/*.txt
|
|
|
|
#%endif
|
2024-01-06 07:32:24 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
#%if "%{stage1}" != "1"
|
|
|
|
#%post rdoff
|
|
|
|
#%install_info rdoff.info
|
|
|
|
#:
|
|
|
|
#
|
|
|
|
#%preun rdoff
|
|
|
|
#%uninstall_info rdoff.info
|
|
|
|
#:
|
|
|
|
#%endif
|
2024-01-06 07:32:24 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/nasm
|
|
|
|
%{_bindir}/ndisasm
|
|
|
|
%{_mandir}/man1/*
|
2024-01-06 07:32:24 +01:00
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
#%doc ChangeLog CHANGES README TODO
|
2024-01-06 07:32:24 +01:00
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
#%files rdoff
|
2024-01-06 07:32:24 +01:00
|
|
|
#%defattr(-,root,root)
|
2024-01-06 07:32:24 +01:00
|
|
|
#%{_bindir}/ldrdf
|
|
|
|
#%{_bindir}/rdf2bin
|
|
|
|
#%{_bindir}/rdf2com
|
|
|
|
#%{_bindir}/rdf2ihx
|
|
|
|
#%{_bindir}/rdf2ith
|
|
|
|
#%{_bindir}/rdf2srec
|
|
|
|
#%{_bindir}/rdfdump
|
|
|
|
#%{_bindir}/rdflib
|
|
|
|
#%{_bindir}/rdx
|
|
|
|
##%if "%{stage1}" != "1"
|
|
|
|
##%{_infodir}/rdoff.info.*
|
|
|
|
####%doc rdoff/doc/rdoff rdoff/doc/*.txt rdoff/doc/rdoff.pdf
|
|
|
|
##%endif
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_docdir}/nasm
|
|
|
|
%dir %{_docdir}/nasm/html
|
|
|
|
%{_docdir}/nasm/html/*
|
|
|
|
%dir %{_docdir}/nasm
|
|
|
|
%{_docdir}/nasm/*
|
2024-01-06 07:32:24 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:32:24 +01:00
|
|
|
* Sun Jan 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.16.01-2mamba
|
|
|
|
- no longer obsolete nasm-doc
|
|
|
|
|
|
|
|
* Sat Jan 14 2023 Automatic Build System <autodist@mambasoft.it> 2.16.01-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
* Sat Aug 17 2019 Automatic Build System <autodist@mambasoft.it> 2.14.02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
* Wed Dec 07 2016 Automatic Build System <autodist@mambasoft.it> 2.12.02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
* Wed Mar 25 2015 Automatic Build System <autodist@mambasoft.it> 2.11.08-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
* Thu Oct 30 2014 Automatic Build System <autodist@mambasoft.it> 2.11.06-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
* Thu Jun 05 2014 Automatic Build System <autodist@mambasoft.it> 2.11.05-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:32:24 +01:00
|
|
|
* Thu Feb 20 2014 Automatic Build System <autodist@mambasoft.it> 2.11.01-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 08 2014 Automatic Build System <autodist@mambasoft.it> 2.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 2.10.09-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 06 2013 Automatic Build System <autodist@mambasoft.it> 2.10.07-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 10 2012 Automatic Build System <autodist@mambasoft.it> 2.10.06-1mamba
|
|
|
|
- update to 2.10.06
|
|
|
|
|
|
|
|
* Sun Aug 09 2009 Automatic Build System <autodist@mambasoft.it> 2.07-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.05.01-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu May 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-1mamba
|
|
|
|
- update to 2.02
|
|
|
|
|
|
|
|
* Tue Dec 04 2007 Aleph0 <aleph0@openmamba.org> 2.00-2mamba
|
|
|
|
- new subpackage rdoff with some tools for the RDOFF binary format
|
|
|
|
|
|
|
|
* Tue Dec 04 2007 Aleph0 <aleph0@openmamba.org> 2.00-1mamba
|
|
|
|
- update to 2.00
|
|
|
|
- removed patch against CVE-2005-1194 (merged upstream)
|
|
|
|
|
|
|
|
* Thu May 05 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.98.39-1qilnx
|
|
|
|
- update to version 0.98.39 by autospec (CAN-2004-1287 fixed in this release)
|
|
|
|
- security fix QSA-2005-061 (CAN-2005-1194)
|
|
|
|
|
|
|
|
* Mon Jan 17 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.98.38-3qilnx
|
|
|
|
- added documentation
|
|
|
|
|
|
|
|
* Fri Jan 14 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.98.38-2qilnx
|
|
|
|
- security fix QSA-2005-002 (CAN-2004-1287)
|
|
|
|
- specfile cleanups
|
|
|
|
|
|
|
|
* Fri Dec 19 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98.38-1qilnx
|
|
|
|
- new version build
|
|
|
|
|
|
|
|
* Tue Apr 08 2003 Luca Tinelli <luca.tinelli@qinet.it>
|
|
|
|
- first build
|