http://ftp.aanet.ru/pub/Linux/X11/apps/xscreensaver-2.31.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 80 display modes.
32                 Home page: http://www.jwz.org/xscreensaver/
33 Keywords:       screen saver, screen lock, lock, xlock, X11
34 Author:         jwz@jwz.org (Jamie Zawinski)
35 Maintained-by:  jwz@jwz.org (Jamie Zawinski)
36 Primary-site:   ftp.x.org /contrib/applications/
37                 $TAR_SIZE xscreensaver-$VERSION.tar.gz
38                 $README_SIZE  xscreensaver.README
39                 $LSM_SIZE   xscreensaver.lsm
40 Alternate-site: sunsite.unc.edu /pub/Linux/X11/screensavers/
41                 $TAR_SIZE xscreensaver-$VERSION.tar.gz
42                 $README_SIZE  xscreensaver.README
43                 $LSM_SIZE   xscreensaver.lsm
44 Platforms:      Linux, Irix, SunOS, Solaris, HPUX, AIX, FreeBSD, NetBSD,
45                 BSDI, SCO, OSF1, Ultrix, VMS.
46                 Requires X11 and ANSI C.
47                 Works with Motif or Athena.
48                 Shadow passwords, Kerberos, and OpenGL optionally supported.
49                 Multi-headed machines supported.
50 Copying-policy: BSD
51 End"
52
53 exit 0