no longer obsolete nasm-doc [release 2.16.01-2mamba;Sun Jan 15 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:32:24 +01:00
parent 357eef8a2d
commit 48a6f77d82

121
nasm.spec
View File

@ -1,26 +1,22 @@
Name: nasm Name: nasm
Version: 2.14.02 Version: 2.16.01
Release: 1mamba Release: 2mamba
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sf.net/projects/nasm/ URL: https://sourceforge.net/projects/nasm/
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
Patch0: nasm-2.10.09-fix-texi-rdoff.patch Patch0: nasm-2.10.09-fix-texi-rdoff.patch
License: LGPL License: LGPL
Requires(post):%{__install_info}
Obsoletes: nasm-doc
Provides: nasm-doc = %{?epoch:%epoch:}%{version}-%{release}
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: perl-Sort-Versions
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires(post):%{__install_info}
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: tetex BuildRequires: tetex
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. NASM is the Netwide Assembler, a free portable assembler for the Intel 80x86 microprocessor series, using primarily the traditional Intel instruction mnemonics and syntax.
@ -33,16 +29,18 @@ Group: Development/Tools
Tools for the operating-system independent RDOFF binary format, which is sometimes used with the Netwide #Assembler (NASM). 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. These tools include linker, library manager, loader, and information dump.
#%package doc %package doc
#Summary: Extensive documentation for NASM Summary: Extensive documentation for NASM
#Group: Development/Languages Group: Development/Languages
#
#%description doc %description doc
#Extensive documentation for the Netwide Assembler, NASM, in HTML, info, PostScript and text formats. Extensive documentation for the Netwide Assembler, NASM, in HTML, info, PostScript and text formats.
%debug_package
%prep %prep
%setup -q %setup -q
%patch0 -p1 #%patch0 -p1
./autogen.sh ./autogen.sh
@ -52,69 +50,80 @@ These tools include linker, library manager, loader, and information dump.
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
#make -C doc nasmdoc.dvi #make -C doc nasmdoc.dvi
make -C rdoff/doc info html pdf make -C doc
#info html pdf
%endif %endif
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d %{buildroot}{%_bindir,%_mandir/man1,%_infodir} install -d %{buildroot}{%_bindir,%_mandir/man1,%_infodir}
%makeinstall INSTALLROOT=%{buildroot} %makeinstall INSTALLROOT=%{buildroot} install_everything \
%makeinstall INSTALLROOT=%{buildroot} install_rdf htmldir=%{_docdir}/nasm/html \
docdir=%{_docdir}/nasm
#% makeinstall INSTALLROOT=%{buildroot} install_rdf
%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
install -d %{buildroot}%{_prefix}/tempdoc #install -d %{buildroot}%{_prefix}/tempdoc
%makeinstall -C doc docdir=%{_docdir}/nasm #%makeinstall -C doc docdir=%{_docdir}/nasm
#
install -D -m644 rdoff/doc/rdoff.info \ ##install -D -m644 rdoff/doc/rdoff.info \
%{buildroot}/%{_infodir}/rdoff.info ## %{buildroot}/%{_infodir}/rdoff.info
#gzip -9f rdoff/doc/*.txt ##gzip -9f rdoff/doc/*.txt
%endif #%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
%post rdoff #%post rdoff
%install_info rdoff.info #%install_info rdoff.info
exit 0 #:
#
%preun rdoff #%preun rdoff
%uninstall_info rdoff.info #%uninstall_info rdoff.info
exit 0 #:
%endif #%endif
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/nasm %{_bindir}/nasm
%{_bindir}/ndisasm %{_bindir}/ndisasm
%{_mandir}/man1/* %{_mandir}/man1/*
%dir %{_docdir}/nasm
%{_docdir}/nasm/*
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
#%doc ChangeLog CHANGES README TODO #%doc ChangeLog CHANGES README TODO
%files rdoff #%files rdoff
%defattr(-,root,root)
%{_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) #%defattr(-,root,root)
#%doc html nasmdoc.txt.gz nasmdoc.pdf #%{_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/*
%changelog %changelog
* 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
* Sat Aug 17 2019 Automatic Build System <autodist@mambasoft.it> 2.14.02-1mamba * Sat Aug 17 2019 Automatic Build System <autodist@mambasoft.it> 2.14.02-1mamba
- automatic version update by autodist - automatic version update by autodist