110
|
1 |
Name: gnome-applets
|
206
|
2 |
License: GPL
|
110
|
3 |
Group: System/GUI/GNOME
|
278
|
4 |
Version: 2.3.4
|
310
|
5 |
Release: 4
|
110
|
6 |
Distribution: Mercury
|
|
7 |
Vendor: Sun Microsystems Inc.
|
206
|
8 |
Summary: GNOME Applets
|
110
|
9 |
Source: gnome-applets-%{version}.tar.bz2
|
|
10 |
URL: http://www.gnome.org
|
|
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
12 |
Docdir: %{_defaultdocdir}/gnome-applets
|
172
|
13 |
Autoreqprov: on
|
|
14 |
|
|
15 |
%define gnome_panel_version 2.2.1
|
|
16 |
%define scrollkeeper_version 0.3.11
|
|
17 |
%define libgtop_version 2.0.1
|
|
18 |
%define gail_version 1.2.0
|
|
19 |
|
|
20 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version}
|
|
21 |
BuildRequires: gnome-panel >= %{gnome_panel_version}
|
|
22 |
BuildRequires: libgtop-devel >= %{libgtop_version}
|
|
23 |
BuildRequires: gail >= %{gail_version}
|
|
24 |
Requires: scrollkeeper >= %{scrollkeeper_version}
|
|
25 |
Requires: gnome-panel >= %{gnome_panel_version}
|
|
26 |
Requires: libgtop >= %{libgtop_version}
|
|
27 |
Requires: gail >= %{gail_version}
|
110
|
28 |
|
|
29 |
%description
|
206
|
30 |
GNOME Applets contains a collection of small utilities that are run within the GNOME
|
|
31 |
Panel.
|
110
|
32 |
|
|
33 |
%prep
|
|
34 |
%setup -q -n gnome-applets-%{version}
|
|
35 |
|
|
36 |
%build
|
206
|
37 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
38 |
./configure --prefix=%{_prefix} \
|
|
39 |
--sysconfdir=%{_sysconfdir} \
|
|
40 |
--libexecdir=%{_libexecdir} \
|
|
41 |
--localstatedir=/var/lib
|
110
|
42 |
make
|
|
43 |
|
|
44 |
%install
|
|
45 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
206
|
46 |
make DESTDIR=$RPM_BUILD_ROOT install
|
110
|
47 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
48 |
|
|
49 |
%post
|
|
50 |
scrollkeeper-update
|
|
51 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
278
|
52 |
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
|
53 |
for S in $SCHEMAS; do
|
|
54 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
|
|
55 |
done
|
|
56 |
|
|
57 |
%postun
|
|
58 |
scrollkeeper-update
|
|
59 |
|
|
60 |
# Ensures a clean build root before building a package a second time.
|
|
61 |
%clean
|
|
62 |
rm -rf $RPM_BUILD_ROOT
|
|
63 |
|
|
64 |
%files
|
|
65 |
%defattr (-, root, root)
|
|
66 |
%{_datadir}/omf/gnome-applets/*
|
|
67 |
%{_datadir}/gnome-2.0/ui/*
|
|
68 |
%{_libdir}/bonobo/servers/*.server
|
|
69 |
%{_sysconfdir}/gconf/schemas/*.schemas
|
|
70 |
%{_datadir}/pixmaps/*.png
|
278
|
71 |
%{_datadir}/gen_util/mini-commander.glade
|
110
|
72 |
%{_datadir}/battstat_applet/battstat_applet.glade
|
|
73 |
%{_sysconfdir}/sound/events/battstat_applet.soundlist
|
278
|
74 |
%{_sysconfdir}/sound/events/mailcheck.soundlist
|
|
75 |
%{_datadir}/pixmaps/accessx-status-applet/*.png
|
|
76 |
%{_datadir}/pixmaps/mailcheck/*.png
|
|
77 |
%{_datadir}/pixmaps/gweather/*
|
|
78 |
%{_datadir}/pixmaps/mini-commander/*
|
|
79 |
%{_datadir}/gnome/gkb/*
|
|
80 |
%{_datadir}/stickynotes/stickynotes.glade
|
|
81 |
%{_datadir}/wireless-applet/wireless-applet.glade
|
110
|
82 |
%{_datadir}/xmodmap/xmodmap.*
|
|
83 |
%{_datadir}/pixmaps/gkb/*.png
|
|
84 |
%{_datadir}/pixmaps/mixer/*.png
|
278
|
85 |
%{_datadir}/pixmaps/stickynotes/*.png
|
110
|
86 |
%{_datadir}/pixmaps/wireless-applet/*.png
|
|
87 |
%{_datadir}/gnome/help/*
|
278
|
88 |
%{_datadir}/geyes/*
|
110
|
89 |
%{_datadir}/locale/*/LC_MESSAGES/gnome-applets-2.0.mo
|
|
90 |
%{_bindir}/*
|
|
91 |
%{_libexecdir}/*
|
|
92 |
|
|
93 |
%changelog
|
278
|
94 |
* Tue Jun 10 2003 - [email protected]
|
|
95 |
- New Tarball, gnome-applets-2.3.4, updated files and schemas for new applets.
|
110
|
96 |
* Thu May 15 2003 - [email protected]
|
|
97 |
- Fix installation of mixer & wirelass applets icons
|
|
98 |
* Wed May 14 2003 - [email protected]
|
|
99 |
- Initial release
|