File cbmbasic.spec of Package cbmbasic

#
# spec file for package cbmbasic
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           cbmbasic
Version:        0~git20141206
Release:        0
Summary:        Commodore BASIC V2 as a scripting language
License:        BSD-2-Clause
URL:            https://github.com/mist64/cbmbasic
Source0:        %{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE cbmbasic-no_multiple_defs.patch
Patch0:         cbmbasic-no_multiple_defs.patch

%description
"Commodore BASIC" (cbmbasic) is a 100% compatible version of Commodore's
version of Microsoft BASIC 6502 as found on the Commodore 64. You can use it
in interactive mode or pass a BASIC file as a command line parameter.

%prep
%autosetup -p1

%build
%make_build CFLAGS="%{optflags}"

%install
install -Dm0755 cbmbasic %{buildroot}%{_bindir}/%{name}

%files
%doc README.md test/*.bas
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by