LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File _service:set_version:jovie.spec of Package jovie (Project KDE:Unstable:SC)

#
# spec file for package jovie
#
# 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:           jovie
BuildRequires:  alsa-devel
BuildRequires:  libkde4-devel
BuildRequires:  libspeechd-devel
BuildRequires:  oxygen-icon-theme-large
BuildRequires:  sbl
BuildRequires:  xz
Summary:        Text-to-Speech
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://www.kde.org
Version:        4.13.40
Release:        0
Source0:        jovie-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       kde4-kttsd = 4.3.0
Obsoletes:      kde4-kttsd < 4.3.0
Provides:       kttsd = 4.4.85
Obsoletes:      kttsd < 4.4.85
%kde4_runtime_requires 

%description
The KDE Text To Speech Daemon, which can be used from any KDE
application that uses the interface from kdelibs.

%prep
%setup -q

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %kde4_makeinstall
  %kde_post_install
  for i in {16,22,32,48,64,128}; do
     mkdir -p %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps
     cp /usr/share/icons/oxygen/"$i"x"$i"/apps/preferences-desktop-text-to-speech.png %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps/;
  done

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files 
%defattr(-,root,root)
%_kde4_htmldir/en/jovie/
%_kde4_libdir/libkttsd.so*
%_kde4_appsdir/jovie/
%_kde4_servicetypesdir/*.desktop
%_kde4_servicesdir/*.desktop
%_kde4_bindir/jovie
%_kde4_modulesdir/*.so
%_kde4_iconsdir/hicolor/*/*/*.png
%_kde4_applicationsdir/jovieapp.desktop

%changelog