2014-03-18 17:16:45 +01:00
|
|
|
#
|
|
|
|
# spec file for package artikulate
|
|
|
|
#
|
2017-08-12 00:52:23 +02:00
|
|
|
# Copyright (c) 2017 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.
|
|
|
|
|
2017-04-20 10:32:07 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2014-03-18 17:16:45 +01:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:52:23 +02:00
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%bcond_without lang
|
2014-03-18 17:16:45 +01:00
|
|
|
|
|
|
|
Name: artikulate
|
2018-04-10 15:19:27 +02:00
|
|
|
Version: 18.03.90
|
2014-03-18 17:16:45 +01:00
|
|
|
Release: 0
|
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)
|
2016-12-03 15:21:00 +01:00
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2014-03-18 17:16:45 +01:00
|
|
|
Summary: Pronunciation Self-Teaching
|
|
|
|
License: LGPL-3.0+ and GPL-2.0 and BSD-3-Clause
|
|
|
|
Group: Amusements/Teaching/Other
|
|
|
|
Url: http://edu.kde.org
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
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: gstreamer-plugins-qt5-devel
|
|
|
|
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
|
|
|
|
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)
|
2014-03-18 17:16:45 +01:00
|
|
|
# Runtime dep
|
2016-12-03 15:21:00 +01:00
|
|
|
Requires: kqtquickcharts >= %{_kapp_version}
|
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
2017-08-12 00:52:23 +02:00
|
|
|
%if %{with lang}
|
2017-04-20 10:45:31 +02:00
|
|
|
Recommends: %{name}-lang
|
2017-08-12 00:52:23 +02:00
|
|
|
%endif
|
2014-03-18 17:16:45 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Improve your pronunciation by listening to native speakers.
|
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%lang_package
|
|
|
|
%endif
|
|
|
|
|
2014-03-18 17:16:45 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%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
|
|
|
|
%kf5_find_htmldocs
|
|
|
|
%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
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc 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.*
|
2017-08-12 00:52:23 +02:00
|
|
|
%{_kf5_libdir}/libartikulatecore.so*
|
|
|
|
%{_kf5_libdir}/libartikulatelearnerprofile.so*
|
|
|
|
%{_kf5_libdir}/libartikulatesound.so*
|
|
|
|
%{_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
|
|
|
|
%doc COPYING*
|
|
|
|
%endif
|
|
|
|
|
2014-03-18 17:16:45 +01:00
|
|
|
%changelog
|