summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Lynch <rusty.lynch@intel.com>2012-06-12 16:45:38 -0700
committerRusty Lynch <rusty.lynch@intel.com>2012-06-12 16:45:38 -0700
commitfa5a0d77e6fbe3c8157446754b3b3c3ff3199d05 (patch)
treeddb1600c6f0d0c60a89483ea24234b23a2ce6dd5
parentf815f362dacbd22f8499fa8c8b27d039ac2fee25 (diff)
downloadyasm-2.0alpha-wayland.tar.gz
yasm-2.0alpha-wayland.tar.bz2
yasm-2.0alpha-wayland.zip
-rw-r--r--packaging/yasm.changes2
-rw-r--r--packaging/yasm.spec41
2 files changed, 43 insertions, 0 deletions
diff --git a/packaging/yasm.changes b/packaging/yasm.changes
new file mode 100644
index 0000000..302bf71
--- /dev/null
+++ b/packaging/yasm.changes
@@ -0,0 +1,2 @@
+* Wed Jun 12 2012 - Rusty Lynch <rusty.lynch@intel.com> - 1.2.0
+- Packaging version 1.2.0 of Yasm
diff --git a/packaging/yasm.spec b/packaging/yasm.spec
new file mode 100644
index 0000000..be2e4af
--- /dev/null
+++ b/packaging/yasm.spec
@@ -0,0 +1,41 @@
+Name: yasm
+Summary: Yasm Modular Assembler
+Version: 1.2.0
+Release: 1
+Group: System/Libraries
+License: BSD
+URL: http://yasm.tortall.net/
+Source0: %{name}-%{version}.tar.gz
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+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 -n %{name}-%{version}
+
+%build
+./configure --prefix=/usr
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%files
+%{_bindir}/yasm
+%{_bindir}/vsyasm
+%{_bindir}/ytasm
+%{_includedir}/libyasm-stdint.h
+%{_includedir}/libyasm.h
+%{_includedir}/libyasm/*
+%{_datadir}/man/man1/yasm.1.gz
+%{_datadir}/man/man7/yasm_arch.7.gz
+%{_datadir}/man/man7/yasm_dbgfmts.7.gz
+%{_datadir}/man/man7/yasm_objfmts.7.gz
+%{_datadir}/man/man7/yasm_parsers.7.gz