2011-07-25 12:43:50 +02:00
|
|
|
#
|
2011-07-25 12:44:01 +02:00
|
|
|
# spec file for package ktouch
|
2011-07-25 12:43:50 +02:00
|
|
|
#
|
2015-02-11 16:39:21 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-07-25 12:43:50 +02:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-13 09:35:41 +01:00
|
|
|
|
2011-07-25 12:43:50 +02:00
|
|
|
Name: ktouch
|
2016-11-09 07:24:06 +01:00
|
|
|
Version: 16.08.3
|
2011-12-08 12:12:07 +01:00
|
|
|
Release: 0
|
2011-07-25 12:43:50 +02:00
|
|
|
Summary: Touch Typing Tutor
|
2011-12-08 12:12:07 +01:00
|
|
|
License: GPL-2.0+
|
2011-07-27 17:35:45 +02:00
|
|
|
Group: Amusements/Teaching/Other
|
2011-12-08 12:12:07 +01:00
|
|
|
Url: http://edu.kde.org
|
2012-04-12 09:35:58 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2013-01-07 11:05:23 +01:00
|
|
|
BuildRequires: libkde4-devel
|
|
|
|
BuildRequires: xz
|
2011-07-25 12:43:50 +02:00
|
|
|
Provides: kde4-ktouch = 4.3.0
|
|
|
|
Obsoletes: kde4-ktouch < 4.3.0
|
2014-03-18 17:08:13 +01:00
|
|
|
# Runtime dep
|
|
|
|
Requires: kqtquickcharts >= %{version}
|
2015-01-08 23:19:07 +01:00
|
|
|
Requires: libqt4-sql-sqlite
|
2011-07-27 17:35:45 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
2011-07-25 12:43:50 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
A KDE program that helps you to learn and practice touch typing.
|
|
|
|
|
|
|
|
%prep
|
2013-01-07 11:05:23 +01:00
|
|
|
%setup -q
|
2011-07-25 12:43:50 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
2011-07-27 17:35:45 +02:00
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2011-07-25 12:43:50 +02:00
|
|
|
%endif
|
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2013-01-07 11:05:23 +01:00
|
|
|
%kde4_makeinstall -C build
|
2016-10-12 13:19:24 +02:00
|
|
|
%suse_update_desktop_file org.kde.%{name} X-KDE-Edu-Teaching
|
2011-07-25 12:43:50 +02:00
|
|
|
%kde_post_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-07-16 16:18:15 +02:00
|
|
|
%doc AUTHORS COPYING* README
|
2016-10-12 15:24:57 +02:00
|
|
|
%dir %{_kde4_datadir}/metainfo
|
2014-07-16 16:18:15 +02:00
|
|
|
%doc %lang(en) %{_kde4_htmldir}/en/ktouch/
|
2016-10-12 13:19:24 +02:00
|
|
|
%{_kde4_applicationsdir}/org.kde.ktouch.desktop
|
2014-07-16 16:18:15 +02:00
|
|
|
%{_kde4_appsdir}/ktouch/
|
|
|
|
%{_kde4_bindir}/ktouch
|
|
|
|
%{_kde4_configkcfgdir}/ktouch.kcfg
|
2016-10-12 15:25:28 +02:00
|
|
|
%{_kde4_datadir}/metainfo/org.kde.ktouch.appdata.xml
|
2014-07-16 16:18:15 +02:00
|
|
|
%{_kde4_iconsdir}/hicolor/*/apps/ktouch.*
|
|
|
|
%{_kde4_mandir}/man1/ktouch.1.gz
|
2011-07-25 12:43:50 +02:00
|
|
|
|
|
|
|
%changelog
|