From 7b124174bf2564c4f5289af564db0626c35efd08 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Mon, 9 Jan 2023 10:43:35 +0900 Subject: [PATCH] Bump to 1.3.0 Signed-off-by: TizenOpenSource --- packaging/yasm.changes | 6 ++++++ packaging/yasm.manifest | 5 +++++ packaging/yasm.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 packaging/yasm.changes create mode 100644 packaging/yasm.manifest create mode 100644 packaging/yasm.spec diff --git a/packaging/yasm.changes b/packaging/yasm.changes new file mode 100644 index 0000000..9287848 --- /dev/null +++ b/packaging/yasm.changes @@ -0,0 +1,6 @@ +* Sun Apr 14 2013 Anas Nashif upstream/1.2.0@efcd551 +- Do not include build date + +* Sun Apr 14 2013 Anas Nashif upstream/1.2.0@20d3a58 +- Imported Upstream version 1.2.0 + diff --git a/packaging/yasm.manifest b/packaging/yasm.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/yasm.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/yasm.spec b/packaging/yasm.spec new file mode 100644 index 0000000..9b710d3 --- /dev/null +++ b/packaging/yasm.spec @@ -0,0 +1,46 @@ +Name: yasm +Version: 1.3.0 +Release: 1 +License: BSD-2-Clause or BSD-3-Clause +Summary: Yasm Modular Assembler +Url: http://yasm.tortall.net/ +Group: System/Libraries +Source0: %{name}-%{version}.tar.gz +Source1001: yasm.manifest +BuildRequires: binutils-devel + +%description +Yasm is a complete rewrite of the NASM assembler under the “new” BSD License (some portions are under other licenses, see COPYING for details). +Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging information in STABS, DWARF 2, and CodeView 8 formats. +Yasm can be easily integrated into Visual Studio 2005/2008 and 2010 for assembly of NASM or GAS syntax code into Win32 or Win64 object files. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +export CFLAGS+=" -fPIC " +export CXXFLAGS+=" -fPIC " +export LDFLAGS+=" -pie " + +%configure + +make %{?_smp_mflags} + +%install +%make_install + +%files +%manifest %{name}.manifest +%license COPYING +%{_bindir}/yasm +%{_bindir}/vsyasm +%{_bindir}/ytasm +%{_includedir}/libyasm-stdint.h +%{_includedir}/libyasm.h +%{_includedir}/libyasm/* +%{_mandir}/man1/yasm.1.gz +%{_mandir}/man7/yasm_arch.7.gz +%{_mandir}/man7/yasm_dbgfmts.7.gz +%{_mandir}/man7/yasm_objfmts.7.gz +%{_mandir}/man7/yasm_parsers.7.gz -- 2.7.4