Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 712529c9088d445e42a021e3b46ce614 > files > 6

gnome-applets-2.8.2-5mdk.src.rpm

# Define arches where APM is supported and available
%define apm_arches %{ix86} ppc

Summary:	Small applications which embed themselves in the GNOME panel
Name:		gnome-applets
Version: 2.8.2
Release:	5mdk
License:	GPL
Group:		Graphical desktop/GNOME
Source0:	ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
# (gb) 2.6.2.1-4mdk lib64 fixes
Patch1:		gnome-applets-2.6.2.1-lib64.patch.bz2
# (fc) 2.8.1.1-1mdk use ifup based command for ppp link (Fedora)
Patch2:		gnome-applets-2.3.6-ppp-command.patch.bz2
# (fc) 2.8.1.1-1mdk use themed icons for mixer (Fedora)
Patch3:		gnome-applets-2.8.0-themed-mixer-icons.patch.bz2
# (gb) 2.8.2-3mdk avoid dependency on linux kernel headers
Patch4:		gnome-applets-2.8.2-includes.patch.bz2
URL:		http://www.gnome.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
PreReq:		scrollkeeper >= 0.3
Requires:   gnome-system-monitor
Requires:   gstreamer-plugins
BuildRequires: libpanel-applet-2-devel >= 2.7.0
BuildRequires: libgtop2.0-devel >= 2.0.0
BuildRequires: libgail-devel >= 0.13
BuildRequires: libglade2.0-devel
BuildRequires: scrollkeeper
BuildRequires: libxklavier-devel >= 0.95
BuildRequires: automake1.7
BuildRequires: autoconf2.5
BuildRequires: intltool
%ifarch %{apm_arches}
BuildRequires: libapm-devel
%endif
BuildRequires: gstreamer-plugins-devel >= 0.7.6
BuildRequires: intltool
BuildRequires: perl-XML-Parser
BuildRequires: autoconf2.5 >= 2.54
Conflicts:	gnome-panel < 2.3.0
Obsoletes: sticky-notes-applet
Provides: sticky-notes-applet

%description
GNOME (GNU Network Object Model Environment) is a user-friendly
set of applications and desktop tools to be used in conjunction with a
window manager for the X Window System.  GNOME is similar in purpose and
scope to CDE and KDE, but GNOME (like KDE) is based completely on Open Source
software.  The gnome-applets package provides Panel applets which
enhance your GNOME experience.

You should install the gnome-applets package if you would like to abuse the
GNOME desktop environment by embedding small utilities in the GNOME panel.

%prep
%setup -q
%patch1 -p1 -b .lib64
%patch2 -p1 -b .pppcommand
%patch3 -p1 -b .themedmixer
%patch4 -p1 -b .includes

#needed by patch3
intltoolize --force
aclocal-1.7
automake-1.7

#needed by patch 1 
autoconf

%build

%configure2_5x
#parallel build is broken
make

%install
rm -rf $RPM_BUILD_ROOT %name-2.0.lang

GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std

