File tipp10.spec of Package tipp10
#
# spec file for package tipp10
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Lars Vogdt
#
# 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: tipp10
Version: 3.3.0
Release: 0
Summary: Educational typing tutor
License: GPL-2.0-or-later
Group: Amusements/Games/Action/Other
URL: https://gitlab.com/tipp10/tipp10
Source: tipp10-v3.3.0.tar.bz2
Source3: tipp10-wrapper
BuildRequires: libpng16-devel
BuildRequires: glibc-devel
BuildRequires: glibc
BuildRequires: gcc-c++
BuildRequires: extra-cmake-modules
BuildRequires: qt6-base-devel
BuildRequires: qt6-base-common-devel
BuildRequires: qt6-core-devel
BuildRequires: qt6-dbus-devel
BuildRequires: qt6-gui-devel
BuildRequires: qt6-linguist-devel
BuildRequires: qt6-multimedia-devel
BuildRequires: qt6-sql-devel
BuildRequires: qt6-sql-sqlite
BuildRequires: qt6-widgets-devel
BuildRequires: libQt6Core6
BuildRequires: libQt6Widgets6
BuildRequires: libQt6DBus6
BuildRequires: libQt6Gui6
BuildRequires: libQt6Sql6
BuildRequires: libQt6Multimedia6
BuildRequires: sqlite3-devel
BuildRequires: unzip
BuildRequires: cmake
### Requires: libQt6Sql6
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: update-desktop-files
%endif
%description
TIPP10 is an educational typing tutor which automatically adapts the
lesson to the typing failures of of the student.
The software is easy to use and features a clear user interface. Beginners and
even children will find their way around right away so they can start
practicing without a hitch.
You will be able to learn touch typing quickly and efficiently with the
program’s intelligent practice lessons, useful support functions and an
extensive progress tracker. You can also play a typing game and expand the
program with open lessons or make your own to meet your specific needs.
%prep
%setup -q -n tipp10-v3.3.0
#### %%patch3 -p1
%build
cmake .
make %{?_smp_mflags} all
%install
mkdir -p %{buildroot}/%{_bindir} %{buildroot}%{_datadir}/%{name}
install -D -m644 img/logo_orange.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
install -D -m644 com.gitlab.tipp10.tipp10.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -D -m644 com.gitlab.tipp10.tipp10.svg %{buildroot}/%{_datadir}/applications/tipp10
install -D -m755 tipp10 %{buildroot}/%{_bindir}/tipp10
cp -r release/help %{buildroot}%{_datadir}/%{name}/
cp -r img %{buildroot}%{_datadir}/%{name}/
cp -r update %{buildroot}%{_datadir}/%{name}/
install -m644 release/tipp10v2.template %{buildroot}%{_datadir}/%{name}/
install -m644 error.wav metronome.wav %{buildroot}%{_datadir}/%{name}/
%if 0%{?suse_version}
%suse_update_desktop_file -n %{name}
%fdupes %{buildroot}%{_datadir}/%{name}/
%endif
%files
%defattr(-,root,root)
%if 0%{?suse_version} >= 01500
%license LICENSE
%else
%doc LICENSE
%endif
%{_bindir}/tipp10
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}
%{_datadir}/%{name}
%changelog