File xbanner.spec of Package xbanner
#
# spec file for package xbanner (Version 1.31)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xbanner
BuildRequires: xorg-x11-devel
License: GNU General Public License (GPL), Other License(s), see package
Group: Amusements/Toys/Background
Autoreqprov: on
Version: 1.31
Release: 893
Summary: X Window System background writings and images
URL: http://www.hijinks.com/~spade/linux/XBanner/
Source: XBanner%{version}.tar.bz2
Patch: XBanner%{version}.dif
Patch1: xbanner-%{version}-gets.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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
subdirectories.
Documentation lies in /usr/share/doc/packages/xbanner. There you can
find an HTML version of the documents.
Authors:
--------
Amit Margalit <amitm@netvision.net.il>
%prep
%setup -n XBanner%{version}
%patch
%patch1
%build
xmkmf -a
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
#
# examples
#
BINDIR=../../../bin
DEMODIR=$RPM_BUILD_ROOT/usr/share/xbanner
APPDEF=$RPM_BUILD_ROOT/usr/share/X11/app-defaults/
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 XBanner.ad $APPDEF/XBanner
)
#
# docs
#
DOCDIR=$RPM_BUILD_ROOT/$RPM_DOC_DIR/xbanner
install -d $DOCDIR
install -m 644 *.xpm $DEMODIR
install -m 644 docs/{C*,*.html,*.gif} $DOCDIR
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/share/xbanner/
%doc %{_docdir}/xbanner/
/usr/bin/*
%config /usr/share/X11/app-defaults/XBanner
%changelog -n xbanner
* Thu Nov 16 2006 - anosek@suse.cz
- replaced dangerous gets() function by fgets()
[#219044] (gets.patch)
* Mon Aug 07 2006 - mmarek@suse.cz
- moved from /usr/X11R6 to /usr to build with new Xorg
* Sat May 27 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Oct 10 2004 - schwab@suse.de
- Fix requires.
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr
* Wed Sep 13 2000 - vinil@suse.cz
- upgrade to 1.31
- major file relocation
- description fixed
* Wed Jul 19 2000 - vinil@suse.cz
- no more requires xpm
* Thu May 04 2000 - vinil@suse.cz
- buildroot added
- bugs in demos fixed
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Jan 02 1997 - maddin@suse.de
first S.u.S.E. version
copy all sample files to /usr/X11R6/lib/X11/xbanner
copy all doc files (including html) to /usr/doc/packages/xbanner