File dasher.spec of Package dasher

#
# spec file for package dasher (Version 4.9.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:           dasher
BuildRequires:  at-spi-devel cairo-devel docbook_4 fdupes gcc-c++ gnome-doc-utils-devel gnome-speech-devel intltool libexpat-devel libglade2-devel libgnomeui-devel libstdc++ libwnck-devel perl-XML-Parser scrollkeeper update-desktop-files
Version:        4.9.0
Release:        37
%if %suse_version > 1020
Requires:       %{name}-lang = %{version}
%endif
Url:            http://www.inference.phy.cam.ac.uk/dasher/
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        Zooming Predictive Text Entry System
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/4.5/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM dasher-includes.patch bgo517642
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq

%description
Dasher is a zooming predictive text entry system, designed for
situations where keyboard input is impractical (for instance:
accessibility or PDAs). It is usable with greatly limited amounts of
physical input while still allowing high rates of text entry.



Authors:
--------
    David MacKay
    David Ward
    Iain Murray
    Philip Cowans
    Hanna Wallach
    Matthew Garrett
    Chris Ball

%lang_package
%prep
%setup -q

%build
#export CXXFLAGS="$RPM_OPT_FLAGS -fpermissive"
autoreconf -f -i
intltoolize --force
%configure --with-pic \
    --with-gnome \
    --disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
rm -rf $RPM_BUILD_ROOT/%{_datadir}/locale/uz@cyrillic
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
cp Data/dasher.schemas $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
echo DocPath=dasher >> $RPM_BUILD_ROOT%{_datadir}/applications/dasher.desktop
%suse_update_desktop_file -G "Text Entry Tool" %name GNOME
%find_lang %{name}
%find_gconf_schemas
###cat %{name}.lang %{name}.schemas_list >%{name}.lst
cat %{name}.schemas_list >%{name}.lst 
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT
%endif

