File bmx-ng.spec of Package bmx-ng

#
# spec file for package bmx-ng
#
# Copyright (c) 2022, Martin Hauke <mardnh@gmx.de>
#
# 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 http://bugs.opensuse.org/
#


Name:           bmx-ng
Version:        0.133.3.48
Release:        0
Summary:        The Open Source BlitzMax Compiler Project
License:        NonFree
Group:          Development/Languages/Other
URL:            https://blitzmax.org/
#Git-Clone:     https://github.com/bmx-ng/bmx-ng.git
Source:         https://github.com/bmx-ng/bmx-ng/releases/download/v%{version}.linux.x64/BlitzMax_linux_x64_%{version}.tar.xz
Source1:        %{name}-rpmlintrc
BuildRequires:  fdupes
ExclusiveArch:  x86_64
# HACK
BuildRequires:  -post-build-checks
BuildRequires:  -rpmlint
BuildRequires:  -rpmlint-mini

%description
The Open Source BlitzMax Compiler Project.

%prep
%setup -q -n BlitzMax

%build

%install
install -d %{buildroot}/opt/BlitzMax
ls -la
pwd
for i in bin doc docs lib MaxIDE mod samples src; do
  cp -r $i %{buildroot}/opt/BlitzMax;
done
%fdupes %{buildroot}/opt/BlitzMax

%files
%doc README.md
/opt/BlitzMax

%changelog
openSUSE Build Service is sponsored by