author | damiend |
Wed, 12 May 2004 16:20:57 +0000 | |
changeset 2736 | bd6e69980863 |
parent 2698 | ddd6047bffe0 |
child 2777 | 0ef35ba6d287 |
permissions | -rw-r--r-- |
110 | 1 |
Name: gnome-applets |
206 | 2 |
License: GPL |
110 | 3 |
Group: System/GUI/GNOME |
2391
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
4 |
Version: 2.6.0 |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2698
diff
changeset
|
5 |
Release: 14 |
1886
74e58cfd069d
Bump to 2.5.6, update distro, and port patch change that should have
mattk
parents:
1876
diff
changeset
|
6 |
Distribution: Cinnabar |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
206 | 8 |
Summary: GNOME Applets |
1446 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-applets/2.5/gnome-applets-%{version}.tar.bz2 |
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2698
diff
changeset
|
10 |
Source1: gnome-applets-l10n-po-1.1.tar.bz2 |
1446 | 11 |
Source2: gnome-mixer.png |
1561 | 12 |
Source3: gnome-applets_docs-0.3.tar.bz2 |
2207 | 13 |
Patch1: gnome-applets-01-g11n-potfiles.diff |
2218 | 14 |
Patch2: gnome-applets-02-gkb-window-icon-current.diff |
15 |
Patch3: gnome-applets-03-mount-floppy-location.diff |
|
16 |
Patch4: gnome-applets-04-g11n-i18n-ui.diff |
|
2391
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
17 |
Patch5: gnome-applets-05-g11n-schemas.diff |
2551 | 18 |
Patch6: gnome-applets-06-mini-commander-tooltip.diff |
2563 | 19 |
Patch7: gnome-applets-07-accessx-xkb-check.diff |
2697 | 20 |
Patch8: gnome-applets-08-wireless-tooltip.diff |
2698 | 21 |
Patch9: gnome-applets-09-mailcheck-pop3.diff |
110 | 22 |
URL: http://www.gnome.org |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
24 |
Docdir: %{_defaultdocdir}/gnome-applets |
|
172 | 25 |
Autoreqprov: on |
1080 | 26 |
Prereq: scrollkeeper |
172 | 27 |
|
1265 | 28 |
%define gnome_panel_version 2.4.0 |
29 |
%define scrollkeeper_version 0.3.12 |
|
30 |
%define libgtop_version 2.0.5 |
|
31 |
%define gail_version 1.4.0 |
|
172 | 32 |
|
33 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
2402 | 34 |
BuildRequires: javahelp-convert |
172 | 35 |
BuildRequires: gnome-panel >= %{gnome_panel_version} |
36 |
BuildRequires: libgtop-devel >= %{libgtop_version} |
|
37 |
BuildRequires: gail >= %{gail_version} |
|
38 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
|
39 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
40 |
Requires: libgtop >= %{libgtop_version} |
|
41 |
Requires: gail >= %{gail_version} |
|
110 | 42 |
|
43 |
%description |
|
206 | 44 |
GNOME Applets contains a collection of small utilities that are run within the GNOME |
45 |
Panel. |
|
110 | 46 |
|
47 |
%prep |
|
693 | 48 |
%setup -q |
1561 | 49 |
bzcat %SOURCE1 | tar xvf - |
50 |
cp %SOURCE2 mixer/gnome-mixer-applet.png |
|
51 |
bzcat %SOURCE3 | tar xvf - |
|
1265 | 52 |
%patch1 -p1 |
53 |
%patch2 -p1 |
|
54 |
%patch3 -p1 |
|
55 |
%patch4 -p1 |
|
2391
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
56 |
%patch5 -p1 |
2551 | 57 |
%patch6 -p1 |
2563 | 58 |
%patch7 -p1 |
2697 | 59 |
%patch8 -p1 |
2698 | 60 |
%patch9 -p1 |
510 | 61 |
|
110 | 62 |
%build |
693 | 63 |
libtoolize --force |
1724 | 64 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
693 | 65 |
automake -a -c -f |
66 |
autoconf |
|
67 |
||
206 | 68 |
CFLAGS="$RPM_OPT_FLAGS" \ |
69 |
./configure --prefix=%{_prefix} \ |
|
70 |
--sysconfdir=%{_sysconfdir} \ |
|
71 |
--libexecdir=%{_libexecdir} \ |
|
72 |
--localstatedir=/var/lib |
|
110 | 73 |
make |
74 |
||
75 |
%install |
|
76 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
206 | 77 |
make DESTDIR=$RPM_BUILD_ROOT install |
110 | 78 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1446 | 79 |
#Copy zh_HK from zh_TW |
80 |
#Fixes bug 4930405 |
|
1522 | 81 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
82 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
83 |
|
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
84 |
javahelp-convert-install $RPM_BUILD_ROOT accessx-status accessx-status.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
85 |
javahelp-convert-install $RPM_BUILD_ROOT cdplayer cdplayer.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
86 |
javahelp-convert-install $RPM_BUILD_ROOT char-palette char-palette.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
87 |
javahelp-convert-install $RPM_BUILD_ROOT command-line command-line.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
88 |
javahelp-convert-install $RPM_BUILD_ROOT drivemount drivemount.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
89 |
javahelp-convert-install $RPM_BUILD_ROOT geyes geyes.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
90 |
javahelp-convert-install $RPM_BUILD_ROOT gkb gkb.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
91 |
javahelp-convert-install $RPM_BUILD_ROOT gtik2_applet2 gtik2_applet2.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
92 |
javahelp-convert-install $RPM_BUILD_ROOT gweather gweather.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
93 |
javahelp-convert-install $RPM_BUILD_ROOT mailcheck mailcheck.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
94 |
javahelp-convert-install $RPM_BUILD_ROOT mixer_applet2 mixer_applet2.xml |
2515 | 95 |
javahelp-convert-install $RPM_BUILD_ROOT stickynotes_applet stickynotes_applet.xml |
96 |
javahelp-convert-install $RPM_BUILD_ROOT wireless wireless.xml |
|
97 |
||
2516 | 98 |
%ifos linux |
2515 | 99 |
javahelp-convert-install $RPM_BUILD_ROOT battstat battstat.xml |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
100 |
javahelp-convert-install $RPM_BUILD_ROOT modemlights modemlights.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
101 |
javahelp-convert-install $RPM_BUILD_ROOT multiload multiload.xml |
2516 | 102 |
%endif |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
103 |
|
413 | 104 |
%clean |
105 |
rm -rf $RPM_BUILD_ROOT |
|
106 |
||
110 | 107 |
%post |
521 | 108 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
109 |
langtag=$i |
|
110 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
111 |
for j in cdplayer char-palette command-line geyes gkb gtik2_applet2 gweather mailcheck mixer_applet2 ; do |
|
112 |
[ -e %{_datadir}/omf/gnome-applets/$j-$langtag.omf ] && \ |
|
113 |
env LANG=$i LC_ALL=$i scrollkeeper-install -q %{_datadir}/omf/gnome-applets/$j-$langtag.omf |
|
114 |
done |
|
115 |
done |
|
413 | 116 |
scrollkeeper-update -q |
110 | 117 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
278 | 118 |
SCHEMAS="battstat.schemas cdplayer.schemas charpick.schemas drivemount.schemas geyes.schemas gkb.schemas gtik.schemas gweather.schemas mailcheck.schemas mini-commander.schemas mixer.schemas modemlights.schemas multiload.schemas stickynotes.schemas" |
110 | 119 |
for S in $SCHEMAS; do |
120 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
121 |
done |
|
122 |
||
123 |
%postun |
|
521 | 124 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
125 |
langtag=$i |
|
126 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
127 |
for j in cdplayer char-palette command-line geyes gkb gtik2_applet2 gweather mixer_applet2 ; do |
|
128 |
[ -e %{_datadir}/omf/gnome-applets/$j-$langtag.omf ] && \ |
|
129 |
env LANG=$i LC_ALL=$i scrollkeeper-uninstall -q %{_datadir}/omf/gnome-applets/$j-$langtag.omf |
|
130 |
done |
|
131 |
done |
|
413 | 132 |
scrollkeeper-update -q |
110 | 133 |
|
134 |
%files |
|
135 |
%defattr (-, root, root) |
|
136 |
%{_datadir}/omf/gnome-applets/* |
|
137 |
%{_datadir}/gnome-2.0/ui/* |
|
138 |
%{_libdir}/bonobo/servers/*.server |
|
139 |
%{_sysconfdir}/gconf/schemas/*.schemas |
|
140 |
%{_datadir}/pixmaps/*.png |
|
278 | 141 |
%{_datadir}/gen_util/mini-commander.glade |
110 | 142 |
%{_datadir}/battstat_applet/battstat_applet.glade |
143 |
%{_sysconfdir}/sound/events/battstat_applet.soundlist |
|
278 | 144 |
%{_sysconfdir}/sound/events/mailcheck.soundlist |
145 |
%{_datadir}/pixmaps/accessx-status-applet/*.png |
|
146 |
%{_datadir}/pixmaps/mailcheck/*.png |
|
147 |
%{_datadir}/pixmaps/mini-commander/* |
|
2219 | 148 |
%{_datadir}/gswitchit/* |
278 | 149 |
%{_datadir}/gnome/gkb/* |
150 |
%{_datadir}/stickynotes/stickynotes.glade |
|
151 |
%{_datadir}/wireless-applet/wireless-applet.glade |
|
1042 | 152 |
%{_datadir}/gweather/Locations |
110 | 153 |
%{_datadir}/xmodmap/xmodmap.* |
154 |
%{_datadir}/pixmaps/gkb/*.png |
|
155 |
%{_datadir}/pixmaps/mixer/*.png |
|
278 | 156 |
%{_datadir}/pixmaps/stickynotes/*.png |
110 | 157 |
%{_datadir}/pixmaps/wireless-applet/*.png |
158 |
%{_datadir}/gnome/help/* |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
159 |
%{_datadir}/gnome/javahelp/* |
726 | 160 |
%{_datadir}/geyes/Horrid/* |
161 |
%{_datadir}/geyes/Default/* |
|
162 |
%{_datadir}/geyes/Bizarre/* |
|
163 |
%{_datadir}/geyes/Bloodshot/* |
|
164 |
%{_datadir}/geyes/Default-tiny/* |
|
110 | 165 |
%{_datadir}/locale/*/LC_MESSAGES/gnome-applets-2.0.mo |
166 |
%{_bindir}/* |
|
167 |
%{_libexecdir}/* |
|
168 |
||
169 |
%changelog |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2698
diff
changeset
|
170 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2698
diff
changeset
|
171 |
- Updated l10n content to gnome-applets-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2698
diff
changeset
|
172 |
|
2697 | 173 |
* Mon May 10 2004 - [email protected] |
2698 | 174 |
- Added gnome-applets-09-mailcheck-pop3.diff |
175 |
||
176 |
* Mon May 10 2004 - [email protected] |
|
2697 | 177 |
- Added gnome-applets-08-wireless-tooltip.diff |
178 |
||
2563 | 179 |
* Tue Apr 27 2004 - [email protected] |
180 |
- Added gnome-applets-07-accessx-xkb-check.diff to fix the applet |
|
181 |
not to crash when XKB is not enabled on the X server |
|
182 |
||
2551 | 183 |
* Fri Apr 23 2004 - [email protected] |
184 |
- Modified the tooltip for mini-commander applet. |
|
185 |
- Patch: gnome-applets-06-mini-commander-tooltip.diff |
|
186 |
||
2485 | 187 |
* Sun Apr 18 2004 - [email protected] |
188 |
- enable javahelp conversion on Solaris |
|
2515 | 189 |
- ifos the javahelp conversions of applets not available on Solaris |
2391
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
190 |
* Mon Apr 05 2004 - [email protected] |
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
191 |
- Bump to 2.6.0 |
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
192 |
- Re-apply patch 03-g18n.. |
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
193 |
- Remove patch 05-non_portable_CFLAGS |
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
194 |
- Rename patch 06 -> to patch 05 |
dbd80562cd9b
Bump to 2.6.0, remove one patch, re-do one patch, rename one patch
mattk
parents:
2362
diff
changeset
|
195 |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
196 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
197 |
- javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
198 |
|
2350 | 199 |
* Mon Mar 29 2004 - [email protected] |
200 |
- Updated l10n content to gnome-applets-l10n-po-1.0.tar.bz2 |
|
201 |
||
2218 | 202 |
* Tue Mar 16 2004 - [email protected] |
203 |
- Updated version to 2.5.8, killed off a few patches that |
|
204 |
we know are going to make 2.6.0, and sanitize things a little. |
|
2207 | 205 |
* Mon Mar 15 2004 - [email protected] |
206 |
- Replaced gnome-applets-01-potfiles.diff with |
|
207 |
gnome-applets-01-g11n-potfiles.diff |
|
208 |
- Replaced gnome-applets-08-gweather-i18n.diff with |
|
209 |
gnome-applets-08-g11n-i18n-ui.diff to fix 4980055, 4991808, 4999133 |
|
210 |
- Added gnome-applets-10-g11n-schemas.diff |
|
1886
74e58cfd069d
Bump to 2.5.6, update distro, and port patch change that should have
mattk
parents:
1876
diff
changeset
|
211 |
* Mon Feb 23 2004 - <[email protected]> |
74e58cfd069d
Bump to 2.5.6, update distro, and port patch change that should have
mattk
parents:
1876
diff
changeset
|
212 |
- Bumped to 2.5.6 |
74e58cfd069d
Bump to 2.5.6, update distro, and port patch change that should have
mattk
parents:
1876
diff
changeset
|
213 |
- Remerged all patches |
74e58cfd069d
Bump to 2.5.6, update distro, and port patch change that should have
mattk
parents:
1876
diff
changeset
|
214 |
- Brought forward NEW changes from patch |
74e58cfd069d
Bump to 2.5.6, update distro, and port patch change that should have
mattk
parents:
1876
diff
changeset
|
215 |
gnome-applets-19-i18n-ui.diff, This should have been ported to HEAD by Wipro !!! |
1725 | 216 |
* Tue Feb 17 2004 - <[email protected]> |
217 |
- added patch to remove non-portable CFLAGS hardcoded in a Makefile.am |
|
1566 | 218 |
* Wed Feb 04 2004 - <[email protected]> |
219 |
Fix prob with gnome-applets-08-gweather-i18n.diff |
|
220 |
Remove pixmaps/gweather/* from files list as no longer in tarball |
|
1561 | 221 |
* Tue Feb 03 2004 - <[email protected]> |
222 |
Bump to 2.5.5 |
|
223 |
Redid Patchs : |
|
224 |
gnome-applets-02-stickynotes-icon.diff |
|
225 |
gnome-applets-06-add-l10n-docs.diff |
|
226 |
Forward port patches from Quicksilver |
|
227 |
gnome-applets-07-l10n-online-help.diff |
|
228 |
QS: gnome-applets-17-multiload-docs.diff |
|
229 |
QS: gnome-applets-18-multiload-docs2.diff |
|
230 |
QS: gnome-applets-22-l10n-online-help.diff |
|
231 |
gnome-applets-08-gweather-i18n.diff |
|
232 |
QS: gnome-applets-19-i18n-gweather.diff |
|
1446 | 233 |
* Tue Dec 16 2003 - <[email protected]> |
234 |
- Bump to 2.5.2 |
|
1345 | 235 |
* Thu Oct 23 2003 - <[email protected]> |
236 |
- #4942358 patch 09 |
|
1265 | 237 |
* Tue Oct 14 2003 - <[email protected]> |
238 |
- Upgrade Tarball to 2.4.1 for QS |
|
1180 | 239 |
* Wed Oct 01 2003 - <[email protected]> |
240 |
- #4930230, Wireless doc install |
|
241 |
* Wed Oct 01 2003 - <[email protected]> |
|
1177 | 242 |
- #4905881, Battery applet suspend command failure message |
243 |
* Tue Sep 30 2003 - <[email protected]> |
|
1173 | 244 |
- #4913408, cd player applet stops playing |
245 |
* Tue Sep 30 2003 - <[email protected]> |
|
1172 | 246 |
- #4922609, stock ticker location change bug |
1169 | 247 |
* Fri Sep 26 2003 - <[email protected]> |
248 |
- Integrate Sun docs |
|
1133 | 249 |
* Mon Sep 08 2003 - <[email protected]> |
250 |
- patch for bug 4911981 |
|
1042 | 251 |
* Tue Aug 12 2003 - <[email protected]> |
252 |
- Not delivering gweather/Locations |
|
253 |
* Mon Aug 11 2003 - <[email protected]> |
|
1035
cf814d77c98b
New gnome-applets tarball 2.3.6, re-merged all patches
mattk
parents:
1029
diff
changeset
|
254 |
- Update new tarball 2.3.6, and re-alligned all the patches, remove one patch |
1002 | 255 |
* Thu Aug 07 2003 - <[email protected]> |
1020 | 256 |
- Save current keyboard layout #4887871 |
257 |
* Thu Aug 07 2003 - <[email protected]> |
|
1002 | 258 |
- Default battstat suspend computer command |
986 | 259 |
* Wed Aug 06 2003 - <[email protected]> |
260 |
- Position the file selector dialog for mini-commander |
|
261 |
applet nicely. |
|
732 | 262 |
* Wed Jul 23 2003 - <[email protected]> |
263 |
- Add consistant window icon |
|
708 | 264 |
* Tue Jul 22 2003 - <[email protected]> |
726 | 265 |
- Make sure geyes themes get installed |
266 |
* Tue Jul 22 2003 - <[email protected]> |
|
708 | 267 |
- New mixer icon |
693 | 268 |
* Mon Jul 21 2003 - <[email protected]> |
269 |
- Changed stickynotes icon for the hell of it |
|
510 | 270 |
* Wed Jul 09 2003 - <[email protected]> |
271 |
- add in sun po files |
|
428 | 272 |
* Thu Jul 03 2003 - [email protected] |
432 | 273 |
- Patch for accessx-applet from head |
274 |
* Thu Jul 03 2003 - [email protected] |
|
428 | 275 |
- New Tarball, gnome-applets-2.3.5 |
278 | 276 |
* Tue Jun 10 2003 - [email protected] |
277 |
- New Tarball, gnome-applets-2.3.4, updated files and schemas for new applets. |
|
110 | 278 |
* Thu May 15 2003 - [email protected] |
279 |
- Fix installation of mixer & wirelass applets icons |
|
280 |
* Wed May 14 2003 - [email protected] |
|
281 |
- Initial release |