2007-01-16 00:44:10 +01:00
|
|
|
#
|
2012-08-11 20:58:43 +02:00
|
|
|
# spec file for package yasm
|
2007-01-16 00:44:10 +01:00
|
|
|
#
|
2018-03-15 10:55:15 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX 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
|
|
|
#
|
|
|
|
|
2009-06-19 00:28:32 +02:00
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
Name: yasm
|
2016-01-27 10:28:13 +01:00
|
|
|
Version: 1.3.0
|
|
|
|
Release: 0
|
2010-01-18 14:23:52 +01:00
|
|
|
Summary: A complete rewrite of the NASM assembler
|
2018-03-15 10:55:15 +01:00
|
|
|
License: Artistic-1.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later
|
2012-08-11 20:58:43 +02:00
|
|
|
Group: Development/Languages/Other
|
2018-03-15 10:55:15 +01:00
|
|
|
URL: http://www.tortall.net/projects/yasm/
|
2014-10-17 13:47:46 +02:00
|
|
|
Source: http://www.tortall.net/projects/yasm/releases/yasm-%{version}.tar.gz
|
2012-08-11 20:58:43 +02:00
|
|
|
Patch0: %{name}-no-build-date.patch
|
|
|
|
Patch1: %{name}-no-rpm-opt-flags.patch
|
2015-02-03 23:29:11 +01:00
|
|
|
Patch2: yasm-re2c-nogendate.patch
|
2017-11-01 14:47:00 +01:00
|
|
|
BuildRequires: python3-devel
|
2018-03-15 10:55:15 +01:00
|
|
|
BuildRequires: xmlto
|
2010-09-03 16:43:59 +02:00
|
|
|
|
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
|
|
|
%package devel
|
|
|
|
Summary: YASM development package
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package includes everything needed to develop programs that use
|
|
|
|
libyasm.
|
|
|
|
|
2007-01-16 00:44:10 +01:00
|
|
|
%prep
|
2016-01-27 10:28:13 +01:00
|
|
|
%setup -q
|
2014-10-17 13:47:46 +02:00
|
|
|
%patch0 -p1
|
2012-08-11 20:58:43 +02:00
|
|
|
%patch1
|
2015-02-03 23:29:11 +01:00
|
|
|
%patch2 -p1
|
2016-01-27 10:28:13 +01:00
|
|
|
|
2007-01-16 00:44:10 +01:00
|
|
|
%build
|
2012-08-11 20:58:43 +02:00
|
|
|
%configure \
|
2016-01-27 10:28:13 +01:00
|
|
|
--enable-python
|
2012-08-11 20:58:43 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:44:10 +01:00
|
|
|
|
|
|
|
%install
|
2017-11-01 14:47:00 +01:00
|
|
|
%make_install
|
2007-01-16 00:44:10 +01:00
|
|
|
|
2012-08-11 21:01:53 +02:00
|
|
|
%check
|
2012-12-19 13:29:02 +01:00
|
|
|
# 2 win64 test crash but we don't care
|
2016-01-27 10:28:13 +01:00
|
|
|
make %{?_smp_mflags} check || true
|
2012-08-11 20:58:43 +02:00
|
|
|
|
2007-01-16 00:44:10 +01:00
|
|
|
%files
|
2018-03-15 10:55:15 +01:00
|
|
|
%license COPYING Artistic.txt BSD.txt GNU_GPL-2.0 GNU_LGPL-2.0
|
2013-04-05 16:07:13 +02:00
|
|
|
%doc ABOUT-NLS AUTHORS
|
2016-01-27 10:28:13 +01:00
|
|
|
%{_bindir}/vsyasm
|
|
|
|
%{_bindir}/yasm
|
|
|
|
%{_bindir}/ytasm
|
2018-03-15 10:55:15 +01:00
|
|
|
%{_mandir}/man1/yasm.1%{?ext_man}
|
|
|
|
%{_mandir}/man7/yasm_arch.7%{?ext_man}
|
|
|
|
%{_mandir}/man7/yasm_dbgfmts.7%{?ext_man}
|
|
|
|
%{_mandir}/man7/yasm_objfmts.7%{?ext_man}
|
|
|
|
%{_mandir}/man7/yasm_parsers.7%{?ext_man}
|
2007-01-16 00:44:10 +01:00
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
%files devel
|
2016-01-27 10:28:13 +01:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/libyasm.a
|
2009-06-19 00:28:32 +02:00
|
|
|
|
2007-05-30 01:19:05 +02:00
|
|
|
%changelog
|