# # spec file for package yasm (Version 0.4.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: yasm URL: http://www.tortall.net/projects/yasm/ License: BSD License and BSD-like Group: Development/Languages/Other Autoreqprov: on Version: 0.4.0 Release: 54 Summary: YASM is a complete rewrite of the NASM assembler Source: yasm-%{version}.tar.gz Patch0: yasm-genmacro.patch Patch1: yasm-overflow.patch Patch2: yasm-declaration.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 Authors: -------- Peter Johnson %package devel Summary: YASM development package Group: Development/Languages/Other Autoreqprov: on Requires: %{name} = %{version} %description devel This package includes everything needed to develop programs that use libyasm. Authors: -------- Peter Johnson %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 %build export CFLAGS="%{optflags}" %configure --prefix=/usr --disable-static make %{?jobs:-j%jobs} %install make DESTDIR=%buildroot install %clean rm -rf %buildroot %post %run_ldconfig %postun %run_ldconfig %files %defattr(-,root,root) %doc ABOUT-NLS AUTHORS Artistic.txt BSD.txt COPYING ChangeLog GNU_GPL-2.0 %doc GNU_LGPL-2.0 INSTALL NEWS README %_libdir/*.la %_libdir/lib*.so.* %_libdir/yasm /usr/bin/* %_mandir/man7/* %_mandir/man1/* %files devel %defattr(-,root,root) /usr/include/* %_libdir/lib*.so %changelog * Tue May 29 2007 - pth@suse.de - Split off headers and .so symlinks to -devel subpackage. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Jul 04 2005 - sf@suse.de - fix missing string function declarations * Wed Apr 27 2005 - meissner@suse.de - fixed one stack overflow. * Sun Mar 20 2005 - olh@suse.de - fix memory corruption in genmacro while handling empty lines or lines with whitespaces only use RPM_OPT_FLAGS, build with icecream * Thu Feb 10 2005 - sf@suse.de - update to version 0.4.0 - added man pages * Fri Nov 12 2004 - ro@suse.de - fixed file list * Sat Jan 10 2004 - adrian@suse.de - add %%defattr and %%run_dlconfig * Wed Nov 12 2003 - sf@suse.de - initial release 0.3.0