Bump to 1.3.0 accepted/tizen_base_dev sandbox/yasm_1.3.0 accepted/tizen/base/20230130.211406 accepted/tizen/base/20230131.073433 accepted/tizen/base/dev/20230602.080721
authorTizenOpenSource <tizenopensrc@samsung.com>
Mon, 9 Jan 2023 01:43:35 +0000 (10:43 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Mon, 9 Jan 2023 01:43:35 +0000 (10:43 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/yasm.changes [new file with mode: 0644]
packaging/yasm.manifest [new file with mode: 0644]
packaging/yasm.spec [new file with mode: 0644]

diff --git a/packaging/yasm.changes b/packaging/yasm.changes
new file mode 100644 (file)
index 0000000..9287848
--- /dev/null
@@ -0,0 +1,6 @@
+* Sun Apr 14 2013 Anas Nashif <anas.nashif@intel.com> upstream/1.2.0@efcd551
+- Do not include build date
+
+* Sun Apr 14 2013 Anas Nashif <anas.nashif@intel.com> 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 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/yasm.spec b/packaging/yasm.spec
new file mode 100644 (file)
index 0000000..9b710d3
--- /dev/null
@@ -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