author | mattk |
Tue, 14 Oct 2003 16:37:38 +0000 | |
changeset 1265 | b2d49b67e73f |
parent 1195 | 4e66a626f563 |
child 1345 | 3439596b295e |
permissions | -rw-r--r-- |
110 | 1 |
Name: gnome-applets |
206 | 2 |
License: GPL |
110 | 3 |
Group: System/GUI/GNOME |
1265 | 4 |
Version: 2.4.1 |
5 |
Release: 1 |
|
110 | 6 |
Distribution: Mercury |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
206 | 8 |
Summary: GNOME Applets |
1029 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-applets/2.3/gnome-applets-%{version}.tar.bz2 |
432 | 10 |
Source1: accessx-status-applet.png |
708 | 11 |
Source2: gnome-applets-l10n-po.tar.bz2 |
12 |
Source3: gnome-mixer.png |
|
1169 | 13 |
Source4: gnome-applets_docs-0.1.tar.bz2 |
1265 | 14 |
Patch1: gnome-applets-01-potfiles_in.diff |
15 |
Patch2: gnome-applets-02-battstat-suspend.diff |
|
1035
cf814d77c98b
New gnome-applets tarball 2.3.6, re-merged all patches
mattk
parents:
1029
diff
changeset
|
16 |
Patch3: gnome-applets-03-stickynotes-icon.diff |
726 | 17 |
Patch4: gnome-applets-04-geyes-themes.diff |
1035
cf814d77c98b
New gnome-applets tarball 2.3.6, re-merged all patches
mattk
parents:
1029
diff
changeset
|
18 |
Patch5: gnome-applets-05-gkb-window-icon-current.diff |
756 | 19 |
Patch6: gnome-applets-06-mount-floppy-location.diff |
986 | 20 |
Patch7: gnome-applets-07-mini-commander-filesel.diff |
1265 | 21 |
Patch8: gnome-applets-08-cd-player-stop-playing.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} |
|
34 |
BuildRequires: gnome-panel >= %{gnome_panel_version} |
|
35 |
BuildRequires: libgtop-devel >= %{libgtop_version} |
|
36 |
BuildRequires: gail >= %{gail_version} |
|
37 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
|
38 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
39 |
Requires: libgtop >= %{libgtop_version} |
|
40 |
Requires: gail >= %{gail_version} |
|
110 | 41 |
|
42 |
%description |
|
206 | 43 |
GNOME Applets contains a collection of small utilities that are run within the GNOME |
44 |
Panel. |
|
110 | 45 |
|
46 |
%prep |
|
693 | 47 |
%setup -q |
1265 | 48 |
%patch1 -p1 |
49 |
%patch2 -p1 |
|
50 |
%patch3 -p1 |
|
51 |
%patch4 -p1 |
|
52 |
%patch5 -p1 |
|
53 |
%patch6 -p1 |
|
54 |
%patch7 -p1 |
|
55 |
%patch8 -p1 |
|
432 | 56 |
cp %SOURCE1 accessx-status/pixmaps |
708 | 57 |
tar jxvf %SOURCE2 |
58 |
cp %SOURCE3 mixer/gnome-mixer-applet.png |
|
1169 | 59 |
tar jxvf %SOURCE4 |
510 | 60 |
|
110 | 61 |
%build |
693 | 62 |
libtoolize --force |
63 |
aclocal -I /usr/share/aclocal/gnome2-macros |
|
64 |
automake -a -c -f |
|
65 |
autoconf |
|
66 |
||
206 | 67 |
CFLAGS="$RPM_OPT_FLAGS" \ |
68 |
./configure --prefix=%{_prefix} \ |
|
69 |
--sysconfdir=%{_sysconfdir} \ |
|
70 |
--libexecdir=%{_libexecdir} \ |
|
71 |
--localstatedir=/var/lib |
|
110 | 72 |
make |
73 |
||
74 |
%install |
|
75 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
206 | 76 |
make DESTDIR=$RPM_BUILD_ROOT install |
110 | 77 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
78 |
||
413 | 79 |
%clean |
80 |
rm -rf $RPM_BUILD_ROOT |
|
81 |
||
110 | 82 |
%post |
521 | 83 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
84 |
langtag=$i |
|
85 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
86 |
for j in cdplayer char-palette command-line geyes gkb gtik2_applet2 gweather mailcheck mixer_applet2 ; do |
|
87 |
[ -e %{_datadir}/omf/gnome-applets/$j-$langtag.omf ] && \ |
|
88 |
env LANG=$i LC_ALL=$i scrollkeeper-install -q %{_datadir}/omf/gnome-applets/$j-$langtag.omf |
|
89 |
done |
|
90 |
done |
|
413 | 91 |
scrollkeeper-update -q |
110 | 92 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
278 | 93 |
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 | 94 |
for S in $SCHEMAS; do |
95 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
96 |
done |
|
97 |
||
98 |
%postun |
|
521 | 99 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
100 |
langtag=$i |
|
101 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
102 |
for j in cdplayer char-palette command-line geyes gkb gtik2_applet2 gweather mixer_applet2 ; do |
|
103 |
[ -e %{_datadir}/omf/gnome-applets/$j-$langtag.omf ] && \ |
|
104 |
env LANG=$i LC_ALL=$i scrollkeeper-uninstall -q %{_datadir}/omf/gnome-applets/$j-$langtag.omf |
|
105 |
done |
|
106 |
done |
|
413 | 107 |
scrollkeeper-update -q |
110 | 108 |
|
109 |
%files |
|
110 |
%defattr (-, root, root) |
|
111 |
%{_datadir}/omf/gnome-applets/* |
|
112 |
%{_datadir}/gnome-2.0/ui/* |
|
113 |
%{_libdir}/bonobo/servers/*.server |
|
114 |
%{_sysconfdir}/gconf/schemas/*.schemas |
|
115 |
%{_datadir}/pixmaps/*.png |
|
278 | 116 |
%{_datadir}/gen_util/mini-commander.glade |
110 | 117 |
%{_datadir}/battstat_applet/battstat_applet.glade |
118 |
%{_sysconfdir}/sound/events/battstat_applet.soundlist |
|
278 | 119 |
%{_sysconfdir}/sound/events/mailcheck.soundlist |
120 |
%{_datadir}/pixmaps/accessx-status-applet/*.png |
|
121 |
%{_datadir}/pixmaps/mailcheck/*.png |
|
122 |
%{_datadir}/pixmaps/gweather/* |
|
123 |
%{_datadir}/pixmaps/mini-commander/* |
|
124 |
%{_datadir}/gnome/gkb/* |
|
125 |
%{_datadir}/stickynotes/stickynotes.glade |
|
126 |
%{_datadir}/wireless-applet/wireless-applet.glade |
|
1042 | 127 |
%{_datadir}/gweather/Locations |
110 | 128 |
%{_datadir}/xmodmap/xmodmap.* |
129 |
%{_datadir}/pixmaps/gkb/*.png |
|
130 |
%{_datadir}/pixmaps/mixer/*.png |
|
278 | 131 |
%{_datadir}/pixmaps/stickynotes/*.png |
110 | 132 |
%{_datadir}/pixmaps/wireless-applet/*.png |
133 |
%{_datadir}/gnome/help/* |
|
726 | 134 |
%{_datadir}/geyes/Horrid/* |
135 |
%{_datadir}/geyes/Default/* |
|
136 |
%{_datadir}/geyes/Bizarre/* |
|
137 |
%{_datadir}/geyes/Bloodshot/* |
|
138 |
%{_datadir}/geyes/Default-tiny/* |
|
110 | 139 |
%{_datadir}/locale/*/LC_MESSAGES/gnome-applets-2.0.mo |
140 |
%{_bindir}/* |
|
141 |
%{_libexecdir}/* |
|
142 |
||
143 |
%changelog |
|
1265 | 144 |
* Tue Oct 14 2003 - <[email protected]> |
145 |
- Upgrade Tarball to 2.4.1 for QS |
|
1180 | 146 |
* Wed Oct 01 2003 - <[email protected]> |
147 |
- #4930230, Wireless doc install |
|
148 |
* Wed Oct 01 2003 - <[email protected]> |
|
1177 | 149 |
- #4905881, Battery applet suspend command failure message |
150 |
* Tue Sep 30 2003 - <[email protected]> |
|
1173 | 151 |
- #4913408, cd player applet stops playing |
152 |
* Tue Sep 30 2003 - <[email protected]> |
|
1172 | 153 |
- #4922609, stock ticker location change bug |
1169 | 154 |
* Fri Sep 26 2003 - <[email protected]> |
155 |
- Integrate Sun docs |
|
1133 | 156 |
* Mon Sep 08 2003 - <[email protected]> |
157 |
- patch for bug 4911981 |
|
1042 | 158 |
* Tue Aug 12 2003 - <[email protected]> |
159 |
- Not delivering gweather/Locations |
|
160 |
* Mon Aug 11 2003 - <[email protected]> |
|
1035
cf814d77c98b
New gnome-applets tarball 2.3.6, re-merged all patches
mattk
parents:
1029
diff
changeset
|
161 |
- Update new tarball 2.3.6, and re-alligned all the patches, remove one patch |
1002 | 162 |
* Thu Aug 07 2003 - <[email protected]> |
1020 | 163 |
- Save current keyboard layout #4887871 |
164 |
* Thu Aug 07 2003 - <[email protected]> |
|
1002 | 165 |
- Default battstat suspend computer command |
986 | 166 |
* Wed Aug 06 2003 - <[email protected]> |
167 |
- Position the file selector dialog for mini-commander |
|
168 |
applet nicely. |
|
732 | 169 |
* Wed Jul 23 2003 - <[email protected]> |
170 |
- Add consistant window icon |
|
708 | 171 |
* Tue Jul 22 2003 - <[email protected]> |
726 | 172 |
- Make sure geyes themes get installed |
173 |
* Tue Jul 22 2003 - <[email protected]> |
|
708 | 174 |
- New mixer icon |
693 | 175 |
* Mon Jul 21 2003 - <[email protected]> |
176 |
- Changed stickynotes icon for the hell of it |
|
510 | 177 |
* Wed Jul 09 2003 - <[email protected]> |
178 |
- add in sun po files |
|
428 | 179 |
* Thu Jul 03 2003 - [email protected] |
432 | 180 |
- Patch for accessx-applet from head |
181 |
* Thu Jul 03 2003 - [email protected] |
|
428 | 182 |
- New Tarball, gnome-applets-2.3.5 |
278 | 183 |
* Tue Jun 10 2003 - [email protected] |
184 |
- New Tarball, gnome-applets-2.3.4, updated files and schemas for new applets. |
|
110 | 185 |
* Thu May 15 2003 - [email protected] |
186 |
- Fix installation of mixer & wirelass applets icons |
|
187 |
* Wed May 14 2003 - [email protected] |
|
188 |
- Initial release |