Accepting request 287151 from home:pluskalm:branches:devel:tools:compiler
- Cleanup spec file with spec-cleaner - Update project url - Switch to .xz source - Update to 2.11.06: OBS-URL: https://build.opensuse.org/request/show/287151 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=21
This commit is contained in:
parent
65d4a22b14
commit
a5f9eafe0e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7141180d3874b5967c6a60191e8d45fba9cc86bd60a4803ad80b6b6b3eac36b9
|
|
||||||
size 826334
|
|
3
nasm-2.11.06.tar.xz
Normal file
3
nasm-2.11.06.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:90f60d95a15b8a54bf34d87b9be53da89ee3d6213ea739fb2305846f4585868a
|
||||||
|
size 763960
|
22
nasm.changes
22
nasm.changes
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 21 14:54:41 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Update project url
|
||||||
|
- Switch to .xz source
|
||||||
|
- Update to 2.11.06:
|
||||||
|
* Add support for the Intel AVX-512 instruction set:
|
||||||
|
* 16 new, 512-bit SIMD registers. Total 32 (ZMM0 ~ ZMM31)
|
||||||
|
* 8 new opmask registers (K0 ~ K7). One of 7 registers (K1 ~ K7)
|
||||||
|
can be used as an opmask for conditional execution.
|
||||||
|
* A new EVEX encoding prefix. EVEX is based on VEX and provides
|
||||||
|
more capabilities: opmasks, broadcasting, embedded rounding and
|
||||||
|
compressed displacements.
|
||||||
|
* Add support for ZWORD (512 bits), DZ and RESZ.
|
||||||
|
* Add support for the MPX and SHA instruction sets.
|
||||||
|
* Better handling of section redefinition.
|
||||||
|
* Generate manpages when running 'make dist'.
|
||||||
|
* Handle all token chains in mmacro params range.
|
||||||
|
* Support split [base,index] effective address:
|
||||||
|
* for more details see http://www.nasm.us/doc/nasmdocc.html
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 26 07:03:58 UTC 2013 - crrodriguez@opensuse.org
|
Fri Jul 26 07:03:58 UTC 2013 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
48
nasm.spec
48
nasm.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nasm
|
# spec file for package nasm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: nasm
|
Name: nasm
|
||||||
Url: http://nasm.sourceforge.net/
|
Version: 2.11.06
|
||||||
Version: 2.10.09
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Netwide Assembler (An x86 Assembler)
|
Summary: Netwide Assembler (An x86 Assembler)
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.bz2
|
Url: http://www.nasm.us/
|
||||||
|
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
NASM is a prototype general-purpose x86 assembler. It can currently
|
NASM is a prototype general-purpose x86 assembler. It can currently
|
||||||
output several binary formats, including ELF, a.out, Win32, and OS/2.
|
output several binary formats, including ELF, a.out, Win32, and OS/2.
|
||||||
|
|
||||||
Read the licence agreement in /usr/share/doc/packages/nasm/Licence.
|
Read the licence agreement in %{_docdir}/nasm/Licence.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -40,8 +40,9 @@ Read the licence agreement in /usr/share/doc/packages/nasm/Licence.
|
|||||||
Summary: Documentation for Nasm
|
Summary: Documentation for Nasm
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
PreReq: %install_info_prereq
|
Requires(post): info
|
||||||
Provides: nasm:/usr/share/doc/packages/nasm/nasmdoc.pdf
|
Requires(preun): info
|
||||||
|
Provides: nasm:%{_docdir}/nasm/nasmdoc.pdf
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains the documentation for Nasm.
|
This package contains the documentation for Nasm.
|
||||||
@ -52,27 +53,26 @@ TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
|||||||
sed -i "s/__DATE__/\"$TS\"/g" ver.c
|
sed -i "s/__DATE__/\"$TS\"/g" ver.c
|
||||||
touch -r ./ver.c.stamp ./ver.c
|
touch -r ./ver.c.stamp ./ver.c
|
||||||
%configure
|
%configure
|
||||||
make all
|
make %{?_smp_mflags} all
|
||||||
|
|
||||||
cd doc
|
make -C doc %{?_smp_mflags} html info nasmdoc.ps nasmdoc.txt
|
||||||
make html info nasmdoc.ps nasmdoc.txt
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
|
install -d -m 755 %{buildroot}%{_prefix}/bin
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{_mandir}/man1
|
install -d -m 755 %{buildroot}/%{_mandir}/man1
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{_docdir}/nasm
|
install -d -m 755 %{buildroot}/%{_docdir}/nasm
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{_docdir}/nasm/rdoff
|
install -d -m 755 %{buildroot}/%{_docdir}/nasm/rdoff
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{_docdir}/nasm/html
|
install -d -m 755 %{buildroot}/%{_docdir}/nasm/html
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{_infodir}
|
install -d -m 755 %{buildroot}/%{_infodir}
|
||||||
make INSTALLROOT=$RPM_BUILD_ROOT install
|
make INSTALLROOT=%{buildroot} install
|
||||||
make INSTALLROOT=$RPM_BUILD_ROOT rdf_install
|
make INSTALLROOT=%{buildroot} rdf_install
|
||||||
install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \
|
install -m 644 AUTHORS CHANGES ChangeLog LICENSE TODO README doc/*.txt \
|
||||||
$RPM_BUILD_ROOT/%{_docdir}/nasm
|
%{buildroot}/%{_docdir}/nasm
|
||||||
install -m 644 rdoff/README rdoff/doc/* \
|
install -m 644 rdoff/README rdoff/doc/* \
|
||||||
$RPM_BUILD_ROOT/%{_docdir}/nasm/rdoff
|
%{buildroot}/%{_docdir}/nasm/rdoff
|
||||||
install -m 644 doc/html/* $RPM_BUILD_ROOT%{_docdir}/nasm/html
|
install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html
|
||||||
install -m 644 ndisasm.1 nasm.1 rdoff/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1
|
||||||
install -m 644 doc/info/* $RPM_BUILD_ROOT%{_infodir}
|
install -m 644 doc/info/* %{buildroot}%{_infodir}
|
||||||
|
|
||||||
%post doc
|
%post doc
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
@ -82,7 +82,7 @@ install -m 644 doc/info/* $RPM_BUILD_ROOT%{_infodir}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/bin/*
|
%{_bindir}/*
|
||||||
%doc %{_mandir}/man1/*.1.gz
|
%doc %{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user