File gnusim8085.spec of Package gnusim8085
#
# spec file for package gnusim8085
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2006,2007 Andreas Burnickl
#
# 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: gnusim8085
Version: 1.4.1
Release: 0
Summary: Simulator for the Intel 8085 microprocessor
License: GPL-2.0-or-later
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Development/Tools
URL: http://gnusim8085.sourceforge.net/
Source: %{name}-%{version}.tar.gz
BuildRequires: gtk3-devel >= 3.10.0
BuildRequires: gtksourceview-devel >= 3.10.0
%description
GNUSim8085 is a graphical simulator, assembler and
debugger for the Intel 8085 microprocessor in Linux.
%prep
%setup -q
%build
# FIXME: you should use the %%configure macro
./configure --prefix=%{_prefix} \
--docdir=%{_docdir}/%{name} \
%ifarch x86_64 amd64 IA-64
--enable-libsuffix=64 \
--libdir=%{_libdir}
%endif
%make_build
%install
%make_install
rm -rf %{buildroot}%{_datadir}/applications
%files
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/metainfo/%{name}.appdata.xml
%doc ABOUT-NLS AUTHORS ChangeLog NEWS README TODO INSTALL
%dir %{_docdir}/%{name}/examples
%{_docdir}/%{name}/examples/*
%{_docdir}/%{name}/asm-guide.txt
%license COPYING
%changelog