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.4
Release:        0
Summary:        Educational typing tutor
License:        GPL-2.0-or-later
Group:          Amusements/Games/Action/Other
URL:            https://gitlab.com/tipp10/tipp10
Source:         https://gitlab.com/tipp10/tipp10/-/archive/v%{version}/tipp10-v%{version}.tar.bz2
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  cmake(Qt6Core) >= 6.4
BuildRequires:  cmake(Qt6DBus) >= 6.4
BuildRequires:  cmake(Qt6Gui) >= 6.4
BuildRequires:  cmake(Qt6Multimedia) >= 6.4
BuildRequires:  cmake(Qt6PrintSupport) >= 6.4
BuildRequires:  cmake(Qt6Sql) >= 6.4
BuildRequires:  cmake(Qt6Widgets) >= 6.4
BuildRequires:  pkgconfig(sqlite3)

%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 %{name}-v%{version}

%build
%cmake
%cmake_build

%install
%cmake_install
%fdupes %{buildroot}%{_datadir}/%{name}/

%files
%defattr(-,root,root)
%if 0%{?suse_version} >= 01500
%license LICENSE
%else
%doc LICENSE
%endif
%{_bindir}/tipp10
%{_iconsdir}/hicolor/*/*/*
%{_datadir}/applications/com.gitlab.tipp10.tipp10.desktop
%{_datadir}/%{name}
%{_datadir}/metainfo/com.gitlab.tipp10.tipp10.metainfo.xml

%changelog
openSUSE Build Service is sponsored by