File kdeaccessibility4.spec of Package kdeaccessibility4

#
# spec file for package kdeaccessibility4 (Version 4.3.1)
#
# Copyright (c) 2009 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:           kdeaccessibility4
BuildRequires:  alsa-devel festival-devel kdebase4-workspace-devel sbl
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        kdeaccessibility Base Package
Url:            http://www.kde.org
Version:        4.3.1
Release:        1
Source0:        kdeaccessibility-%version.tar.bz2
Patch:          4_3_BRANCH.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires 
Suggests:       kmag
Suggests:       kmousetool
Suggests:       kmouth
Suggests:       kttsd
Suggests:       kdeaccessibility4-icons

%description
This package suggests the packages which are built from the
kdeaccessibility module.



Authors:
--------
    The KDE Team <kde@kde.org>

%prep
%setup -q -n kdeaccessibility-%version
%patch

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %create_subdir_filelist -d kttsd
  %create_subdir_filelist -d kmouth
  %create_subdir_filelist -d kmag
  %create_subdir_filelist -d kmousetool
  %makeinstall
  rm -rf $RPM_BUILD_ROOT/usr/share/icons/mono
  cd ..
  %create_exclude_filelist
  %suse_update_desktop_file -r kmag      Utility Accessibility
  %suse_update_desktop_file kmousetool   Utility Accessibility
  %suse_update_desktop_file kmouth       Utility Accessibility
  %suse_update_desktop_file kttsmgr      Utility Accessibility
  %kde_post_install
  for i in {16,22,32,48,64,128}; do
     mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps
     cp /usr/share/icons/oxygen/"$i"x"$i"/apps/preferences-desktop-text-to-speech.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps/;
  done

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
  rm -rf $RPM_BUILD_ROOT
  rm -rf filelists

%package -n kmag
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Screen Magnifier
Provides:       kde4-kmag = 4.3.0
Obsoletes:      kde4-kmag < 4.3.0
%kde4_runtime_requires 

%description -n kmag
Magnifies a part of the screen.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kmag -p /sbin/ldconfig

%postun -n kmag -p /sbin/ldconfig

%files -n kmag -f filelists/kmag
%defattr(-,root,root)
%doc COPYING COPYING.DOC

%package -n kmousetool
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Automatic Mouse Click
Provides:       kde4-kmousetool = 4.3.0
Obsoletes:      kde4-kmousetool < 4.3.0
%kde4_runtime_requires 

%description -n kmousetool
Clicks the mouse for you, reducing hand strain.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kmousetool -p /sbin/ldconfig

%postun -n kmousetool -p /sbin/ldconfig

%files -n kmousetool -f filelists/kmousetool
%defattr(-,root,root)
%doc COPYING COPYING.DOC

%package -n kmouth
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Speech Synthesizer Frontend
Provides:       kde4-kmouth = 4.3.0
Obsoletes:      kde4-kmouth < 4.3.0
%kde4_runtime_requires 

%description -n kmouth
The computer "speaks" the entered text for talking with people.



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kmouth -p /sbin/ldconfig

%postun -n kmouth -p /sbin/ldconfig

%files -n kmouth -f filelists/kmouth
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%config %_kde_config_dir/kmouthrc

%package -n kttsd
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Text-to-Speech
Provides:       kde4-kttsd = 4.3.0
Obsoletes:      kde4-kttsd < 4.3.0
%kde4_runtime_requires 

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



Authors:
--------
    The KDE Team <kde@kde.org>

%post -n kttsd -p /sbin/ldconfig

%postun -n kttsd -p /sbin/ldconfig

%files -n kttsd -f filelists/kttsd
%defattr(-,root,root)
%doc COPYING COPYING.DOC

%files -f filelists/exclude
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%_kde4_appsdir/color-schemes
%_kde4_iconsdir/hicolor/*/apps/preferences-desktop-text-to-speech.*

%changelog
openSUSE Build Service is sponsored by