yasm/yasm.spec

95 lines
2.3 KiB
RPMSpec

#
# spec file for package yasm (Version 0.4.0)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#
# norootforbuild
Name: yasm
URL: http://www.tortall.net/projects/yasm/
License: BSD
Group: Development/Languages/Other
Autoreqprov: on
Version: 0.4.0
Release: 6
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 <peter@tortall.net>
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2
%build
CFLAGS="$RPM_OPT_FLAGS" \
./configure --libdir=%_libdir --prefix=/usr --mandir=%_mandir
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%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/lib*
%_libdir/yasm
/usr/bin/*
/usr/include/*
%_mandir/man7/*
%_mandir/man1/*
%changelog -n yasm
* 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