File comcom64.spec of Package comcom64

#
# spec file for package comcom64
#
# Copyright (c) 2025-2026, 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 https://bugs.opensuse.org/
#

Name:           comcom64
Version:        0.4
Release:        0
Summary:        64-bit command.com
License:        GPL-3.0-or-later
URL:            https://github.com/dosemu2/comcom64
Source:         https://github.com/dosemu2/comcom64/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99:       comcom64-rpmlintrc
BuildRequires:  dj64dev
# FIXME: proper dj64-dev deps
BuildRequires:  dj64dev-devel-static
BuildRequires:  dj64dev-dj64
BuildRequires:  dj64dev-dj64-devel
BuildRequires:  dj64dev-djdev64-devel
%ifnarch %ix86 x86_64
BuildRequires:  cross-i386-binutils
%endif
#
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(thunk_gen)

%description
A 64-bit command.com.

%prep
%autosetup

%build
%make_build

%install
%make_install DESTDIR=%{buildroot} prefix=%{_prefix}

%files
%license LICENSE
%doc README.md
%dir %{_datadir}/comcom64
%{_datadir}/comcom64/command.com
%{_datadir}/comcom64/command.elf

%changelog
openSUSE Build Service is sponsored by