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