File synaptiks.spec of Package synaptiks
#
# spec file for package synaptiks
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
#
# 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/
#
# 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
Url: http://www.kde-look.org/content/show.php/synaptiks?content=114270
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
%kde4_runtime_requires
%description
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.
Author:
--------
Sebastian Wiesner
%prep
%setup -n %{name}-%{version}
%patch1
%patch2
%patch3
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%kde_post_install
cd ..
%find_lang %{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%dir /usr/share/kde4/apps/synaptiks
%dir /usr/share/kde4/apps/synaptiks/pics
%{_libdir}/kde4/kcm_synaptiks.so
%{_libdir}/kde4/kded_synaptiks.so
%{_libdir}/kde4/plasma_applet_synaptiks.so
/usr/share/dbus-1/interfaces/*.xml
/usr/share/icons/hicolor/scalable/apps/synaptiks.svgz
/usr/share/kde4/apps/synaptiks/pics/*
/usr/share/kde4/apps/synaptiks/synaptiks.notifyrc
/usr/share/kde4/config.kcfg/*.kcfg
/usr/share/kde4/services/kded/synaptiks.desktop
/usr/share/kde4/services/*.desktop
%changelog