%{find_lang} %{name}-2.0 --with-gnome --all-name
for omf in $(ls %buildroot%_datadir/omf/%name/*.omf|fgrep -v -- -C.omf);do 
echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%buildroot!!)" >> %name-2.0.lang
done

%clean
rm -rf $RPM_BUILD_ROOT

%post
if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q || true ; fi
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
%define gconfschemas battstat charpick drivemount geyes gkb gswitchit gtik gweather mailcheck mini-commander mixer modemlights multiload stickynotes
for SCHEMA in %gconfschemas; do
	gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/${SCHEMA}.schemas > /dev/null
done
gtk-update-icon-cache --force --quiet %{_datadir}/icons/hicolor

%preun
if [ "$1" = "0" ] ; then
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
for SCHEMA in %gconfschemas; do
	 gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/${SCHEMA}.schemas > /dev/null
 done
fi

%postun
if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q || true ; fi
if [ "$1" = "0" ]; then
  gtk-update-icon-cache --force --quiet %{_datadir}/icons/hicolor
fi

%files -f %{name}-2.0.lang
%defattr(-, root, root)

%doc AUTHORS COPYING ChangeLog NEWS README
%{_sysconfdir}/gconf/schemas/*
%config(noreplace) %{_sysconfdir}/sound/events/*
%{_bindir}/*
%{_libexecdir}/*applet*
%{_libdir}/bonobo/servers/*
%{_datadir}/battstat_applet
%{_datadir}/gen_util
%{_datadir}/geyes
%{_datadir}/gnome/gkb
%{_datadir}/gnome-2.0/ui/*
%{_datadir}/wireless-applet
%{_datadir}/stickynotes
%{_datadir}/gswitchit
%dir %{_datadir}/omf/gnome-applets
%{_datadir}/omf/gnome-applets/*-C.omf

%{_datadir}/pixmaps/*
%{_datadir}/icons/hicolor/48x48/apps/*
%{_datadir}/xmodmap
%{_datadir}/gweather

%_includedir/libgswitchit
%_libdir/pkgconfig/*.pc


%changelog
* Mon Apr 11 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.8.2-5mdk 
- Add dependency on gstreamer-plugins (Mdk bug #15332)

* Mon Mar 14 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.8.2-4mdk 
- Update icon cache at install time (Mdk bug #14371)

* Thu Feb 10 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.8.2-3mdk
- avoid dependency on linux kernel headers

* Wed Jan 05 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.8.2-2mdk 
- Rebuild with latest howl

* Mon Dec  6 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.8.2-1mdk
- New release 2.8.2

* Fri Nov 19 2004 Götz Waschk <waschk@linux-mandrake.com> 2.8.1.1-2mdk
- fix gconf schemas installation

* Wed Nov 10 2004 Götz Waschk <waschk@linux-mandrake.com> 2.8.1.1-1mdk
- fix omf file listing
- New release 2.8.1.1
- remove patch0 (merged upstream)
- Patch2 (Fedora): use ifup based command for ppp link
- Patch3 (Fedora): use themed icons for mixer

* Fri Oct  1 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.6.2.1-4mdk
- lib64 fixes
- apm is not available on all arches

* Sat Aug 28 2004 Christiaan Welvaart <cjw@daneel.dyndns.org> 2.6.2.1-3mdk
- add BuildRequires: intltool

* Thu Aug 26 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.2.1-2mdk
- Patch0: fix missing icon for mixer applet

* Thu Jul 22 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.2.1-1mdk
- New release 2.6.2.1

* Mon Jun 28 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.2-1mdk
- reenable libtoolize
- New release 2.6.2

* Thu May 13 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.1-1mdk
- add missing files
- New release 2.6.1

* Wed Apr 21 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.0-2mdk
- Fix BuildRequires

* Wed Apr 07 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.0-1mdk
- Release 2.6.0 (with Götz help)
- Remove patch0 (merged upstream)

* Thu Feb 26 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.2-3mdk
- Fix dislint error

* Thu Feb 19 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.2-2mdk
- Patch0 (CVS): gtik and stickynotes bug fixes

* Sat Jan 17 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.2-1mdk
- drop patches 0,1
- new version

* Wed Nov 26 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.1-2mdk
- Patch1 (CVS): fix memory displayed by multiload applet (Mdk bug 6300)

* Fri Oct  3 2003 Vincent Danen <vdanen@mandrakesoft.com> 2.4.1-1mdk
- bugfix for 9.2

* Tue Sep 30 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.1-0mdk
- Release 2.4.1 (fix stock applet)

* Tue Sep 09 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.4.0-1mdk
- Release 2.4.0

* Tue Sep 02 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.3.90-1mdk
- Release 2.3.90

* Wed Aug 27 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.3.7-1mdk
- Release 2.3.7

* Wed Aug 20 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.6-4mdk
- Rebuild against latest libgtop2

* Tue Aug 12 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.3.6-3mdk
- Add lang tag to OMF files

* Wed Aug  6 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.3.6-2mdk
- Patch0: use DTD validated OMF file for italian

* Fri Jul 18 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.6-1mdk
- Release 2.3.6

* Tue Jul 15 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.5-2mdk
- Obsoletes/provides sticky-notes-applet
- register new schemas
- don't uninstall schema during upgrade

* Fri Jul 11 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.5-1mdk
- Release 2.3.5
- Remove hard dependency on gnome-media

* Fri Jun 13 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.4-2mdk
- Rebuild against latest libbonobo

* Tue Jun 10 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.4-1mdk
- Release 2.3.4

* Thu Jun  5 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.3-2mdk
- Rebuild against latest libgtop2

* Mon Jun 02 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.3-1mdk
- Release 2.3.3

* Wed May 07 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.2-1mdk
- Release 2.3.2

* Tue Apr 15 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.3.1-1mdk
- Release 2.3.1

* Fri Mar  7 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.2.0-2mdk
- Patch0: fix battery applet crash when not all ACPI info are available (Mdk bug 1763)

* Mon Jan 27 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.2.0-1mdk
- Release 2.2.0

* Thu Jan 16 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.1.3-2mdk
- Recompiled against latest openssl
- Add yelp cache generation

* Tue Dec 17 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.1.3-1mdk
- Release 2.1.3

* Mon Dec 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.1.2-2mdk
- Release 2.1.2

* Thu Nov 21 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.1.1-2mdk
- Fix bad .server file (Brian J. Murrell)

* Thu Nov 21 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.1.1-1mdk
- Release 2.1.1

* Thu Oct 10 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.3-1mdk
- Release 2.0.3

* Mon Aug 26 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.1-3mdk
- Requires gnome-system-monitor (otherwise Monitor Applet can't start g-s-m)

* Wed Jul 24 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.1-2mdk
- Recompiled against gail 0.17

* Mon Jul 22 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.1-1mdk
- Release 2.0.1 (applets binaries are now located in libexecdir)
- Remove patch0 (merged upstream)

* Mon Jul  8 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.0-4mdk
- Patch0 (CVS): fix validating error in scrollkeeper file

* Mon Jul  8 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.0-3mdk
- Fix BuildRequires (reported by Pascal Terjan)

* Wed Jun 12 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.0-2mdk
- Recompiled against gail 0.16

* Tue Jun 11 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.0-1mdk
- Release 2.0.0

* Wed Jun  5 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.105.0-1mdk
- Release 1.105.0

* Tue May 14 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.102.0-1mdk
- Release 1.102.0

* Tue May  7 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.101.0-1mdk
- Release 1.101.0

* Mon Apr 29 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.100.0-1mdk
- Release 1.100.0
- Remove patch 0 (not needed)
- Remove source1 (merged upstream)

* Thu Apr 18 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.99.0-1mdk
- Release 1.99.0
- Remove patch0 (was GNOME 1 patch)
- Add source1: fix broken locales for zh* and ja

* Mon Apr 15 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.98.0-2mdk
- Fix schemas registration (thanks to Abel Cheung and Alexander Skwar)

* Wed Apr 10 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.98.0-1mdk
- Release 1.98.0 (GNOME2)

* Thu Mar 14 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 1.4.0.5-4mdk
- i18n fixes

* Wed Feb 27 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 1.4.0.5-3mdk
- integrated Basque translation

* Sat Feb  9 2002 Stew Benedict <sbenedict@mandrakesoft.com> 1.4.0.5-2mdk
- Werror on charpick Makefile aborts PPC build

* Mon Feb  4 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.0.5-1mdk
- Release 1.4.0.4

* Wed Nov  7 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.0.4-3mdk
- Add lang tag to help files (Thanks to Götz Waschk)

* Fri Sep 28 2001 Stefan van der eijk <stefan@eijk.nu> 1.4.0.4-2mdk
- Removed redundant BuildRequires

* Tue Sep  4 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.0.4-1mdk
- Release 1.4.0.4
- Add dependency on gnome-media

* Mon Aug  6 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.0.3-1mdk
- Release 1.4.0.3

* Thu Jul 12 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.0.2-1mdk
- Release 1.4.0.2

* Fri Mar 30 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.0.1-1mdk
- Release 1.4.0.1

* Wed Mar 21 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.0-1mdk
- Release 1.4.0
- Regenerate patch 0

* Thu Mar 15 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.3.1-4mdk
- Correct description

* Wed Mar 14 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.3.1-3mdk
- Correct dependencies on scrollkeeper

* Wed Mar 14 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.3.1-2mdk
- Correct scrollkeeper files
- Update scrollkeeper database

* Fri Mar  9 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.3.1-1mdk
- Release 1.3.1

* Thu Feb 15 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-3mdk
- Remove buildconflict on libxml2-devel

* Fri Dec 22 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.2.4-2mdk
- Correct dependencies

* Thu Nov 16 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.4-1mdk
- new and shiny release.

* Tue Oct 24 2000 Renaud Chaillat <rchaillat@mandrakesoft.com> 1.2.3-2mdk
- added buildconflicts with libxml2-devel

* Tue Oct 24 2000 Renaud Chaillat <rchaillat@mandrakesoft.com> 1.2.3-1mdk
- new version 1.2.3

* Wed Sep  6 2000 Renaud Chaillat <rchaillat@mandrakesoft.com> 1.2.1-6mdk
- fixed langs
- fixed build root
- I don't think we should put noreplace for gnorba files...
  (must be on par with the app and must not be edited by the user)

* Tue Aug 08 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.2.1-5mdk
- automatically added BuildRequires

* Wed Jul 26 2000 dam's <damien@mandrakesoft.com> 1.2.1-4mdk
- spec cleanup.
- corrected bad localstatedir

* Tue Jul 25 2000 P'tit Lu <ptitlu@mandrakesoft.com> 1.2.1-3mdk
- Improve French translation.

* Fri Jul 21 2000 dam's <damien@mandrakesoft.com> 1.2.1-2mdk
- BM + macrozification.

* Tue Jun 13 2000 dam's <damien@mandrakesoft.com> 1.2.1-1mdk
- update from helix version.

* Wed May 24 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.1.9-3mdk
- BuildRequires: libghttp-devel

* Wed May 17 2000 Vincent Saugey <vince@mandrakesoft.com> 1.1.9-2mdk
- add build require to recent gnome version

* Tue Apr 25 2000 dam's <damien@mandrakesoft.com> 1.1.9-1mdk
- first mandrake release from helix code.