2014-03-18 17:16:45 +01:00
|
|
|
#
|
|
|
|
# spec file for package artikulate
|
|
|
|
#
|
2023-03-02 15:20:36 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
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
|
|
|
|
2023-08-18 08:24:42 +02:00
|
|
|
%define kf5_version 5.105.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}')}
|
2022-01-06 13:44:23 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:43:54 +01:00
|
|
|
Name: artikulate
|
2023-11-09 15:27:51 +01:00
|
|
|
Version: 23.08.3
|
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
|
2021-04-19 15:30:46 +02:00
|
|
|
URL: https://apps.kde.org/artikulate
|
2023-08-24 12:27:48 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:23 +01:00
|
|
|
%if %{with released}
|
2023-08-24 12:27:48 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:30:46 +02:00
|
|
|
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
|
2019-11-29 12:38:52 +01:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Kirigami2)
|
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(Qt5Multimedia)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5QuickWidgets)
|
|
|
|
BuildRequires: cmake(Qt5Sql)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(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
|
2022-11-17 23:57:59 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2014-03-18 17:16:45 +01:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:57:59 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
2014-03-18 17:16:45 +01:00
|
|
|
|
2023-03-02 15:20:36 +01:00
|
|
|
%ldconfig_scriptlets
|
2014-03-30 07:54:13 +02:00
|
|
|
|
2014-03-18 17:16:45 +01:00
|
|
|
%files
|
2018-11-25 00:43:54 +01:00
|
|
|
%license COPYING*
|
2021-04-19 15:30:46 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/artikulate/
|
2017-08-12 00:52:23 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.artikulate.desktop
|
2021-04-19 15:30:46 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.artikulate.appdata.xml
|
2015-12-13 20:32:56 +01:00
|
|
|
%{_kf5_bindir}/artikulate
|
|
|
|
%{_kf5_bindir}/artikulate_editor
|
|
|
|
%{_kf5_configkcfgdir}/artikulate.kcfg
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/artikulate*.*
|
2021-04-19 15:30:46 +02:00
|
|
|
%{_kf5_knsrcfilesdir}/artikulate.knsrc
|
2019-07-04 21:29:09 +02:00
|
|
|
%{_kf5_libdir}/libartikulatecore.so.*
|
|
|
|
%{_kf5_libdir}/libartikulatelearnerprofile.so.*
|
|
|
|
%{_kf5_libdir}/libartikulatesound.so.*
|
2014-03-18 17:16:45 +01:00
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2014-03-18 17:16:45 +01:00
|
|
|
%changelog
|