File snescom.spec of Package snescom
#
# spec file for package spec (Version 2.0)
#
# Copyright (c) 2003 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: snescom
License: GPL
Group: unsorted
Autoreqprov: on
Version: 1.7.2
Release: 0
Summary: Free SNES Assembler
Source: %name-%version.tar.bz2
Source1: snescom-demo.tar.bz2
#Patch: patch.dif
BuildRequires: gcc-c++ boost-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This program reads symbolic 65816 or 65c816 machine code and compiles
(assembles) it into a relocatable object file, into an IPS patch, or
directly into a raw file. The produced object file is binary-compatible with
those made with XA65.
%prep
%setup -a 1
#%patch
%build
make %{?jobs:-j%jobs} OPTIM="$RPM_OPT_FLAGS" PREFIX=/usr
%install
make install PREFIX=$RPM_BUILD_ROOT/usr
chmod 755 $RPM_BUILD_ROOT/usr/bin/*
mv snescom-demo examples
%files
%defattr(-,root,root)
%doc examples README.html doc/*
/usr/bin/*