File gok.spec of Package gok
#
# spec file for package gok (Version 2.24.0)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: gok
BuildRequires: at-spi-devel docbook-dsssl-stylesheets fdupes gail-devel gnome-speech-devel gnutls-devel gtk-doc intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel perl-XML-Parser scrollkeeper update-desktop-files
License: LGPL v2.1 or later
Group: System/GUI/GNOME
Version: 2.24.0
Release: 1
Summary: GNOME On-Screen Keyboard
Source: %{name}-%{version}.tar.bz2
Patch: %{name}.patch
Patch2: %{name}-desktop.patch
Url: http://www.gok.ca/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# For -devel:
Provides: %{name}-devel = %{version}-%{release}
Requires: %{name}-lang = %{version}
#Requires: at-spi-devel atk-devel gail-devel gtk2-devel libbonobo-devel libgnomeui-devel libwnck-devel esound-devel
%gconf_schemas_prereq
%description
The GNOME On-screen Keyboard (GOK) is a dynamic on-screen keyboard for
UNIX and UNIX-like operating systems. It features direct selection,
dwell selection, automatic scanning, and inverse scanning access
methods and includes word completion.
Authors:
--------
David Bolter <david.bolter@utoronto.ca>
Bill Haneman <bill.haneman@sun.com>
Chris Ridpath <chris.ridpath@utoronto.ca>
Simon Bates <simon.bates@utoronto.ca>
Steven Baker <srbaker@pobox.com>
Calum Benson <calum.benson@sun.com>
Ben Konrath <ben.konrath@utoronto.ca>
Peter Lazlo <laca@sun.com>
Michael Meeks <micheal@ximian.com>
Marc Mulcahy <marc.mulcahy@sun.com>
Padraig O'Briain <padraig.obriain@sun.com>
Laurel Williams <laurel.williams@utoronto.ca>
Cynick Young <cynick.young@utoronto.ca>
%package devel
License: LGPL v2.1 or later
Summary: GNOME On-Screen Keyboard
Group: System/GUI/GNOME
Requires: %{name} = %{version}-%{release}
Requires: at-spi-devel atk-devel gail-devel gtk2-devel libbonobo-devel libesd-devel libgnomeui-devel libwnck-devel
%description devel
The GNOME On-screen Keyboard (GOK) is a dynamic on-screen keyboard for
UNIX and UNIX-like operating systems. It features direct selection,
dwell selection, automatic scanning, and inverse scanning access
methods and includes word completion.
Authors:
--------
David Bolter <david.bolter@utoronto.ca>
Bill Haneman <bill.haneman@sun.com>
Chris Ridpath <chris.ridpath@utoronto.ca>
Simon Bates <simon.bates@utoronto.ca>
Steven Baker <srbaker@pobox.com>
Calum Benson <calum.benson@sun.com>
Ben Konrath <ben.konrath@utoronto.ca>
Peter Lazlo <laca@sun.com>
Michael Meeks <micheal@ximian.com>
Marc Mulcahy <marc.mulcahy@sun.com>
Padraig O'Briain <padraig.obriain@sun.com>
Laurel Williams <laurel.williams@utoronto.ca>
Cynick Young <cynick.young@utoronto.ca>
%package doc
License: LGPL v2.1 or later
Summary: GNOME On-Screen Keyboard documentation
Group: System/GUI/GNOME
Requires: %{name} = %{version}
%description doc
The GNOME On-screen Keyboard (GOK) is a dynamic on-screen keyboard for
UNIX and UNIX-like operating systems. It features direct selection,
dwell selection, automatic scanning, and inverse scanning access
methods and includes word completion.
This package contains additional documentation for the main package.
Authors:
--------
David Bolter <david.bolter@utoronto.ca>
Bill Haneman <bill.haneman@sun.com>
Chris Ridpath <chris.ridpath@utoronto.ca>
Simon Bates <simon.bates@utoronto.ca>
Steven Baker <srbaker@pobox.com>
Calum Benson <calum.benson@sun.com>
Ben Konrath <ben.konrath@utoronto.ca>
Peter Lazlo <laca@sun.com>
Michael Meeks <micheal@ximian.com>
Marc Mulcahy <marc.mulcahy@sun.com>
Padraig O'Briain <padraig.obriain@sun.com>
Laurel Williams <laurel.williams@utoronto.ca>
Cynick Young <cynick.young@utoronto.ca>
%lang_package
%prep
#'
%setup -q
%patch
%patch2
%build
# FIXME: --disable-scrollkeeper is not implemented in gok-1.2.0
%configure\
--disable-schemas-install\
--disable-scrollkeeper
# does nor work for gok-1.2.0:
#make %{?jobs:-j%jobs}
make
%install
%makeinstall
# FIXME: --disable-scrollkeeper is not implemented in gok-1.2.0
rm -r $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
%suse_update_desktop_file -G "Virtual Keyboard" gok
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%files -f %{name}.lst
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_bindir}/*
%{_datadir}/gok
%{_datadir}/omf/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_datadir}/icons/hicolor/*/apps/gok.png
%{_libdir}/bonobo/servers/GNOME_Gok.server
%files lang -f %{name}.lang
%files devel
%defattr (-, root, root)
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/gok
%changelog
* Fri Oct 03 2008 mboman@suse.de
- Update to version 2.24.0:
+ Cosmetic version bump
* Sun Aug 31 2008 mboman@novell.com
- Update to versin 2.23.91:
+ Bugs fixed: bgo#548859, bgo##546559, bgo#513955.
+ Translation updates.
- Removed gok-include.patch. Not needed.
* Tue Aug 12 2008 maw@suse.de
- Update to versin 1.4.0:
+ Now use the core pointer (regular mouse system) by default
+ Lots of improvements
+ Various bug fixes
+ Updated translations
- Drop gok-g_strnconcat-NULL.diff, as it is no longer necessary.
* Sat Feb 02 2008 maw@suse.de
- Update to version 1.3.7:
+ Bugs fixed: bnc#486346, bnc#482796, bnc#481681, and #bnc481099
+ Minor code cleanups.
* Fri Oct 12 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Wed Sep 19 2007 sbrabec@suse.cz
- Updated to version 1.3.4:
* gok_keyboard_branch_byKey: check for null accessible, and null
state
* work toward fixing crasher bug in gok-spy
* Sat Sep 01 2007 maw@suse.de
- Update to version 1.3.2:
+ Bugs (bugzilla.gnome.org) fixed: #413414, #316851, and
partially #457560
+ Updated translations.
* Wed Aug 08 2007 maw@suse.de
- Split off a -lang subpackage.
* Fri Aug 03 2007 maw@suse.de
- Update to version 1.3.1
+ Now works with Mozilla Firefox 3
+ Updated translations
- Use %%fdupes.
* Wed Jul 11 2007 maw@suse.de
- Update to version 1.2.5
- Numerous translations and minor bug fixes.
* Mon May 14 2007 coolo@suse.de
- fix desktop file
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Tue Apr 17 2007 maw@suse.de
- Create a -devel subpackage (#262572).
* Tue Apr 10 2007 maw@suse.de
- Update to version 1.2.3
- b.g.o 412825 and 323648.
* Sat Mar 10 2007 maw@suse.de
- Update to version 1.2.1.
* libusb support! (see README.libusb) Thanks Ben Konrath!
* Ubuntu crasher fixed! Thanks Bill!
* Bugfixes include: 334273. 350356, 394511, 395040, 159027
* Wed Jan 17 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sat Oct 14 2006 danw@suse.de
- Remove dead patches
* Fri Sep 15 2006 jhargadon@suse.de
- update to version 1.2.0
- Returned to the use of new GOption style of command line argument
- Mainly bugfixes dealing with stability including:
350356, 351694, and 351993
- translation updates
* Wed Aug 16 2006 jhargadon@suse.de
- update to version 1.1.1
- new GOption style command line arguments
- Removed illegal memory access, should improve stability.
- Fix for #330469: add program argument to include nameless gui
elements as gok keys
- Fix for #330970: fix critical warning
- Fix for #168371: memory usage cleanup
- Enhanced EWMH behavior - GOK registers itself as a pager now.
- Respond to more children-changed
- Fix for #301377, we can now handle actionable table cells even if
they don't have unique names.
* Tue Feb 28 2006 sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Sat Feb 18 2006 sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Thu Jan 26 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Dec 24 2005 gekker@suse.de
- Add OnlyShowIn=GNOME to .desktop file (#81817)
* Wed Dec 21 2005 jpr@suse.de
- Fix realloc assignment
* Thu Nov 03 2005 dmueller@suse.de
- don't build as root
* Thu Sep 22 2005 sbrabec@suse.cz
- Fixed missing include.
* Tue Jun 21 2005 gekker@suse.de
- Update to version 1.0.5
* Wed Apr 06 2005 mmj@suse.de
- Fix g_strnconcat calls
* Thu Mar 10 2005 gekker@suse.de
- Update to version 1.0.2 (GNOME 2.10).
* Mon Mar 07 2005 ro@suse.de
- fix build on lib64
* Fri Mar 04 2005 gekker@suse.de
- Update to version 1.0.1
* Sat Feb 12 2005 gekker@suse.de
- Update to 0.12.3
* Sun Feb 06 2005 gekker@suse.de
- Update to version 0.12.1
- Fix the file list
* Fri Jan 14 2005 clahey@suse.de
- Updated to version 0.12.0.
* Wed Dec 15 2004 hvogel@suse.de
- fix desktop file
* Wed Nov 03 2004 ro@suse.de
- locale rename: no -> nb
* Fri Aug 27 2004 clahey@suse.de
- Cache gok help and show gok in khelpcenter.
* Mon May 10 2004 sbrabec@suse.cz
- Updated to version 0.10.2 (GNOME 2.6).
* Wed Mar 10 2004 sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Tue Feb 24 2004 ro@suse.de
- fix docu build
* Thu Feb 12 2004 hhetter@suse.de
- gconf schema (de-)installation in %%post and %%postun
* Mon Feb 09 2004 hhetter@suse.de
- updated to version 0.8.4 [GNOME2.4.2]
* Thu Feb 05 2004 ro@suse.de
- fix configure for lib64
* Fri Oct 10 2003 sbrabec@suse.cz
- Added new SuSE package, version 0.8.3 (GNOME 2.4).