Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6be5bbff78 | ||
|
|
9217a346ee | ||
|
|
66c7337763 | ||
| 7f037f5693 |
5 changed files with 56 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
xfswitch-plugin-0.0.1.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: xfce4-xfswitch-plugin
|
||||
# $Id$
|
||||
NAME := xfce4-xfswitch-plugin
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
cb204f4a507f462d019529af6f547731 xfswitch-plugin-0.0.1.tar.gz
|
||||
54
xfce4-xfswitch-plugin.spec
Normal file
54
xfce4-xfswitch-plugin.spec
Normal file
|
|
@ -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 <cwickert@fedoraproject.org> - 0.0.1-1
|
||||
- Initial RPM package
|
||||
Loading…
Add table
Add a link
Reference in a new issue