111 lines
2.9 KiB
Plaintext
111 lines
2.9 KiB
Plaintext
$prefix=/usr
|
|
$bin=${prefix}/bin
|
|
$sbin=${prefix}/sbin
|
|
$share=${prefix}/share
|
|
$etc=/etc
|
|
$srcdir=.
|
|
$version=devel
|
|
|
|
%product LCDproc
|
|
%copyright (C) 1999-2001 William Ferrell, Scott Scriven and several other contributors see README and CREDITS for details
|
|
%vendor Rene Wagner reenoo@gmx.de
|
|
%license ${srcdir}/COPYING
|
|
%readme ${srcdir}README
|
|
%description LCDproc mainly consists of the server (LCDd) which makes it
|
|
%description possible to display text and other data on an LCD display
|
|
%description and a small program that extracts various statistics about your
|
|
%description machine and sends them to the server. It works with several types
|
|
%description and sizes of displays.
|
|
%description Of course there are other clients. See http://lcdproc.omnipotent.net.
|
|
%version ${version}
|
|
|
|
%preinstall <<EOF
|
|
echo
|
|
echo
|
|
echo " ATTENTION: This is a DEVELOPMENT VERSION of LCDproc!"
|
|
echo " IT IS NEITHER GUARANTEED TO RUN NOR TO BE USEFUL FOR ANY PURPOSE!"
|
|
echo
|
|
echo
|
|
EOF
|
|
%postinstall <<EOF
|
|
echo
|
|
echo "Enjoy LCDproc - in case it runs ;)"
|
|
echo
|
|
EOF
|
|
|
|
# system specific settings
|
|
# solaris
|
|
%format pkg
|
|
$man=/usr/share/man
|
|
|
|
#HP-UX
|
|
%format depot
|
|
|
|
$doc=/usr/share/doc
|
|
$man=/usr/share/man
|
|
|
|
# documentation files
|
|
d 755 root root ${doc}/lcdproc -
|
|
f 644 root root ${doc}/lcdproc ${srcdir}/docs/*
|
|
|
|
# man pages
|
|
f 644 root root ${man}/man1/lcdproc.1 $srcdir/docs/lcdproc.1
|
|
f 644 root root ${man}/man8/LCDd.8 $srcdir/docs/LCDd.8
|
|
|
|
#debian
|
|
%format dpkg
|
|
$doc=/usr/share/doc
|
|
$man=/usr/share/man
|
|
|
|
# documentation files
|
|
d 755 root root ${doc}/lcdproc -
|
|
f 644 root root ${doc}/lcdproc ${srcdir}/docs/*
|
|
|
|
# man pages
|
|
f 644 root root ${man}/man1/lcdproc.1 $srcdir/docs/lcdproc.1
|
|
f 644 root root ${man}/man8/LCDd.8 $srcdir/docs/LCDd.8
|
|
|
|
# rpm based linux distros (older versions won't work :( )
|
|
%format rpm
|
|
$doc=/usr/share/doc
|
|
$man=/usr/share/man
|
|
|
|
# documentation files
|
|
d 755 root root ${doc}/lcdproc -
|
|
f 644 root root ${doc}/lcdproc ${srcdir}/docs/*
|
|
|
|
# man pages
|
|
f 644 root root ${man}/man1/lcdproc.1 $srcdir/docs/lcdproc.1
|
|
f 644 root root ${man}/man8/LCDd.8 $srcdir/docs/LCDd.8
|
|
|
|
# other systems
|
|
%format !depot !dpkg !rpm
|
|
$doc=/usr/share/doc
|
|
$man=/usr/share/man
|
|
|
|
# documentation files
|
|
d 755 root root ${doc}/lcdproc -
|
|
f 644 root root ${doc}/lcdproc ${srcdir}/docs/*
|
|
|
|
# man pages
|
|
f 644 root root ${man}/man1/lcdproc.1 $srcdir/docs/lcdproc.1
|
|
f 644 root root ${man}/man8/LCDd.8 $srcdir/docs/LCDd.8
|
|
|
|
%format all
|
|
|
|
# configuration file
|
|
f 640 root root ${etc}/LCDd.conf ${srcdir}/LCDd.conf
|
|
|
|
# server binary
|
|
f 750 root root ${sbin}/LCDd ${srcdir}/server/LCDd
|
|
|
|
# main client
|
|
f 755 root root ${bin}/lcdproc ${srcdir}/clients/lcdproc/lcdproc
|
|
|
|
# other clients
|
|
f 755 root root ${bin}/lcdfortune ${srcdir}/clients/examples/fortune.pl
|
|
f 755 root root ${bin}/lcdiosock ${srcdir}/clients/examples/iosock.pl
|
|
f 755 root root ${bin}/lcdheadlines ${srcdir}/clients/headlines/lcdheadlines
|
|
f 755 root root ${bin}/lcdtail ${srcdir}/clients/examples/tail.pl
|
|
f 755 root root ${bin}/lcdx11amp ${srcdir}/clients/examples/x11amp.pl
|