author | yippi |
Fri, 01 May 2009 16:55:51 +0000 | |
changeset 15699 | 49363b1e71c4 |
parent 15690 | 5a1bb6b572d8 |
child 15710 | 33ede3b64d73 |
permissions | -rw-r--r-- |
9397 | 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 |
%include l10n.inc |
|
11 |
Name: dasher |
|
14571 | 12 |
License: GPL v2, MIT/X |
9397 | 13 |
Group: System/GUI/GNOME |
15418 | 14 |
Version: 4.10.0 |
9397 | 15 |
Release: 1 |
16 |
Distribution: Java Desktop System |
|
17 |
Vendor: Sun Microsystems, Inc. |
|
18 |
Summary: Predictive text entry system |
|
15418 | 19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/dasher/4.10/%{name}-%{version}.tar.bz2 |
9397 | 20 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
12031 | 21 |
%if %build_l10n |
22 |
Source2: l10n-configure.sh |
|
23 |
%endif |
|
9397 | 24 |
# owner:yippi date:2006-04-27 type:branding |
25 |
Patch1: dasher-01-menu-entry.diff |
|
15445 | 26 |
# owner:yippi date:2007-06-07 type:bug bugzilla:438925 |
11185 | 27 |
Patch2: dasher-02-vector.diff |
15418 | 28 |
# owner:yippi date:2009-03-17 type:bug bugzilla:575729 |
29 |
Patch3: dasher-03-fixcompile.diff |
|
15699 | 30 |
# Note the dasher-04-speed.diff patch relates to bugzilla bug #575730, and the |
31 |
# patch is upstream. However, that bugreport morphed into a separate unrelated |
|
32 |
# issue which is marked as NEEDINFO, so I am not referencing it on the bug |
|
33 |
# line, or else this patch shows up as red. |
|
15690 | 34 |
# owner:yippi date:2009-03-31 type:bug bugzilla:575730 state:upstream |
15534 | 35 |
Patch4: dasher-04-speed.diff |
9397 | 36 |
URL: http://www.gnome.org |
37 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
38 |
Docdir: %{_defaultdocdir}/%{name} |
|
39 |
Autoreqprov: on |
|
40 |
||
41 |
%define gtk2_version 2.3.1 |
|
42 |
%define GConf_version 2.4.0.1 |
|
43 |
%define libgnomeui_version 2.6.0 |
|
44 |
%define libwnck_version 2.6.0 |
|
45 |
%define gnome_speech_version 0.3.0 |
|
46 |
||
47 |
Requires: gtk2 >= %{gtk2_version} |
|
48 |
Requires: GConf >= %{GConf_version} |
|
49 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
50 |
Requires: libwnck >= %{libwnck_version} |
|
51 |
Requires: gnome-speech >= %{gnome_speech_version} |
|
52 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
53 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
54 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
55 |
BuildRequires: libwnck-devel >= %{libwnck_version} |
|
56 |
BuildRequires: gnome-speech-devel >= %{gnome_speech_version} |
|
57 |
BuildRequires: intltool |
|
58 |
||
59 |
%description |
|
60 |
Dasher is a zooming predictive text entry system, designed for situations |
|
61 |
where keyboard input is impractical (for instance, accessibility or PDAs). It |
|
62 |
is usable with highly limited amounts of physical input while still allowing |
|
63 |
high rates of text entry. |
|
64 |
||
65 |
%prep |
|
66 |
%setup -q |
|
67 |
%if %build_l10n |
|
68 |
bzcat %SOURCE1 | tar xf - |
|
69 |
cd po-sun; make; cd .. |
|
70 |
%endif |
|
71 |
%patch1 -p1 |
|
72 |
%patch2 -p1 |
|
12292
9fea8698dbfd
Add ld flags in Makefile.am to fix the build error.
davelam
parents:
12070
diff
changeset
|
73 |
%patch3 -p1 |
15534 | 74 |
%patch4 -p1 |
9397 | 75 |
|
76 |
%build |
|
77 |
%ifos linux |
|
78 |
if [ -x /usr/bin/getconf ]; then |
|
79 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
80 |
fi |
|
81 |
%else |
|
82 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
83 |
%endif |
|
84 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
85 |
CPUS=1 |
|
86 |
fi |
|
87 |
||
88 |
glib-gettextize -f |
|
89 |
intltoolize -c -f --automake |
|
12031 | 90 |
|
91 |
%if %build_l10n |
|
92 |
bash -x %SOURCE2 --enable-copyright |
|
93 |
%endif |
|
94 |
||
9397 | 95 |
aclocal $ACLOCAL_FLAGS |
96 |
autoheader |
|
97 |
automake -a -c -f |
|
98 |
autoconf |
|
99 |
||
100 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
101 |
./configure \ |
|
102 |
--prefix=%{_prefix} \ |
|
103 |
--sysconfdir=%{_sysconfdir} \ |
|
104 |
--mandir=%{_mandir} |
|
105 |
make -j $CPUS |
|
106 |
||
107 |
%install |
|
108 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
109 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
110 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
111 |
||
112 |
%clean |
|
113 |
rm -rf $RPM_BUILD_ROOT |
|
114 |
||
115 |
%files |
|
116 |
%defattr (-, root, root) |
|
117 |
%{_bindir}/* |
|
118 |
%{_datadir}/applications |
|
119 |
%{_datadir}/dasher |
|
120 |
%{_datadir}/gnome/help |
|
121 |
%{_datadir}/icons |
|
122 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
123 |
%{_datadir}/man |
|
124 |
%{_datadir}/omf |
|
125 |
||
126 |
%changelog |
|
15534 | 127 |
* Tue Mar 31 2009 - [email protected] |
128 |
- Add patch dasher-04-speed.diff so that the speed selection works in dasher. |
|
129 |
Fixes bugzilla bug #575730. |
|
15418 | 130 |
* Tue Mar 17 2009 - [email protected] |
131 |
- Bump to 4.10.0. Remove upstream patches dasher-03-add-libsocket.diff |
|
132 |
and dasher-04-fixcompile.diff. Add new patch dasher-03-fixcompile.diff |
|
133 |
to address new compilation issue. |
|
12606 | 134 |
* Thu Jun 05 2008 - [email protected] |
135 |
- Add patch dasher-05-fixcompile.diff so that 4.9.0 compiles. |
|
136 |
Fixes bugzilla bug 536926. |
|
12519 | 137 |
* Wed May 28 2008 - [email protected] |
138 |
- Bump to 4.9.0. |
|
12292
9fea8698dbfd
Add ld flags in Makefile.am to fix the build error.
davelam
parents:
12070
diff
changeset
|
139 |
* Wed May 14 2008 - [email protected] |
9fea8698dbfd
Add ld flags in Makefile.am to fix the build error.
davelam
parents:
12070
diff
changeset
|
140 |
- Add patch dasher-03-add-libsocket.diff to fix build error |
12070 | 141 |
* Wed Apr 08 2008 - [email protected] |
142 |
- Bump to 4.7.3. Remove upstream patches, 03-gnu_cxx and 04-fixcompile. |
|
11184 | 143 |
* Tue Nov 13 2007 - [email protected] |
144 |
- Add patch dasher-05-fixcompile.diff to fix Sun Studio compile issues. |
|
11185 | 145 |
- Remove dasher-02-joystick.diff since it is no longer needed. Now |
146 |
joystick support is off by default, and you have to use |
|
147 |
--enable-joystick to turn on the joystick code that breaks on |
|
148 |
Solaris. |
|
11180 | 149 |
* Tue Nov 13 2007 - [email protected] |
150 |
- Bump to 4.7.0. |
|
10674 | 151 |
* Fri Oct 19 2007 - [email protected] |
152 |
- Bump to 4.6.1. |
|
10510 | 153 |
* Tue Sep 18 2007 - [email protected] |
154 |
- Bump to 4.6.0. |
|
10176 | 155 |
* Tue Jul 10 2007 - [email protected] |
156 |
- Bump to 4.5.2. |
|
10021 | 157 |
* Fri Jun 09 2007 - [email protected] |
158 |
- Add Brett Albertson's three patches that get dasher to successfully build. |
|
9990 | 159 |
* Tue Jun 05 2007 - [email protected] |
160 |
- Bump to 4.5.1. |
|
9900 | 161 |
* Tue May 15 2007 - [email protected] |
162 |
- Bump to 4.5.0. |
|
9737 | 163 |
* Thu Apr 12 2007 - [email protected] |
164 |
- Bump to 4.4.1. |
|
9538 | 165 |
* Tue Mar 13 2007 - [email protected] |
166 |
- Bump to 4.4.0. |
|
9452 | 167 |
* Tue Mar 06 2007 - [email protected] |
168 |
- Remove upstream patch, 03-return-value. |
|
9439 | 169 |
* Mon Mar 05 2007 - [email protected] |
170 |
- Bump to 4.3.5. |
|
9397 | 171 |
* Wed Feb 14 2007 - [email protected] |
172 |
- Add patch, 03-return-value, to return values from functions (functions |
|
173 |
involved as in the process of being reimplemented). Fixes #407773. |
|
174 |
* Tue Feb 13 2007 - [email protected] |
|
175 |
- Add l10n tarball. |
|
176 |
* Tue Feb 13 2007 - [email protected] |
|
177 |
- Bump to 4.3.4. |
|
178 |
* Thu Jan 04 2007 - [email protected] |
|
179 |
- Add patch, 02-joystick, to get module to build. It is a dreadful hack, but |
|
180 |
pushed upstream (#388198) to encourage the maintainer to find a better |
|
181 |
solution. Add intltoolize call to get l10n files installed. |
|
182 |
* Wed Dec 20 2006 - [email protected] |
|
183 |
- Remove nodividebyzero patch since it is no longer needed. New |
|
184 |
version of dasher no longer allows the problem to happen. Remove |
|
185 |
unnecessary linguas patch. |
|
186 |
* Tue Dec 19 2006 - [email protected] |
|
187 |
- Bump to 4.3.3. |
|
188 |
* Thu Dec 14 2006 - [email protected] |
|
189 |
- Patch to avoid divide by zero which causes dasher to core dump. |
|
190 |
* Mon Dec 04 2006 - [email protected] |
|
191 |
- Bump to 4.3.2. Remove upstream patches, 01-forte and 03-fixcompile. Renumber |
|
192 |
remainder. |
|
193 |
* Mon Nov 27 2006 - [email protected] |
|
194 |
- Bump to 4.2.2. |
|
195 |
* Wed Oct 25 2006 - [email protected] |
|
196 |
- Bump to 4.2.1. |
|
197 |
* Mon Sep 04 2006 - [email protected] |
|
198 |
- Bump to 4.2.0. |
|
199 |
* Tue Aug 22 2006 - [email protected] |
|
200 |
- Bump to 4.1.10. |
|
201 |
* Tue Aug 08 2006 - [email protected] |
|
202 |
- Bump to 4.1.9. |
|
203 |
* Mon Jul 24 2006 - [email protected] |
|
204 |
- Bump to 4.1.8. |
|
205 |
* Web Jul 20 2006 - [email protected] |
|
206 |
- Bump to 4.1.7. |
|
207 |
* Fri Jun 23 2006 - [email protected] |
|
208 |
- Bump to 4.1.4. Add patches to fix build, now call glib-gettextize. |
|
209 |
* Fri Apr 28 2006 - [email protected] |
|
210 |
- Add patch to move Dasher into Universal |
|
211 |
Access. |
|
212 |
* Mon Apr 3 2006 - [email protected] |
|
213 |
- Bump to 4.0.2. |
|
214 |
* Sat Mar 18 2006 - [email protected] |
|
215 |
- Bump to 4.0.1. |
|
216 |
* Mon Mar 13 2006 - [email protected] |
|
217 |
- Bump to 4.0.0. |
|
218 |
* Sun Feb 26 2006 - [email protected] |
|
219 |
- Bump to 3.99.5. |
|
220 |
* Tue Feb 21 2006 - [email protected] |
|
221 |
- Add patch 1 to get dasher to compile with Forte. |
|
222 |
* Mon Feb 20 2006 - [email protected] |
|
223 |
- Remove upstream patch, 01-trace. |
|
224 |
* Mon Feb 13 2006 - [email protected] |
|
225 |
- Bump to 3.99.4. |
|
226 |
* Tue Jan 31 2006 - [email protected] |
|
227 |
- Bump to 3.99.3. |
|
228 |
* Tue Jan 31 2006 - [email protected] |
|
229 |
- Bump to 3.99.2. |
|
230 |
* Fri Jan 20 2006 - [email protected] |
|
231 |
- Bump to 3.99.1. |
|
232 |
* Fri Sep 30 2005 - [email protected] |
|
233 |
- Add patch 1 to get dasher to compile. Got Trace.cpp from |
|
234 |
CVS head. Seems to be a bug in dasher that this file isn't |
|
235 |
included in the compile, so submitted a bug to bugzilla. |
|
236 |
I suspect Forte's stricter linking rules cause this issue |
|
237 |
on Solaris. |
|
238 |
* Thu Sep 08 2005 - [email protected] |
|
239 |
- Bump to 3.2.18. |
|
240 |
* Tue May 24 2005 - [email protected] |
|
241 |
- Initial spec |