-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathwdm.spec
90 lines (73 loc) · 2.86 KB
/
wdm.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Name: wdm
Version: 1.20
Release: 0
Copyright: Copyright 1998 Gene Czarcinski - GPL
Source0: wdm-%{PACKAGE_VERSION}.tar.gz
Packager: Gene Czarcinski <[email protected]>
Group: X11/XFree86
Requires: XFree86 => 3.3.2
Requires: WindowMaker => 0.17.5
Requires: libPropList
BuildRoot: /tmp/wdm-root
Summary: WINGs Display Manager
%description
wdm is a modification/enhancement of XFree86's xdm which
provides a more flexible login panel while maintaining the
basic xdm code to interface with pam, etc.
The basic code uses XFree86 xdm with RedHat patches to implement pam.
This package is automake/autoconf based rather than Imake.
Xdm manages one more more X displays, which may be on the
local host or remote servers. wdm is an enhancement of
the xdm distributed as part of XFree86. It
replaces the logon panel with an external
"greet" module (that is, a separate binary executable file). This separate
executable file has been implemented using the WindowMaker WINGs widget
library and the WindowMaker wraster graphics library.
The interface to the external routine supports passing a parameter to the
Xsession script (such as failsafe which just starts an xterm window). This
interface can be used (with a modified Xsession) to specify the window
manager to start.
Except for the pam configuration file which is /etc/pam.d/wdm,
the install location prefix of /usr/X11R6 is used. wdm's configuration
directory is /etc/X11/wdm.
Note: This rpm has been compiled assuming that the path for the
wmaker program is /usr/bin/wmaker and the path for the afterstep
program is /usr/X11R6/bin/afterstep. If this is incorrect for your
system, then the file /etc/X11/wdm/Xclients must be modified to reflect
the correct locations.
Note: Additional window managers can be added by modifying
the wdmWm Xresources in the /etc/X11/wdm/wdm-config file and changing
the /etc/X11/wdm/Xclients file to start the added window managers.
Note: The rpm binary install process runs a post install script to
find window managers on the install system and update the wdm-config
and Xclients files. Although this shell script can do a reasonable job,
there is nothing like editing these files to tailor them to a
particular system. This script can be run manually if new window
managers are installed.
%changelog
* Sat Sep 13 1998 Gene Czarcinski <[email protected]>
- create wdm 1.0
- includes running wdmReconfig as postinstall process
%prep
%setup
%build
CFLAGS="${RPM_OPT_FLAGS}" ./configure \
--enable-pam \
--prefix=/usr/X11R6 \
--with-wdmdir=/etc/X11/wdm
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%post
/etc/X11/wdm/wdmReconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README README.pam TODO
/etc/pam.d/wdm
/usr/X11R6/bin/wdm
/usr/X11R6/bin/wdmLogin
/usr/X11R6/man/man1/*
/etc/X11/wdm/*