File xtexit.spec of Package xtexit

# spec file for package xtexit (Version 0.42)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           xtexit
BuildRequires:  xorg-x11 xorg-x11-devel
License:        X11/MIT
Group:          System/X11/Utilities
Requires:       xaw3d
AutoReqProv:    on
Version:        0.42
Release:        1227
Summary:        Prompt on exiting X
Source:         xtexit.tar.gz
Patch0:         xtexit.dif
Patch1:         xtexit-Imakefile_comments.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
%if "%_exec_prefix" == "/usr/X11R6"
%define _x11data    %{_exec_prefix}/lib/X11
%define _appdefdir  %{_x11data}/app-defaults
%define _x11data    %{_datadir}/X11
%define _appdefdir  %{_x11data}/app-defaults

`xtexit` sends an request to all clients to shut down. If the
application still needs an user interaction (e.g., if a file should be
saved) this is possible.

If you answer by the affirmative, all applications will be closed. This
method is not fully waterproof, but better than killing each and every
client without being able to interfere.

xterm applications anyway are killed immediately!

If this package is installed, it will be automatically integrated into
the sample user fvwm menu.

    Klaus Franken <>
    Teemu Torma, Front End Oy <>
    Paul Raines <>

%setup -n xtexit

xmkmf -a

make DESTDIR=%{buildroot} install


%config %{_appdefdir}/XTexit

* Wed Aug 02 2006
- Make it build with X11R7
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Mon May 10 2004
- added #norootforbuild in specfile
* Fri Jun 13 2003
- use BuildRoot
* Tue Jan 14 2003
- fixed comments prefix in the Imakefile from "/**/#" to "XCOMM"
* Tue Sep 17 2002
- removed bogus self-provides
* Thu Dec 14 2000
- Group tag
* Wed May 31 2000
- specfile cleaned, doc relocation
* Mon Sep 13 1999
- ran old prepare_spec on spec file to switch to new prepare_spec.
openSUSE Build Service is sponsored by