automatic version update by autodist [release 2.14.02-1mamba;Sat Aug 17 2019]

This commit is contained in:
Automatic Build System 2024-01-06 07:32:24 +01:00
parent 72cf0a5cf2
commit 357eef8a2d

View File

@ -1,5 +1,5 @@
Name: nasm
Version: 2.12.02
Version: 2.14.02
Release: 1mamba
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
Group: Development/Tools
@ -15,6 +15,7 @@ Obsoletes: nasm-doc
Provides: nasm-doc = %{?epoch:%epoch:}%{version}-%{release}
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: perl-Sort-Versions
## AUTOBUILDREQ-END
%if "%{stage1}" != "1"
BuildRequires: tetex
@ -43,12 +44,11 @@ These tools include linker, library manager, loader, and information dump.
%setup -q
%patch0 -p1
./autogen.sh
%build
%configure
%make everything \
%if "%{stage1}" == "1"
PSTOPDF=true
%endif
%make everything || make everything
%if "%{stage1}" != "1"
#make -C doc nasmdoc.dvi
@ -64,14 +64,7 @@ install -d %{buildroot}{%_bindir,%_mandir/man1,%_infodir}
%if "%{stage1}" != "1"
install -d %{buildroot}%{_prefix}/tempdoc
make -C doc install \
INSTALLROOT="%{buildroot}" \
docdir="%{_prefix}/tempdoc"
cp -a %{buildroot}/usr/tempdoc/html \
%{buildroot}/usr/tempdoc/nasmdoc.{txt,pdf} .
#gzip -9f nasmdoc.txt
rm -rf %{buildroot}%{_prefix}/tempdoc
%makeinstall -C doc docdir=%{_docdir}/nasm
install -D -m644 rdoff/doc/rdoff.info \
%{buildroot}/%{_infodir}/rdoff.info
@ -82,20 +75,12 @@ install -D -m644 rdoff/doc/rdoff.info \
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%if "%{stage1}" != "1"
%post
%install_info nasm.info
exit 0
%preun
%uninstall_info nasm.info
exit 0
%post rdoff
%install_info nasm.info
%install_info rdoff.info
exit 0
%preun rdoff
%uninstall_info nasm.info
%uninstall_info rdoff.info
exit 0
%endif
@ -104,13 +89,10 @@ exit 0
%{_bindir}/nasm
%{_bindir}/ndisasm
%{_mandir}/man1/*
%if "%{stage1}" != "1"
%{_infodir}/nasm.info*
%doc html nasmdoc.txt
%doc nasmdoc.pdf
%endif
%doc AUTHORS ChangeLog
%doc CHANGES LICENSE README TODO
%dir %{_docdir}/nasm
%{_docdir}/nasm/*
%doc AUTHORS LICENSE
#%doc ChangeLog CHANGES README TODO
%files rdoff
%defattr(-,root,root)
@ -125,7 +107,7 @@ exit 0
%{_bindir}/rdx
%if "%{stage1}" != "1"
%{_infodir}/rdoff.info.*
%doc rdoff/doc/rdoff rdoff/doc/*.txt rdoff/doc/rdoff.pdf
##%doc rdoff/doc/rdoff rdoff/doc/*.txt rdoff/doc/rdoff.pdf
%endif
#%files doc
@ -133,6 +115,9 @@ exit 0
#%doc html nasmdoc.txt.gz nasmdoc.pdf
%changelog
* Sat Aug 17 2019 Automatic Build System <autodist@mambasoft.it> 2.14.02-1mamba
- automatic version update by autodist
* Wed Dec 07 2016 Automatic Build System <autodist@mambasoft.it> 2.12.02-1mamba
- automatic version update by autodist