%global upname xfswitch-plugin Name: xfce4-xfswitch-plugin Version: 0.0.1 Release: 1%{?dist} Summary: User switching plugin for the Xfce4 Panel Group: User Interface/Desktops License: GPLv2+ URL: http://goodies.xfce.org/projects/panel-plugins/%{upname} Source0: http://archive.xfce.org/src/panel-plugins/%{upname}/0.0/%{upname}-0.0.1.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: xfce4-panel-devel >= 4.4 BuildRequires: gettext intltool Requires: xfce4-panel >= 4.4.0 Requires: gdm Provides: %{upname} = %{name}-%{version} %description Xfswitch-plugin is a user switching plugin for the Xfce4 Panel. It allows you to leave the current session opened and open a new session with another user. At the moment it relies on GDM, but other display managers will be supported in the future. %prep %setup -qn %{upname}-%{version} %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %find_lang %{upname} %clean rm -rf $RPM_BUILD_ROOT %files -f %{upname}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{_libexecdir}/xfce4/panel-plugins/%{upname} %{_datadir}/xfce4/panel-plugins/*.desktop %changelog * Thu Feb 26 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.1-1 - Initial RPM package