automatic version update by autodist [release 2.14.02-1mamba;Sat Aug 17 2019]
This commit is contained in:
parent
72cf0a5cf2
commit
357eef8a2d
47
nasm.spec
47
nasm.spec
@ -1,5 +1,5 @@
|
|||||||
Name: nasm
|
Name: nasm
|
||||||
Version: 2.12.02
|
Version: 2.14.02
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
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
|
||||||
@ -15,6 +15,7 @@ Obsoletes: nasm-doc
|
|||||||
Provides: nasm-doc = %{?epoch:%epoch:}%{version}-%{release}
|
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
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
BuildRequires: tetex
|
BuildRequires: tetex
|
||||||
@ -43,12 +44,11 @@ These tools include linker, library manager, loader, and information dump.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
%make everything \
|
%make everything || make everything
|
||||||
%if "%{stage1}" == "1"
|
|
||||||
PSTOPDF=true
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
#make -C doc nasmdoc.dvi
|
#make -C doc nasmdoc.dvi
|
||||||
@ -64,14 +64,7 @@ install -d %{buildroot}{%_bindir,%_mandir/man1,%_infodir}
|
|||||||
|
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
install -d %{buildroot}%{_prefix}/tempdoc
|
install -d %{buildroot}%{_prefix}/tempdoc
|
||||||
make -C doc install \
|
%makeinstall -C doc docdir=%{_docdir}/nasm
|
||||||
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
|
|
||||||
|
|
||||||
install -D -m644 rdoff/doc/rdoff.info \
|
install -D -m644 rdoff/doc/rdoff.info \
|
||||||
%{buildroot}/%{_infodir}/rdoff.info
|
%{buildroot}/%{_infodir}/rdoff.info
|
||||||
@ -82,20 +75,12 @@ install -D -m644 rdoff/doc/rdoff.info \
|
|||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
%post
|
|
||||||
%install_info nasm.info
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%preun
|
|
||||||
%uninstall_info nasm.info
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%post rdoff
|
%post rdoff
|
||||||
%install_info nasm.info
|
%install_info rdoff.info
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun rdoff
|
%preun rdoff
|
||||||
%uninstall_info nasm.info
|
%uninstall_info rdoff.info
|
||||||
exit 0
|
exit 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -104,13 +89,10 @@ exit 0
|
|||||||
%{_bindir}/nasm
|
%{_bindir}/nasm
|
||||||
%{_bindir}/ndisasm
|
%{_bindir}/ndisasm
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%if "%{stage1}" != "1"
|
%dir %{_docdir}/nasm
|
||||||
%{_infodir}/nasm.info*
|
%{_docdir}/nasm/*
|
||||||
%doc html nasmdoc.txt
|
%doc AUTHORS LICENSE
|
||||||
%doc nasmdoc.pdf
|
#%doc ChangeLog CHANGES README TODO
|
||||||
%endif
|
|
||||||
%doc AUTHORS ChangeLog
|
|
||||||
%doc CHANGES LICENSE README TODO
|
|
||||||
|
|
||||||
%files rdoff
|
%files rdoff
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -125,7 +107,7 @@ exit 0
|
|||||||
%{_bindir}/rdx
|
%{_bindir}/rdx
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
%{_infodir}/rdoff.info.*
|
%{_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
|
%endif
|
||||||
|
|
||||||
#%files doc
|
#%files doc
|
||||||
@ -133,6 +115,9 @@ exit 0
|
|||||||
#%doc html nasmdoc.txt.gz nasmdoc.pdf
|
#%doc html nasmdoc.txt.gz nasmdoc.pdf
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Dec 07 2016 Automatic Build System <autodist@mambasoft.it> 2.12.02-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user