2007-01-16 00:44:10 +01:00
|
|
|
#
|
2007-11-02 01:42:28 +01:00
|
|
|
# spec file for package yasm (Version 0.6.2)
|
2007-01-16 00:44:10 +01:00
|
|
|
#
|
2009-06-19 00:28:32 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:44:10 +01:00
|
|
|
#
|
2009-06-19 00:28:32 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:44:10 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-19 00:28:32 +02:00
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
Name: yasm
|
2007-11-02 01:42:28 +01:00
|
|
|
Url: http://www.tortall.net/projects/yasm/
|
|
|
|
License: BSD 3-Clause
|
2007-05-30 01:19:05 +02:00
|
|
|
Group: Development/Languages/Other
|
2007-11-02 01:42:28 +01:00
|
|
|
AutoReqProv: on
|
|
|
|
Version: 0.6.2
|
2009-06-19 00:28:32 +02:00
|
|
|
Release: 85
|
2007-05-30 01:19:05 +02:00
|
|
|
Summary: YASM is a complete rewrite of the NASM assembler
|
2007-11-02 01:42:28 +01:00
|
|
|
Source: yasm-%{version}.tar.bz2
|
2007-05-30 01:19:05 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-11-02 01:42:28 +01:00
|
|
|
BuildRequires: python
|
2007-01-16 00:44:10 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
YASM is a complete rewrite of the NASM assembler. It is designed from
|
|
|
|
the ground up to allow for multiple syntaxes to be supported (e.g.,
|
|
|
|
NASM, TASM, GAS, etc.) in addition to multiple output object formats.
|
|
|
|
Another primary module of the overall design is an optimizer module.
|
|
|
|
Actually it supports ix86 and AMD64, next will be PowerPC
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Peter Johnson <peter@tortall.net>
|
|
|
|
|
|
|
|
%package devel
|
2009-06-19 00:28:32 +02:00
|
|
|
License: BSD 3-Clause
|
2007-05-30 01:19:05 +02:00
|
|
|
Summary: YASM development package
|
|
|
|
Group: Development/Languages/Other
|
2007-11-02 01:42:28 +01:00
|
|
|
AutoReqProv: on
|
2007-05-30 01:19:05 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package includes everything needed to develop programs that use
|
|
|
|
libyasm.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:44:10 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Peter Johnson <peter@tortall.net>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2007-05-30 01:19:05 +02:00
|
|
|
export CFLAGS="%{optflags}"
|
2007-11-02 01:42:28 +01:00
|
|
|
%configure --prefix=/usr --with-gnu-ld --enable-python
|
2007-01-16 00:44:10 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
2007-05-30 01:19:05 +02:00
|
|
|
make DESTDIR=%buildroot install
|
2007-01-16 00:44:10 +01:00
|
|
|
|
|
|
|
%clean
|
2007-05-30 01:19:05 +02:00
|
|
|
rm -rf %buildroot
|
2007-01-16 00:44:10 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-11-02 01:42:28 +01:00
|
|
|
%doc ABOUT-NLS AUTHORS Artistic.txt BSD.txt COPYING GNU_GPL-2.0
|
|
|
|
%doc GNU_LGPL-2.0
|
2007-01-16 00:44:10 +01:00
|
|
|
/usr/bin/*
|
|
|
|
%_mandir/man7/*
|
|
|
|
%_mandir/man1/*
|
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/*
|
2007-11-02 01:42:28 +01:00
|
|
|
%_libdir/lib*.a
|
2009-06-19 00:28:32 +02:00
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
%changelog
|
2009-06-19 00:28:32 +02:00
|
|
|
* Tue Oct 30 2007 uli@suse.de
|
2007-11-02 01:42:28 +01:00
|
|
|
- update -> 0.6.2; new features since 0.4.0:
|
|
|
|
* AMD SSE4a and SSE5 instruction support.
|
|
|
|
* AMD LZCNT, POPCNT, EXTRQ, INSERTQ, MOVNTSD, and MOVNTSS instruction
|
|
|
|
support.
|
|
|
|
* 16-bit float value (IEEE-754r half precision) support (desirable for
|
|
|
|
SSE5).
|
|
|
|
* Added "oword", "do", and "reso" aliases for "dqword", "ddq", "resdq".
|
|
|
|
* Added easier RIP-relative addressing with rel/abs modifiers and
|
|
|
|
"default" directive to set default rel/abs mode (see AMD64 for details).
|
|
|
|
* CPP preprocessor. Contributed by Paul Barker
|
|
|
|
* GAS local labels (1:, 1f, 1b) support. Noticed by Jung Lee
|
|
|
|
* GAS .org fill parameter support. Noticed by Jung Lee and Xiaoming Mo
|
|
|
|
* Command line aliases for -d (-D) and -u (-U) for increased NASM
|
|
|
|
command line compatibility. Requested by Mike Frysinger
|
|
|
|
* SSE4.1 and SSE4.2 instruction support. Noticed by arkon@ragestorm.net
|
|
|
|
* Support for .set directive in GAS parser. Contributed by Sebastian
|
|
|
|
D'Alessandro
|
|
|
|
* -E and -s command line options, similar to NASM options of the same
|
|
|
|
names (redirect errors to file and stdout, respectively). Suggested by:
|
|
|
|
pingved@gmail.com
|
|
|
|
* -Wsize-override option, to turn on warnings for duplicated size
|
|
|
|
overrides such as "dword dword" or "word word". Suggested by:
|
|
|
|
pingved@gmail.com
|
|
|
|
* Reconcile generated prefix order with GAS, to suggested Intel ordering
|
|
|
|
of SEG, ADDR, DATA, LOCKREP (AMD doesn't care).
|
|
|
|
* Fix test failure in Mach-O object format. Reported by many (e.g.
|
|
|
|
[#105]), first by Christophe Malvasio
|
|
|
|
* end_prolog macro equivalent to end_prologue (for Win64 structured
|
|
|
|
exception handling). Suggested by Brian Gladman
|
|
|
|
* Allow RIP-relative cross-section references in bin output.
|
|
|
|
* Mach-O custom sections: #102
|
|
|
|
* Brand-new "virtual" multi-pass optimizer that automatically generates
|
|
|
|
much smaller code for jumps and immediates.
|
|
|
|
* Support for Mach-O object format used in MacOS X, including both the
|
|
|
|
32-bit (x86) and 64-bit (AMD64) versions (contributed by Henryk
|
|
|
|
Richter).
|
|
|
|
* Support for structured exception handling on Win64.
|
|
|
|
* Support for RDOFF2 (.rdf) object format.
|
|
|
|
* Support for STRICT keyword in NASM syntax.
|
|
|
|
* Rewritten NASM and GAS parsers (now recursive descent rather than
|
|
|
|
Bison-based).
|
|
|
|
* Yasm no longer defaults to reading from standard input if no files are
|
|
|
|
specified; standard input can be specified with "-".
|
|
|
|
* Support for arithmetic on single-character constants.
|
|
|
|
* Support for OUTPUT_FORMAT as an alias for YASM_OBJFMT.
|
|
|
|
* Support for CodeView? 8.0 source debugging (as used by Visual Studio
|
|
|
|
2005).
|
|
|
|
* Fixed -I support to properly handle relative paths (now the search
|
|
|
|
pattern is essentially identical to most C compilers). This change is
|
|
|
|
backwards incompatible (to both NASM and earlier Yasm versions), but is
|
|
|
|
much more consistent.
|
|
|
|
* Standard macros that provide version information: __YASM_MAJOR__,
|
|
|
|
__YASM_MINOR__, __YASM_SUBMINOR__, __YASM_BUILD__, __YASM_VERSION_ID__
|
|
|
|
and __YASM_VER__.
|
|
|
|
* Aliases for AMD64 object formats: "win64" and "elf64" (these
|
|
|
|
automatically set the machine to "amd64").
|
|
|
|
* "x64" alias for Win64 object format (for easier use with Visual
|
|
|
|
Studio).
|
|
|
|
* DWARF2 source debugging (enable with "-g dwarf2").
|
|
|
|
* GAS parser good enough to take GCC output for both AMD64 and 32-bit
|
|
|
|
x86 (including DWARF2 debug information).
|
|
|
|
* Specifying "amd64" as the machine (or using a 64-bit object format)
|
|
|
|
automatically sets BITS 64.
|
2009-06-19 00:28:32 +02:00
|
|
|
* Tue May 29 2007 pth@suse.de
|
2007-05-30 01:19:05 +02:00
|
|
|
- Split off headers and .so symlinks to -devel subpackage.
|
2009-06-19 00:28:32 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-19 00:28:32 +02:00
|
|
|
* Mon Jul 04 2005 sf@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- fix missing string function declarations
|
2009-06-19 00:28:32 +02:00
|
|
|
* Wed Apr 27 2005 meissner@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- fixed one stack overflow.
|
2009-06-19 00:28:32 +02:00
|
|
|
* Sun Mar 20 2005 olh@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- fix memory corruption in genmacro while handling empty lines
|
|
|
|
or lines with whitespaces only
|
|
|
|
use RPM_OPT_FLAGS, build with icecream
|
2009-06-19 00:28:32 +02:00
|
|
|
* Thu Feb 10 2005 sf@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- update to version 0.4.0
|
|
|
|
- added man pages
|
2009-06-19 00:28:32 +02:00
|
|
|
* Fri Nov 12 2004 ro@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- fixed file list
|
2009-06-19 00:28:32 +02:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- add %%defattr and %%run_dlconfig
|
2009-06-19 00:28:32 +02:00
|
|
|
* Wed Nov 12 2003 sf@suse.de
|
2007-01-16 00:44:10 +01:00
|
|
|
- initial release 0.3.0
|