%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 MAINTAINERS NEWS README
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/dasher
%{_datadir}/icons/hicolor/48x48/apps/dasher.png
%{_datadir}/icons/hicolor/scalable/apps/dasher.svg
%{_datadir}/omf/*
%doc %{_mandir}/man?/*.*

%files lang -f %name.lang

%changelog
* Sun Aug 31 2008 crrodriguez@suse.de
- fix build
* Wed Jun 18 2008 maw@suse.de
- Update to version 4.9.0:
  + New project branch, with various bugfixes and improvements.
* Thu Apr 10 2008 maw@suse.de
- Update to version 4.7.3:
  + Misc. bugfixes
- Drop dasher-includes.patch.
* Thu Mar 06 2008 maw@suse.de
- Fix the build when against newer versions of intltool.
* Wed Feb 20 2008 rodrigo@suse.de
- Upstreamed patch and tag .spec file accordingly
* Fri Feb 01 2008 maw@suse.de
- Update to version 4.7.0:
  + New development series
- Remove abuild.patch.
- Remove dasher-gcc4.3-fixes.patch, but add dasher-includes.patch,
  which does very nearly the same thing!
* Tue Nov 06 2007 maw@suse.de
- Add dasher-gcc4.3-fixes.patch.
* Tue Sep 18 2007 maw@suse.de
- Update to version 4.6.0:
  + Updated translations
- Add abuild.patch.
* Tue Aug 07 2007 mauro@suse.de 
- Split out a -lang subpackage
- Added %%fdupes stuff
* Thu Aug 02 2007 mauro@suse.de
- Update to version 4.5.2
- Bugfixes, new CTW language model, updated translations.
* Mon Jul 09 2007 maw@suse.de
- Update to version 4.5.1
- Bugfixes, code cleanups, and updated translations.
* Thu May 10 2007 pgajdos@suse.cz
- removed gnome-icon-theme from BuildRequires [#247450]
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Wed Apr 11 2007 maw@suse.de
- Update to version 4.4.1 which as minor bugfixes and translation
  updates.
* Fri Mar 30 2007 maw@suse.de
- Update to version 4.4.0
- Remove upstreamed autobuild-warnings.patch
- Code cleanups
- b.g.o 412217, 407773, 398103, 346973.
* Thu Mar 08 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Wed Feb 28 2007 maw@suse.de
- Remove dasher-return-random-data.patch, dasher-warning.patch,
  and dasher-4.2.0-unused-code.patch, which are now upstream
- Add autobuild-warnings.patch.
* Wed Feb 28 2007 maw@suse.de
- Update to version 4.3.4
- Remove dasher-desktop.patch, which is now upstream.
* Wed Feb 21 2007 mvaner@suse.cz
- Fixed uninitiated variable (#230228)
  - unused-code.patch
* Thu Jan 04 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Fri Oct 13 2006 aj@suse.de
- Adjust BuildRequires for gnome-doc-utils.
- Cleanup BuildRequires.
* Thu Sep 14 2006 jhargadon@suse.de
- update to version 4.2.0
- translation updates
- Documentation update
- Bugfixes
* Wed Sep 06 2006 anosek@suse.cz
- fixed compiler warning: missing return statement at end
  of non-void function [#203479] (warning.patch)
* Thu Aug 31 2006 jhargadon@suse.de
- update to version 4.1.10
- Minor update to UI
- Bugfixes
- Updated translations
* Fri Aug 18 2006 jhargadon@suse.de
- update to version 4.1.9
- bug 350117 - crash on dasher
- bug 350071 - Translation credits string
* Wed Aug 02 2006 gekker@suse.de
- Update to version 4.1.8
  * Improvements to dynamic button modes
  * Many bugfixes
  * Redesigned preferences dialogue
  * Updated two button dynamic mode
  * Improved interaction with desktop environment
  * Fixes to build system
  * Considerable internal rewriting
  * Introduction of 'application styles' - the aim here is to improve
  integration with the desktop.
  * Improved button control.
  * Improved support for Hiragana to Kanji conversion.
  * Prototype support for the Maemo environment as used on the Nokia N770.
  * Cairo support ported from 3.2 branch
  * (Partial) button mode support
  * Infinite back off
  * Improved symbol grouping in alphabets
  * New status bar, with 'favourite' alphabet selection
  * Updated translations
  * Panel detection code fixed
  * Fixed a speech crash bug
  * Use gtkfilechooser
  * X server portability fixes
  * Behaves intelligently when it comes to deleting characters
  * Fix various nasty things that broke switching between accessible applications
* Sat Apr 15 2006 dobey@suse.de
- Replace icon with new version from upstream
* Tue Feb 28 2006 sbrabec@suse.cz
- Fixed BuildRequires.
* Tue Feb 28 2006 sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Fri Feb 24 2006 sbrabec@suse.cz
- Improved Categories.
* Fri Feb 17 2006 sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 sbrabec@suse.cz
- Updated to version 3.2.19.
* Mon Sep 05 2005 gekker@suse.de
- Updated to version 3.2.18 (GNOME 2.12)
* Mon Sep 05 2005 sbrabec@suse.cz
- Updated to version 3.2.17.
* Tue Aug 23 2005 gekker@suse.de
- Update to version 3.2.16
* Wed Mar 09 2005 gekker@suse.de
- Update to version 3.2.15 (GNOME 2.10).
- remove upstreamed patch for libwnck API breakage
* Mon Mar 07 2005 gekker@suse.de
- Patch the libwnck API breakage
* Fri Feb 11 2005 gekker@suse.de
- Updated to version 3.2.13
* Fri Jan 14 2005 sbrabec@suse.cz
- Updated to version 3.2.12.
* Tue Dec 14 2004 hvogel@suse.de
- fix desktop file
* Wed Oct 27 2004 mmj@suse.de
- locale rename no to nb
* Mon Sep 20 2004 adrian@suse.de
- add %%suse_update_desktop_file (#45636)
* Tue Aug 31 2004 clahey@suse.de
- Don't --check as the docs don't validate.
* Wed Aug 25 2004 clahey@suse.de
- Cache dasher docs and have dasher show up in khelpcenter.
* Mon Aug 16 2004 ro@suse.de
- find Xtst lib on lib64
* Tue Jun 08 2004 sbrabec@suse.cz
- GNOME support work-around.
  http://bugzilla.gnome.org/show_bug.cgi?id=143332
- Added support for Czech language.
- Added Czech training text (with permission of the Institute of the
  Czech National Corpus).
* Tue May 11 2004 sbrabec@suse.cz
- Fixed gconftool-2 prerequirements.
* Tue May 04 2004 sbrabec@suse.cz
- New SuSE package, version 3.2.10 (GNOME 2.6).
openSUSE Build Service is sponsored by