File firebird-emu.spec of Package firebird-emu

# spec file for package firebird-emu
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

Name:           firebird-emu
Version:        1.5
Release:        0
Summary:        Multi-platform emulator of TI-Nspire calculators
License:        GPL-3.0
Group:          Amusements/Teaching/Other
Source:         %{name}-%{version}.tar.xz
BuildRequires:  zlib-devel
BuildRequires:  hicolor-icon-theme
Requires:       hicolor-icon-theme
%if  0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires:  qt5-qtbase-devel >= 5.9
BuildRequires:  qt5-qtdeclarative-devel
Requires:       qt5-qtquickcontrols
BuildRequires:  libqt5-qtbase-devel >= 5.9
BuildRequires:  libqt5-qtdeclarative-devel
BuildRequires:  update-desktop-files
Requires:       libqt5-qtquickcontrols

This project is a community TI-Nspire emulator, originally created by Goplat.
It supports the emulation of Touchpad, TPad CAS, CX and CX CAS calcs on Android, iOS, Linux, macOS and Windows.


%if 0%{?suse_version}
%qmake5 PREFIX=%{_prefix}
%qmake_qt5 PREFIX=%{_prefix}
make %{?_smp_mflags}

make %{?_smp_mflags} DESTDIR=%{buildroot} install INSTALL_ROOT=%{buildroot}


openSUSE Build Service is sponsored by