Name: window-picker-applet Version: 0.4.23 Release: 1%{?dist} Summary: Window picker applet for GNOME Group: User Interface/Desktops License: GPLv3 URL: https://launchpad.net/window-picker-applet Source0: http://launchpad.net/window-picker-applet/trunk/1.2.0beta/+download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gnome-panel-devel BuildRequires: libwnck-devel BuildRequires: intltool Requires(pre): GConf2 Requires(post): GConf2 Requires(preun): GConf2 %description A gnome-panel applet that displays open windows as icons on the panel, and has integrated window title-bar functionality. Optimised for use on netbook-size screens. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %pre if [ "$1" -gt 1 ] ; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || : fi %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : %preun if [ "$1" -eq 0 ] ; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : fi %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING AUTHORS %config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas %{_libdir}/bonobo/servers/GNOME_WindowPicker.server %{_libexecdir}/%{name} %changelog * Sat Apr 18 2009 Michel Salim - 0.4.23-1 - Initial package