artikulate/artikulate.spec

89 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package artikulate
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
Name: artikulate
Version: 15.12.2
Release: 0
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
BuildRequires: fdupes
BuildRequires: gstreamer-plugins-qt5-devel
BuildRequires: extra-cmake-modules
BuildRequires: update-desktop-files
BuildRequires: kdoctools-devel
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5XmlPatterns)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5QuickWidgets)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: kconfig-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kdeclarative-devel
BuildRequires: ki18n-devel
BuildRequires: kio-devel
BuildRequires: knewstuff-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kxmlgui-devel
BuildRequires: kcrash-devel
# Runtime dep
Requires: kqtquickcharts >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Improve your pronunciation by listening to native speakers.
%prep
%setup -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file org.kde.%{name} X-KDE-Edu-Teaching
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING*
%{_kf5_bindir}/artikulate
%{_kf5_bindir}/artikulate_editor
%{_kf5_libdir}/libartikulatelearnerprofile.so*
%{_kf5_libdir}/libartikulatecore.so*
%{_kf5_libdir}/libartikulatesound.so*
%{_datadir}/artikulate/
%{_kf5_applicationsdir}/org.kde.artikulate.desktop
%{_kf5_htmldir}/en/artikulate/
%{_kf5_configdir}/artikulate.knsrc
%dir %{_kf5_configkcfgdir}
%{_kf5_configkcfgdir}/artikulate.kcfg
%{_kf5_iconsdir}/hicolor/*/*/artikulate*.*
%{_datadir}/appdata/
%changelog