File neshla.spec of Package neshla

#
# 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:         neshla
License:      COPYRIGHT
Group:        unsorted
Autoreqprov:  on
Version:      20050417
Release:      0
Summary:      Nintendo Entertainment System High-Level Assembler
Source:       %name-%version-src-win32.zip
Patch:        source.dif
BuildRequires: unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
High-Level assembler targeting the NES.

Check http://neshla.sourceforge.net/ for documentation.

%prep
%setup -n source
%patch

%build
make %{?jobs:-j%jobs}

%install
install -d -m 755 $RPM_BUILD_ROOT/usr/share/neshla
cp -a _bin/* $RPM_BUILD_ROOT/usr/share/neshla
install -D -m 755 neshla $RPM_BUILD_ROOT/usr/bin/neshla
mv _democode/makedemo.bat _democode/makedemo.sh
rm -fr _democode/bin
mv _democode examples

%files
%defattr(-,root,root)
%doc _docs/* examples
/usr/bin/neshla
/usr/share/neshla
openSUSE Build Service is sponsored by