2007-01-16 00:44:10 +01:00
|
|
|
#
|
|
|
|
# spec file for package yasm (Version 0.4.0)
|
|
|
|
#
|
2007-05-30 01:19:05 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:44:10 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
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
|
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
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
|
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
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:44:10 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Peter Johnson <peter@tortall.net>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2
|
|
|
|
|
|
|
|
%build
|
2007-05-30 01:19:05 +02:00
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
%configure --prefix=/usr --disable-static
|
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)
|
|
|
|
%doc ABOUT-NLS AUTHORS Artistic.txt BSD.txt COPYING ChangeLog GNU_GPL-2.0
|
|
|
|
%doc GNU_LGPL-2.0 INSTALL NEWS README
|
2007-05-30 01:19:05 +02:00
|
|
|
%_libdir/*.la
|
|
|
|
%_libdir/lib*.so.*
|
2007-01-16 00:44:10 +01:00
|
|
|
%_libdir/yasm
|
|
|
|
/usr/bin/*
|
|
|
|
%_mandir/man7/*
|
|
|
|
%_mandir/man1/*
|
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
%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.
|
2007-01-16 00:44:10 +01:00
|
|
|
* 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
|