2014-03-18 17:16:45 +01:00
|
|
|
#
|
|
|
|
# spec file for package artikulate
|
|
|
|
#
|
2018-11-25 00:43:54 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-03-18 17:16:45 +01: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.
|
|
|
|
|
2018-11-25 00:43:54 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-03-18 17:16:45 +01:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:52:23 +02:00
|
|
|
|
2016-12-03 15:21:00 +01:00
|
|
|
%define kf5_version 5.26.0
|
2017-08-12 00:52:23 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:20:36 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:43:54 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: artikulate
|
2019-09-06 12:13:20 +02:00
|
|
|
Version: 19.08.1
|
2018-11-25 00:43:54 +01:00
|
|
|
Release: 0
|
2014-03-18 17:16:45 +01:00
|
|
|
Summary: Pronunciation Self-Teaching
|
2018-11-25 00:43:54 +01:00
|
|
|
License: LGPL-3.0-or-later AND GPL-2.0-only AND BSD-3-Clause
|
2014-03-18 17:16:45 +01:00
|
|
|
Group: Amusements/Teaching/Other
|
2019-08-15 16:00:13 +02:00
|
|
|
URL: https://edu.kde.org
|
|
|
|
Source: https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
%if %{with lang}
|
|
|
|
Source1: https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 15:21:00 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2015-12-13 20:32:56 +01:00
|
|
|
BuildRequires: fdupes
|
2016-12-03 15:21:00 +01:00
|
|
|
BuildRequires: karchive-devel
|
2015-12-13 20:32:56 +01:00
|
|
|
BuildRequires: kconfig-devel
|
2016-12-03 15:21:00 +01:00
|
|
|
BuildRequires: kcrash-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
2015-12-13 20:32:56 +01:00
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kio-devel
|
2019-07-26 16:00:58 +02:00
|
|
|
BuildRequires: kirigami2-devel
|
2015-12-13 20:32:56 +01:00
|
|
|
BuildRequires: knewstuff-devel
|
|
|
|
BuildRequires: kxmlgui-devel
|
2016-12-03 15:21:00 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
|
|
BuildRequires: pkgconfig(Qt5QuickWidgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
2019-07-26 16:00:58 +02:00
|
|
|
# Runtime deps
|
|
|
|
Requires: kirigami2
|
|
|
|
Requires: knewstuff-imports
|
2016-12-03 15:21:00 +01:00
|
|
|
Requires: kqtquickcharts >= %{_kapp_version}
|
2019-07-26 16:00:58 +02:00
|
|
|
Requires: libqt5-qtquickcontrols
|
2016-12-03 15:21:00 +01:00
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
2014-03-18 17:16:45 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Improve your pronunciation by listening to native speakers.
|
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%lang_package
|
|
|
|
|
2014-03-18 17:16:45 +01:00
|
|
|
%prep
|
2019-07-04 21:29:09 +02:00
|
|
|
%autosetup -p1
|
2014-03-18 17:16:45 +01:00
|
|
|
|
|
|
|
%build
|
2015-12-13 20:32:56 +01:00
|
|
|
%cmake_kf5 -d build
|
2014-03-18 17:16:45 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2015-12-13 20:32:56 +01:00
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:27:46 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-25 00:43:54 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 15:27:46 +02:00
|
|
|
%endif
|
2015-12-13 20:32:56 +01:00
|
|
|
%suse_update_desktop_file org.kde.%{name} X-KDE-Edu-Teaching
|
2014-03-18 17:16:45 +01:00
|
|
|
|
2016-12-03 15:21:00 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2014-03-30 07:54:13 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2014-03-18 17:16:45 +01:00
|
|
|
%files
|
2018-11-25 00:43:54 +01:00
|
|
|
%license COPYING*
|
2017-08-12 00:52:23 +02:00
|
|
|
%dir %{_kf5_configkcfgdir}
|
|
|
|
%{_kf5_applicationsdir}/org.kde.artikulate.desktop
|
|
|
|
%{_kf5_appstreamdir}/
|
2015-12-13 20:32:56 +01:00
|
|
|
%{_kf5_bindir}/artikulate
|
|
|
|
%{_kf5_bindir}/artikulate_editor
|
2017-08-12 00:52:23 +02:00
|
|
|
%config %{_kf5_configdir}/artikulate.knsrc
|
2015-12-13 20:32:56 +01:00
|
|
|
%{_kf5_configkcfgdir}/artikulate.kcfg
|
2017-08-12 00:52:23 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/artikulate/
|
2015-12-13 20:32:56 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/artikulate*.*
|
2016-12-03 15:21:00 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/actions/language-artikulate.*
|
2019-07-04 21:29:09 +02:00
|
|
|
%{_kf5_libdir}/libartikulatecore.so.*
|
|
|
|
%{_kf5_libdir}/libartikulatelearnerprofile.so.*
|
|
|
|
%{_kf5_libdir}/libartikulatesound.so.*
|
2017-08-12 00:52:23 +02:00
|
|
|
%{_kf5_plugindir}/artikulate/
|
|
|
|
%{_kf5_sharedir}/artikulate/
|
2014-03-18 17:16:45 +01:00
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-11-25 00:43:54 +01:00
|
|
|
%license COPYING*
|
2017-04-15 15:27:46 +02:00
|
|
|
%endif
|
|
|
|
|
2014-03-18 17:16:45 +01:00
|
|
|
%changelog
|