File simtools.spec of Package simtools
#
# spec file for package simh
#
# Copyright (c) 2023 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: simtools
Version: 0.0.0+git20230411.6d66f3b
Release: 0
URL: https://opensimh.org/
Summary: A collection of tools for use with SIMH
License: Unknown
Group: System/Emulators/Other
Source: %{name}-%{version}.tar.gz
BuildRequires: dos2unix
BuildRequires: readline-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A collection of tools for use with SIMH
%prep
%setup
%build
make CFLAGS="%{optflags}"
%install
mkdir -p %{buildroot}%{_bindir}
make BIN=%{buildroot}%{_bindir} install
%files
%defattr(-,root,root)
%doc */*.txt */*/*.txt
%{_bindir}/*
%changelog