File xbanner.spec of Package xbanner

# spec file for package xbanner
# Copyright (c) 2012 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

Name:           xbanner
BuildRequires:  xorg-x11
BuildRequires:  xorg-x11-devel
Version:        1.31
Release:        0
Summary:        X Window System background writings and images
License:        GPL-2.0+
Group:          Amusements/Toys/Background
Source:         XBanner%{version}.tar.bz2
Patch:          XBanner%{version}.dif
Patch1:         xbanner-%{version}-gets.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

How about your company's name in the background of the login screen? Or
your company's logo? It will work with xbanner which is designed for
use with, for example, XDM login screens.

Many example configurations may be found in /usr/share/xbanner and its

Documentation lies in /usr/share/doc/packages/xbanner. There you can
find an HTML version of the documents.

%setup -n XBanner%{version}

xmkmf -a

# examples
install -d $DEMODIR
(cd samples/ && cp -a * $DEMODIR)
(cd $DEMODIR/Demo
cat Demo.bash | sed -e "s:\.\./\.::g" >Demo
rm Demo.bash
ln -s $BINDIR/xbanner
ln -s $BINDIR/freetemp
cd ..
rm README.Demo XBanner.sample
install -d $APPDEF
mv $APPDEF/XBanner
# docs
install -d $DOCDIR
install -m 644 *.xpm $DEMODIR
install -m 644 docs/{C*,*.html,*.gif} $DOCDIR


%doc %{_docdir}/xbanner/
%config /usr/share/X11/app-defaults/XBanner