author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 6299 | 4b3aea37c890 |
child 8332 | 807a1b2ba056 |
permissions | -rw-r--r-- |
3117 | 1 |
# |
5518 | 2 |
# spec file for package gnome-im-switcher |
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. |
|
3117 | 7 |
# |
8 |
||
9 |
##################################### |
|
10 |
## Package Information Section ## |
|
11 |
##################################### |
|
12 |
||
13 |
Name: gnome-im-switcher |
|
14 |
License: X11/MIT |
|
15 |
Group: System/GUI/GNOME |
|
4258 | 16 |
Version: 1.1.2 |
5518 | 17 |
Release: 2133 |
18 |
Distribution: Java Desktop System |
|
3117 | 19 |
Vendor: Sun Microsystems, Inc. |
20 |
Summary: GNOME Input Method Switcher Applet |
|
4046 | 21 |
Source: %{name}-%{version}.tar.bz2 |
5518 | 22 |
Source1: mkinstalldirs |
23 |
Source2: %{name}-docs-0.2.tar.bz2 |
|
24 |
Patch1: gnome-im-switcher-01-svn-2115.diff |
|
25 |
Patch2: gnome-im-switcher-02-change-menu-name.diff |
|
26 |
Patch3: gnome-im-switcher-03-figures.diff |
|
27 |
Patch4: gnome-im-switcher-04-jdshelp.diff |
|
28 |
Patch5: gnome-im-switcher-05-session-unaware.diff |
|
29 |
Patch6: gnome-im-switcher-06-load-gtk-modules.diff |
|
30 |
Patch7: gnome-im-switcher-07-enable-unicode.diff |
|
3117 | 31 |
URL: http://www.openi18n.org |
32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
33 |
Docdir: %{_defaultdocdir}/gnome-im-switcher |
|
5518 | 34 |
Autoreqprov: on |
35 |
Prereq: GConf |
|
3117 | 36 |
|
37 |
##################################### |
|
38 |
## Package Defines Section ## |
|
39 |
##################################### |
|
40 |
||
41 |
%define libgnomeui_version 2.2.0 |
|
42 |
%define gnome_desktop_version 2.2.1 |
|
43 |
%define GConf_version 2.6.1 |
|
44 |
%define gnome_panel_version 2.4.0 |
|
45 |
%define libglade_version 2.0.1 |
|
46 |
||
47 |
##################################### |
|
48 |
## Package Requirements Section ## |
|
49 |
##################################### |
|
50 |
||
51 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
52 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
53 |
BuildRequires: GConf >= %{GConf_version} |
|
54 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
|
55 |
BuildRequires: intltool |
|
56 |
BuildRequires: libglade >= %{libglade_version} |
|
57 |
||
58 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
59 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
60 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
61 |
Requires: GConf >= %{GConf_version} |
|
62 |
Requires: libglade >= %{libglade_version} |
|
63 |
||
64 |
##################################### |
|
65 |
## Package Description Section ## |
|
66 |
##################################### |
|
67 |
||
68 |
%description |
|
69 |
GNOME Input Method Switcher Applet runs within GNOME panel to display |
|
70 |
input method status information and to provide GUI to select input method |
|
71 |
languages. |
|
72 |
||
73 |
##################################### |
|
74 |
## Package Preparation Section ## |
|
75 |
##################################### |
|
76 |
||
77 |
%prep |
|
78 |
%setup -q |
|
5518 | 79 |
cp %SOURCE1 . |
80 |
bzcat %SOURCE2 | tar xf - |
|
3117 | 81 |
|
4352 | 82 |
%patch1 -p1 |
4443
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
83 |
%patch2 -p1 |
4511
9dac25ddca6d
added gnome-im-switcher-03-euro-languages.diff to show gimlet at
tajima
parents:
4495
diff
changeset
|
84 |
%patch3 -p1 |
4890 | 85 |
%patch4 -p1 |
5041 | 86 |
%patch5 -p1 |
5159
abfb5d20dda5
patches/gnome0-im-switcher-06-jdshelp.diff : #6232231
tajima
parents:
5153
diff
changeset
|
87 |
%patch6 -p1 |
5278 | 88 |
%patch7 -p1 |
4352 | 89 |
|
3117 | 90 |
##################################### |
91 |
## Package Build Section ## |
|
92 |
##################################### |
|
93 |
||
4455 | 94 |
|
3117 | 95 |
%build |
3263 | 96 |
%ifos linux |
97 |
if [ -x /usr/bin/getconf ]; then |
|
98 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
99 |
fi |
|
100 |
%else |
|
3846 | 101 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 102 |
%endif |
103 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
104 |
CPUS=1 |
|
105 |
fi |
|
106 |
||
3117 | 107 |
libtoolize --force |
5518 | 108 |
aclocal $ACLOCAL_FLAGS -I . |
3118 | 109 |
glib-gettextize --force --copy |
110 |
intltoolize --copy --force --automake |
|
3117 | 111 |
autoheader |
112 |
automake -a -c -f |
|
113 |
autoconf |
|
114 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
115 |
./configure --prefix=%{_prefix} \ |
|
116 |
--sysconfdir=%{_sysconfdir} \ |
|
117 |
--libexecdir=%{_libexecdir} \ |
|
118 |
--localstatedir=/var/lib |
|
3263 | 119 |
make -j $CPUS |
3117 | 120 |
|
121 |
%install |
|
122 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
123 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
124 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
125 |
||
3810 | 126 |
|
3117 | 127 |
%clean |
128 |
rm -rf $RPM_BUILD_ROOT |
|
129 |
||
130 |
######################################### |
|
131 |
## Package Post[Un] Install Section ## |
|
132 |
######################################### |
|
133 |
||
134 |
%post |
|
135 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
136 |
SCHEMAS="gnome-im-switcher.schemas gnome-im-properties.schemas" |
|
137 |
for S in $SCHEMAS; do |
|
138 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
139 |
done |
|
140 |
||
141 |
##################################### |
|
142 |
## Package Files Section ## |
|
143 |
##################################### |
|
144 |
||
145 |
%files |
|
146 |
%defattr (-, root, root) |
|
147 |
%{_sysconfdir}/gconf/schemas/*.schemas |
|
148 |
%{_libdir}/bonobo/servers/*.server |
|
149 |
%{_libexecdir}/* |
|
150 |
%{_prefix}/bin/gnome-im-properties |
|
151 |
%{_prefix}/bin/gnome-im-settings-daemon |
|
152 |
%{_datadir}/gnome-2.0/ui/* |
|
153 |
%{_datadir}/icons/* |
|
3145 | 154 |
%{_datadir}/pixmaps/* |
3117 | 155 |
%{_datadir}/%{name}/glade/*.glade2 |
156 |
%{_datadir}/control-center-2.0 |
|
157 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
3632
1400456304a8
* gnome-im-switcher.spec: Add new help docs tarball and patch to support them.
dc144907
parents:
3594
diff
changeset
|
158 |
%{_datadir}/gnome |
1400456304a8
* gnome-im-switcher.spec: Add new help docs tarball and patch to support them.
dc144907
parents:
3594
diff
changeset
|
159 |
%{_datadir}/omf |
3117 | 160 |
|
161 |
%changelog |
|
6299 | 162 |
* Tue Nov 29 2005 - laca.com |
163 |
- remove javahelp stuff |
|
164 |
||
5518 | 165 |
* Fri May 20 2005 - [email protected] |
166 |
- Added gnome-im-switcher-09-enable-unicode.diff to fix 6271445 |
|
167 |
need one Unicode input engine |
|
168 |
||
5362 | 169 |
* Fri Apr 22 2005 - [email protected] |
170 |
- Added gnome-im-switcher-08-load-gtk-modules.diff |
|
171 |
Get GTK_MODULES in the env if A11y has been enabled |
|
172 |
||
5278 | 173 |
* Fri Mar 25 2005 - [email protected] |
174 |
- Added gnome-im-switcher-07-session-unaware.diff. Fixes bug #6243398 |
|
175 |
||
5159
abfb5d20dda5
patches/gnome0-im-switcher-06-jdshelp.diff : #6232231
tajima
parents:
5153
diff
changeset
|
176 |
* Mon Feb 28 2005 - [email protected] |
abfb5d20dda5
patches/gnome0-im-switcher-06-jdshelp.diff : #6232231
tajima
parents:
5153
diff
changeset
|
177 |
- Added gnome-im-switcher-06-jdshelp.diff to correct file and link names. |
abfb5d20dda5
patches/gnome0-im-switcher-06-jdshelp.diff : #6232231
tajima
parents:
5153
diff
changeset
|
178 |
|
5153
8e010026c390
* gnome-im-switcher.spec: Add BuildRequires javahelp-convert as this
dc144907
parents:
5152
diff
changeset
|
179 |
* Mon Feb 28 2005 - [email protected] |
8e010026c390
* gnome-im-switcher.spec: Add BuildRequires javahelp-convert as this
dc144907
parents:
5152
diff
changeset
|
180 |
- Add BuildRequires javahelp-convert as this was being built before that. |
8e010026c390
* gnome-im-switcher.spec: Add BuildRequires javahelp-convert as this
dc144907
parents:
5152
diff
changeset
|
181 |
|
5041 | 182 |
* Wed Feb 09 2005 - [email protected] |
183 |
- Added gnome-im-switcher-05-figures.diff, to add figures for C locale. |
|
184 |
||
4890 | 185 |
* Fri Jan 21 2005 - [email protected] |
186 |
- Added gnome-im-switcher-04-change-menu-name.diff to change the menu |
|
187 |
name as per UI specs. Fixes bug #6218549. |
|
188 |
||
4841
6f2b23db593f
* gnome-im-switcher.spec: Fix 6217217: bzcat/tar on wrong source file
dc144907
parents:
4801
diff
changeset
|
189 |
* Fri Jan 14 2005 - [email protected] |
6f2b23db593f
* gnome-im-switcher.spec: Fix 6217217: bzcat/tar on wrong source file
dc144907
parents:
4801
diff
changeset
|
190 |
- Fix 6217217: bzcat/tar on wrong source file so docs were not included. |
6f2b23db593f
* gnome-im-switcher.spec: Fix 6217217: bzcat/tar on wrong source file
dc144907
parents:
4801
diff
changeset
|
191 |
|
4790 | 192 |
* Fri Dec 24 2004 - [email protected] |
193 |
- Updated l10n help files for Cinnabar linux |
|
194 |
||
4784 | 195 |
* Wed Dec 22 2004 - [email protected] |
196 |
- gnome-im-switcher-03-euro-languages.diff: removed. contents merged to |
|
197 |
- gnome-im-switcher-03-svn-2115.diff: added to port bug fixes from community |
|
198 |
version (svn revision 2115) |
|
199 |
||
4511
9dac25ddca6d
added gnome-im-switcher-03-euro-languages.diff to show gimlet at
tajima
parents:
4495
diff
changeset
|
200 |
* Wed Nov 10 2004 - [email protected] |
9dac25ddca6d
added gnome-im-switcher-03-euro-languages.diff to show gimlet at
tajima
parents:
4495
diff
changeset
|
201 |
- gnome-im-switcher-03-euro-languages.diff: show gimlet at login to euro |
9dac25ddca6d
added gnome-im-switcher-03-euro-languages.diff to show gimlet at
tajima
parents:
4495
diff
changeset
|
202 |
languages |
9dac25ddca6d
added gnome-im-switcher-03-euro-languages.diff to show gimlet at
tajima
parents:
4495
diff
changeset
|
203 |
|
4495
18decbaab57e
* gnome-im-switcher.spec: Add Sun docs tarball back into module. Was
dc144907
parents:
4455
diff
changeset
|
204 |
* Wed Nov 10 2004 - [email protected] |
18decbaab57e
* gnome-im-switcher.spec: Add Sun docs tarball back into module. Was
dc144907
parents:
4455
diff
changeset
|
205 |
- Add Sun docs tarball back into module. Was incorrectly removed in September. |
18decbaab57e
* gnome-im-switcher.spec: Add Sun docs tarball back into module. Was
dc144907
parents:
4455
diff
changeset
|
206 |
|
4443
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
207 |
* Thu Nov 04 2004 - [email protected] |
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
208 |
- Added gnome-im-switcher-02-g11n-potifiles.diff to update POTFILES.in |
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
209 |
|
4352 | 210 |
* Thu Oct 28 2004 - [email protected] |
211 |
- Updated l10n help tarball and added pt_BR |
|
212 |
||
4258 | 213 |
* Thu Oct 14 2004 - [email protected] |
214 |
- bump to 1.1.2 |
|
215 |
||
4086 | 216 |
* Tue Sep 28 2004 - [email protected] |
217 |
- bump to 1.1.0 |
|
218 |
||
4046 | 219 |
* Wed Sep 22 2004 - [email protected] |
220 |
- bump to 1.0.4, to include help docs and all local patches in the tarball |
|
221 |
||
3957 | 222 |
* Wed Sep 15 2004 - [email protected] |
223 |
- Added gnome-im-switcher-03-g11n-alllinguas.diff to add cs,hu linguas |
|
224 |
||
3810 | 225 |
* Wed Sep 01 2004 - [email protected] |
226 |
- Add javahelp-conversion for imswitcher docs |
|
227 |
||
3796 | 228 |
* Mon Aug 30 2004 - [email protected] |
229 |
- Add %{name}-02-g11n-potfiles.diff |
|
230 |
||
3781
3635f84171bb
* gnome-im-switcher.spec: Integrate updated docs tarball from
dc144907
parents:
3679
diff
changeset
|
231 |
* Fri Aug 27 2004 - [email protected] |
3635f84171bb
* gnome-im-switcher.spec: Integrate updated docs tarball from
dc144907
parents:
3679
diff
changeset
|
232 |
- Integrate updated docs tarball from [email protected]. |
3635f84171bb
* gnome-im-switcher.spec: Integrate updated docs tarball from
dc144907
parents:
3679
diff
changeset
|
233 |
|
3632
1400456304a8
* gnome-im-switcher.spec: Add new help docs tarball and patch to support them.
dc144907
parents:
3594
diff
changeset
|
234 |
* Thu Aug 19 2004 - [email protected] |
1400456304a8
* gnome-im-switcher.spec: Add new help docs tarball and patch to support them.
dc144907
parents:
3594
diff
changeset
|
235 |
- Add new docs tarball from [email protected]. Add patch for new docs. |
1400456304a8
* gnome-im-switcher.spec: Add new help docs tarball and patch to support them.
dc144907
parents:
3594
diff
changeset
|
236 |
|
3438 | 237 |
* Wed Jul 27 2004 - [email protected] |
3467 | 238 |
- upgrade l10n tarball to 1.2-b16 for #5050360 |
239 |
||
240 |
* Wed Jul 27 2004 - [email protected] |
|
3438 | 241 |
- Adding gnome-im-switcher-l10n-po-1.2.tar.bz2 l10n content |
242 |
||
3379 | 243 |
* Wed Jul 21 2004 - [email protected] |
244 |
- include l10n content in source tarball 1.0.3 |
|
245 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
246 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
247 |
- Adding gnome-im-switcher-l10n-po-1.2.tar.bz2 l10n content |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
248 |
|
3263 | 249 |
* Wed Jul 07 2004 - [email protected] |
250 |
- added "-j $CPUS" to make to speed up builds |
|
251 |
||
3145 | 252 |
* Mon Jun 14 2004 - [email protected] |
253 |
- added% {_datadir}/pixmaps/* |
|
3164 | 254 |
|
3117 | 255 |
* Thu Jun 10 2004 - [email protected] |
256 |
- Modify with accords to Sun's style of the spec file template |
|
257 |
||
258 |
* Fri Jun 4 2004 - [email protected] |
|
259 |
- Added icons |
|
260 |
||
261 |
* Mon Apr 26 2004 - [email protected] |
|
262 |
- Added gnome-im-properties.schemas |
|
263 |
||
264 |
* Tue Apr 23 2004 - [email protected] |
|
265 |
- Added gnome-im-settings-daemon |
|
266 |
||
267 |
* Tue Apr 20 2004 - [email protected] |
|
268 |
- Added gnome-im-properties |
|
269 |
||
270 |
* Mon Nov 03 2003 - [email protected] |
|
271 |
- Initial release |