artikulate/artikulate.spec

78 lines
2.2 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.08.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
%if 0%{?suse_version} > 1310
BuildRequires: gstreamer-plugins-qt-devel
%else
BuildRequires: gstreamer-0_10-plugins-qt-devel
%endif
BuildRequires: libkde4-devel >= 4.10
BuildRequires: update-desktop-files
BuildRequires: xz
# 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
%build
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
rm %{buildroot}%{_kde4_libdir}/libartikulate*.so
%suse_update_desktop_file %{name} X-KDE-Edu-Teaching
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING*
%dir %{_kde4_datadir}/appdata
%{_kde4_bindir}/artikulate
%{_kde4_datadir}/appdata/artikulate.appdata.xml
%{_kde4_libdir}/libartikulatelearnerprofile.so.*
%{_kde4_libdir}/libartikulatecore.so.*
%{_kde4_libdir}/libartikulatesound.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