File viki.spec of Package viki

#
# spec file for package viki (Version 0.0.SVNr784595)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           viki
BuildRequires:  kdebase4-workspace-devel
License:        GPL v2 or later; LGPL v2.1 or later
Group:          System/X11/Utilities
Summary:        Visual Keyboard
Version:        0.0.SVNr784595
Release:        1
Source0:        %name-%version.tar.bz2
Patch:          find-kde4.diff
Patch2:         fix-desktop-file.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
viki is an accessibility tool for entering text using the mouse cursor
into other applications.



Authors:
--------
    Shaheed Haque (srhaque@iee.org)

%prep
%setup -q
%patch
%patch2

%build
%cmake_kde4 -d build
%make_jobs

%install
cd build
%makeinstall
%suse_update_desktop_file %name Accessibility Utility

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/viki
/usr/share/applications/kde4/viki.desktop
/usr/share/kde4/apps/viki
/usr/share/kde4/apps/viki/vikiui.rc
/usr/share/kde4/config.kcfg/viki.kcfg

%changelog
* Tue Mar 11 2008 dmueller@suse.de
- update to the KDE4 based version
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Oct 02 2005 stbinner@suse.de
- added GenericName entry to .desktop file
* Thu Dec 16 2004 coolo@suse.de
- fix Makefile
* Wed Nov 17 2004 adrian@suse.de
- fix desktop entry icon
* Fri Jul 09 2004 adrian@suse.de
- fix build for KDE 3.2
* Tue Jul 06 2004 adrian@suse.de
- new snapshot
  * resizing possible
  * font size can be adjusted
* Thu Jul 01 2004 adrian@suse.de
- update to current cvs to fix several issues
* Tue Jun 29 2004 adrian@suse.de
- fix XDG categories
* Sat Jun 26 2004 adrian@suse.de
- initial package of version 0.0
  * fix for XKB meta key locking is still missing
openSUSE Build Service is sponsored by