File cbmbasic.spec of Package cbmbasic
# Copyright (c) 2008 SuSE Linux Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# norootforbuild
Name: cbmbasic
License: COPYRIGHT
Group: unsorted
Autoreqprov: on
Version: 0
Release: 0
Summary: Commodore BASIC as a Scripting Language
Source: %name.zip
#Patch:
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This application is a recompiled version of the original Commodore 64 binary
- it is not a reimplementation, so while it runs at pretty much the maximum
possible speed, it is still 100%% compatible.
%prep
%setup -c
#%patch
%build
make CFLAGS="$RPM_OPT_FLAGS -O3"
%install
install -D -m 755 cbmbasic $RPM_BUILD_ROOT/usr/bin/cbmbasic
%files
%defattr(-,root,root)
%doc README.txt test
/usr/bin/cbmbasic