diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fafef5d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xfswitch-plugin-0.0.1.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 03c8a28..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -dead upstream, never ported to libxfce4ui diff --git a/sources b/sources new file mode 100644 index 0000000..c58ad9d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +cb204f4a507f462d019529af6f547731 xfswitch-plugin-0.0.1.tar.gz diff --git a/xfce4-xfswitch-plugin.spec b/xfce4-xfswitch-plugin.spec new file mode 100644 index 0000000..4aafd89 --- /dev/null +++ b/xfce4-xfswitch-plugin.spec @@ -0,0 +1,54 @@ +%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 - 0.0.1-1 +- Initial RPM package