2007-01-16 00:44:10 +01:00
|
|
|
#
|
2010-01-18 14:23:52 +01:00
|
|
|
# spec file for package yasm (Version 0.8.0)
|
2007-01-16 00:44:10 +01:00
|
|
|
#
|
2010-01-18 14:23:52 +01:00
|
|
|
# Copyright (c) 2010 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/
|
2009-11-27 14:58:44 +01:00
|
|
|
License: BSD3c
|
2007-05-30 01:19:05 +02:00
|
|
|
Group: Development/Languages/Other
|
2007-11-02 01:42:28 +01:00
|
|
|
AutoReqProv: on
|
2010-01-18 14:23:52 +01:00
|
|
|
Version: 0.8.0
|
2010-09-03 16:43:59 +02:00
|
|
|
Release: 6
|
2010-01-18 14:23:52 +01:00
|
|
|
Summary: 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
|
2010-09-03 16:43:59 +02:00
|
|
|
Patch: yasm-no-build-date.patch
|
|
|
|
|
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-11-27 14:58:44 +01:00
|
|
|
License: BSD3c
|
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
|
2010-09-03 15:09:26 +02:00
|
|
|
%patch
|
2010-09-03 16:43:59 +02:00
|
|
|
|
2007-01-16 00:44:10 +01:00
|
|
|
%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
|
|
|
|
2009-11-27 14:58:44 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:44:10 +01:00
|
|
|
|
2009-11-27 14:58:44 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:44:10 +01:00
|
|
|
|
|
|
|
%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
|