File synaptiks.spec of Package synaptiks

# spec file for package synaptiks
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright 2009 Buschmann <>
# 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

# norootforbuild

BuildRequires:  kdebase4-workspace-devel >= 4.3.0
BuildRequires:  xorg-x11-proto-devel
BuildRequires:  update-desktop-files

Name:           synaptiks
Summary:        A touchpad management tool for KDE
Version:        0.4.0
Release:        6
License:        BSD
Group:          System/GUI/KDE
Source0:        synaptiks-%{version}.tar.bz2
Patch1:         dont-warn-no-touchpad.diff
Patch2:         systemsettings_category_bnc637585.diff
Patch3:         two_finger_emulation_bnc658800.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       kdebase4-workspace

synaptiks is a touchpad management tool for KDE. It provides a simple 
configuration interface and can automatically switch off your touchpad 
on keyboard activity or if mouse devices are plugged.

    Sebastian Wiesner

%setup -n %{name}-%{version}

  %cmake_kde4 -d build 

  cd build
  cd ..
  %find_lang %{name}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

  rm -rf $RPM_BUILD_ROOT

%files  -f %{name}.lang
%dir /usr/share/kde4/apps/synaptiks
%dir /usr/share/kde4/apps/synaptiks/pics