5518
|
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 |
#
|
5775
|
8 |
Name: dasher
|
5518
|
9 |
License: GPL
|
|
10 |
Group: System/GUI/GNOME
|
5775
|
11 |
Version: 3.2.18
|
5518
|
12 |
Release: 1
|
|
13 |
Distribution: Java Desktop System
|
|
14 |
Vendor: Sun Microsystems, Inc.
|
|
15 |
Summary: Predictive text entry system
|
|
16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/dasher/3.2/%{name}-%{version}.tar.bz2
|
6056
|
17 |
Patch1: dasher-01-trace.diff
|
5518
|
18 |
URL: http://www.gnome.org
|
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
20 |
Docdir: %{_defaultdocdir}/%{name}
|
|
21 |
Autoreqprov: on
|
|
22 |
|
|
23 |
%define gtk2_version 2.3.1
|
|
24 |
%define GConf_version 2.4.0.1
|
|
25 |
%define libgnomeui_version 2.6.0
|
|
26 |
%define libwnck_version 2.6.0
|
|
27 |
%define gnome_speech_version 0.3.0
|
|
28 |
|
|
29 |
Requires: gtk2 >= %{gtk2_version}
|
|
30 |
Requires: GConf >= %{GConf_version}
|
|
31 |
Requires: libgnomeui >= %{libgnomeui_version}
|
|
32 |
Requires: libwnck >= %{libwnck_version}
|
|
33 |
Requires: gnome-speech >= %{gnome_speech_version}
|
|
34 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
35 |
BuildRequires: GConf-devel >= %{GConf_version}
|
|
36 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
|
37 |
BuildRequires: libwnck-devel >= %{libwnck_version}
|
|
38 |
BuildRequires: gnome-speech-devel >= %{gnome_speech_version}
|
|
39 |
BuildRequires: intltool
|
|
40 |
|
|
41 |
%description
|
|
42 |
Dasher is a zooming predictive text entry system, designed for situations
|
|
43 |
where keyboard input is impractical (for instance, accessibility or PDAs). It
|
|
44 |
is usable with highly limited amounts of physical input while still allowing
|
|
45 |
high rates of text entry.
|
|
46 |
|
|
47 |
%prep
|
|
48 |
%setup -q
|
6056
|
49 |
%patch1 -p1
|
5518
|
50 |
|
|
51 |
%build
|
|
52 |
%ifos linux
|
|
53 |
if [ -x /usr/bin/getconf ]; then
|
|
54 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
55 |
fi
|
|
56 |
%else
|
|
57 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
58 |
%endif
|
|
59 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
60 |
CPUS=1
|
|
61 |
fi
|
|
62 |
|
6056
|
63 |
aclocal $ACLOCAL_FLAGS
|
|
64 |
autoheader
|
|
65 |
automake -a -c -f
|
|
66 |
autoconf
|
|
67 |
|
5518
|
68 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
69 |
./configure \
|
|
70 |
--prefix=%{_prefix} \
|
|
71 |
--sysconfdir=%{_sysconfdir} \
|
|
72 |
--mandir=%{_mandir}
|
|
73 |
make -j $CPUS
|
|
74 |
|
|
75 |
%install
|
|
76 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
77 |
make -i install DESTDIR=$RPM_BUILD_ROOT
|
|
78 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
79 |
|
|
80 |
%clean
|
|
81 |
rm -rf $RPM_BUILD_ROOT
|
|
82 |
|
|
83 |
%files
|
|
84 |
%defattr (-, root, root)
|
|
85 |
%{_bindir}/*
|
|
86 |
%{_datadir}/applications
|
|
87 |
%{_datadir}/dasher
|
|
88 |
%{_datadir}/gnome/help
|
|
89 |
%{_datadir}/icons
|
|
90 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
91 |
%{_datadir}/man
|
|
92 |
%{_datadir}/omf
|
|
93 |
|
|
94 |
%changelog
|
6056
|
95 |
* Fri Sep 30 2005 - [email protected]
|
|
96 |
- Add patch 1 to get dasher to compiler. Got Trace.cpp from
|
|
97 |
CVS head. Seems to be a bug in dasher that this file isn't
|
|
98 |
included in the compile, so submitted a bug to bugzilla.
|
|
99 |
I suspect Forte's stricter linking rules cause this issue
|
|
100 |
on Solaris.
|
|
101 |
|
5775
|
102 |
* Thu Sep 08 2005 - [email protected]
|
|
103 |
- Bump to 3.2.18.
|
|
104 |
|
5518
|
105 |
* Tue May 24 2005 - [email protected]
|
|
106 |
- Initial spec
|