http://ftp.x.org/contrib/applications/xscreensaver-3.25.tar.gz
[xscreensaver] / xscreensaver.lsm.sh
1 #!/bin/sh
2 #
3 # generate an lsm file (http://sunsite.unc.edu/pub/Linux/Incoming/LSM-TEMPLATE)
4 # that is more-or-less correct for the current version of xscreensaver.
5 # jwz, 18-Jan-98
6
7 size() {
8     ls -l $* |
9     tail -1 |
10     sed 's/.* \([0-9][0-9][0-9][0-9][0-9]*\) .*/\1/' |
11     sed 's/[0-9][0-9][0-9]$/K/'
12 }
13
14 TAR_SIZE=`size xscreensaver-*.gz`
15 README_SIZE=`size README`
16 #LSM_SIZE=`size xscreensaver.lsm`
17 LSM_SIZE="1K"
18
19 VERSION=`sed -n 's/.*\([0-9][0-9]*\.[0-9]*\).*/\1/p' < utils/version.h`
20 DATE=`date '+%d%b%y' | tr a-z A-Z`
21
22 #URL=`sed -n 's/\(http:[^ ]*\)/\1/p' < README | sed 's/[^a-zA-Z/]$//'`
23
24 echo "Begin3
25 Title:          xscreensaver
26 Version:        $VERSION
27 Entered-date:   $DATE
28 Description:    A modular screen saver and locker for the X Window System.
29                 Highly customizable: allows the use of any program that
30                 can draw on the root window as a display mode.
31                 Comes with more than 100 display modes.
32 Keywords:       screen saver, screen lock, lock, xlock, X11
33 Author:         jwz@jwz.org (Jamie Zawinski)
34 Maintained-by:  jwz@jwz.org (Jamie Zawinski)
35 Primary-site:   http://www.jwz.org/xscreensaver/
36                 $TAR_SIZE xscreensaver-$VERSION.tar.gz
37                 $README_SIZE  xscreensaver.README
38                 $LSM_SIZE   xscreensaver.lsm
39 Alternate-site: sunsite.unc.edu /pub/Linux/X11/screensavers/
40                 $TAR_SIZE xscreensaver-$VERSION.tar.gz
41                 $README_SIZE  xscreensaver.README
42                 $LSM_SIZE   xscreensaver.lsm
43 Alternate-site: ftp.x.org /contrib/applications/
44                 $TAR_SIZE xscreensaver-$VERSION.tar.gz
45                 $README_SIZE  xscreensaver.README
46                 $LSM_SIZE   xscreensaver.lsm
47 Platforms:      Linux, Irix, SunOS, Solaris, HPUX, AIX, FreeBSD, NetBSD,
48                 BSDI, SCO, OSF1, Ultrix, VMS.
49                 Requires X11 and ANSI C.
50                 Works with Motif or Athena.
51                 Shadow passwords, Kerberos, and OpenGL optionally supported.
52                 Multi-headed machines supported.
53 Copying-policy: BSD
54 End"
55
56 exit 0