artikulate/artikulate.spec
2014-03-18 16:16:45 +00:00

70 lines
2.0 KiB
RPMSpec

#
# spec file for package artikulate
#
# Copyright (c) 2014 SUSE LINUX Products 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: 4.12.90
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
# PATCH-FIX-UPSTREAM icons.patch -- install icons to hicolor namespace
Patch0: icons.patch
BuildRequires: libkde4-devel >= 4.10
BuildRequires: gstreamer-0_10-plugins-qt-devel
BuildRequires: xz
BuildRequires: update-desktop-files
# Runtime dep
Requires: kqtquickcharts >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Improve your pronunciation by listening to native speakers.
%prep
%setup -q
%patch0 -p1
%build
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%suse_update_desktop_file %{name} X-KDE-Edu-Teaching
%kde_post_install
%files
%defattr(-,root,root)
%doc COPYING*
%{_kde4_bindir}/artikulate
%{_kde4_libdir}/liblearnerprofile.so
%{_kde4_libdir}/libartikulatecore.so
%{_kde4_appsdir}/artikulate/
%{_kde4_applicationsdir}/artikulate.desktop
%{_kde4_htmldir}/en/artikulate/
%{_kde4_configdir}/artikulate.knsrc
%{_kde4_configkcfgdir}/artikulate.kcfg
%{_kde4_appsdir}/artikulateui.rc
%{_kde4_iconsdir}/hicolor/*/*/artikulate*.*
%changelog