Home | History | Annotate | Download | only in gnome-2-16
      1 #
      2 # spec file for package dasher
      3 #
      4 # Copyright (c) 2005 Sun Microsystems, Inc.
      5 # This file and all modifications and additions to the pristine
      6 # package are under the same license as the package itself.
      7 #
      8 # Owner: yippi
      9 #
     10 Name:           dasher
     11 License:	GPL
     12 Group:		System/GUI/GNOME
     13 Version:        4.2.1
     14 Release:	1
     15 Distribution:	Java Desktop System
     16 Vendor:		Sun Microsystems, Inc.
     17 Summary:	Predictive text entry system
     18 Source:		http://ftp.gnome.org/pub/GNOME/sources/dasher/4.2/%{name}-%{version}.tar.bz2
     19 Patch1:         dasher-01-forte.diff
     20 Patch2:         dasher-02-menu-entry.diff
     21 Patch3:         dasher-03-fixcompile.diff
     22 Patch4:         dasher-04-linguas.diff
     23 URL:		http://www.gnome.org
     24 BuildRoot:	%{_tmppath}/%{name}-%{version}-build
     25 Docdir:		%{_defaultdocdir}/%{name}
     26 Autoreqprov:	on
     27 
     28 %define gtk2_version 2.3.1
     29 %define GConf_version 2.4.0.1
     30 %define libgnomeui_version 2.6.0
     31 %define libwnck_version 2.6.0
     32 %define gnome_speech_version 0.3.0
     33 
     34 Requires:	gtk2 >= %{gtk2_version}
     35 Requires:	GConf >= %{GConf_version}
     36 Requires:	libgnomeui >= %{libgnomeui_version}
     37 Requires:	libwnck >= %{libwnck_version}
     38 Requires:	gnome-speech >= %{gnome_speech_version}
     39 BuildRequires:  gtk2-devel >= %{gtk2_version}
     40 BuildRequires:  GConf-devel >= %{GConf_version}
     41 BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
     42 BuildRequires:  libwnck-devel >= %{libwnck_version}
     43 BuildRequires:  gnome-speech-devel >= %{gnome_speech_version}
     44 BuildRequires:  intltool
     45 
     46 %description
     47 Dasher is a zooming predictive text entry system, designed for situations
     48 where keyboard input is impractical (for instance, accessibility or PDAs). It
     49 is usable with highly limited amounts of physical input while still allowing
     50 high rates of text entry.
     51 
     52 %prep
     53 %setup -q
     54 %ifos solaris
     55 %patch1 -p1
     56 %endif
     57 %patch2 -p1
     58 %patch3 -p1
     59 %patch4 -p1
     60 
     61 %build
     62 %ifos linux
     63 if [ -x /usr/bin/getconf ]; then
     64   CPUS=`getconf _NPROCESSORS_ONLN`
     65 fi
     66 %else
     67   CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
     68 %endif
     69 if test "x$CPUS" = "x" -o $CPUS = 0; then
     70   CPUS=1
     71 fi
     72 
     73 glib-gettextize -f
     74 aclocal $ACLOCAL_FLAGS
     75 autoheader
     76 automake -a -c -f
     77 autoconf
     78 
     79 CFLAGS="$RPM_OPT_FLAGS" \
     80   ./configure \
     81 	--prefix=%{_prefix} \
     82 	--sysconfdir=%{_sysconfdir} \
     83 	--mandir=%{_mandir}
     84 make -j $CPUS
     85 
     86 %install
     87 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
     88 make -i install DESTDIR=$RPM_BUILD_ROOT
     89 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
     90 
     91 %clean
     92 rm -rf $RPM_BUILD_ROOT
     93 
     94 %files
     95 %defattr (-, root, root)
     96 %{_bindir}/*
     97 %{_datadir}/applications
     98 %{_datadir}/dasher
     99 %{_datadir}/gnome/help
    100 %{_datadir}/icons
    101 %{_datadir}/locale/*/LC_MESSAGES/*.mo
    102 %{_datadir}/man
    103 %{_datadir}/omf
    104 
    105 %changelog
    106 * Wed Oct 25 2006 - damien.carbery@sun.com
    107 - Bump to 4.2.1.
    108 * Mon Sep 04 2006 - damien.carbery@sun.com
    109 - Bump to 4.2.0.
    110 * Tue Aug 22 2006 - damien.carbery@sun.com
    111 - Bump to 4.1.10.
    112 * Tue Aug 08 2006 - brian.cameron@sun.com
    113 - Bump to 4.1.9.
    114 * Mon Jul 24 2006 - damien.carbery@sun.com
    115 - Bump to 4.1.8.
    116 * Web Jul 20 2006 - dermot.mccluskey@sun.com
    117 - Bump to 4.1.7.
    118 * Fri Jun 23 2006 - brian.cameron@sun.com
    119 - Bump to 4.1.4.  Add patches to fix build, now call glib-gettextize.
    120 * Fri Apr 28 2006 - glynn.foster@sun.com
    121 - Add patch to move Dasher into Universal
    122   Access.
    123 * Mon Apr 3 2006 - damien.carbery@sun.com
    124 - Bump to 4.0.2.
    125 * Sat Mar 18 2006 - damien.carbery@sun.com
    126 - Bump to 4.0.1.
    127 * Mon Mar 13 2006 - damien.carbery@sun.com
    128 - Bump to 4.0.0.
    129 * Sun Feb 26 2006 - damien.carbery@sun.com
    130 - Bump to 3.99.5.
    131 * Tue Feb 21 2006 - brian.cameron@sun.com
    132 - Add patch 1 to get dasher to compile with Forte.
    133 * Mon Feb 20 2006 - damien.carbery@sun.com
    134 - Remove upstream patch, 01-trace.
    135 * Mon Feb 13 2006 - damien.carbery@sun.com
    136 - Bump to 3.99.4.
    137 * Tue Jan 31 2006 - damien.carbery@sun.com
    138 - Bump to 3.99.3.
    139 * Tue Jan 31 2006 - damien.carbery@sun.com
    140 - Bump to 3.99.2.
    141 * Fri Jan 20 2006 - damien.carbery@sun.com
    142 - Bump to 3.99.1.
    143 * Fri Sep 30 2005 - brian.cameron@sun.com
    144 - Add patch 1 to get dasher to compile.  Got Trace.cpp from
    145   CVS head.  Seems to be a bug in dasher that this file isn't
    146   included in the compile, so submitted a bug to bugzilla.  
    147   I suspect Forte's stricter linking rules cause this issue
    148   on Solaris.
    149 * Thu Sep 08 2005 - damien.carbery@sun.com
    150 - Bump to 3.2.18.
    151 * Tue May 24 2005 - glynn.foster@sun.com
    152 - Initial spec
    153