-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscwm.spec.in
124 lines (99 loc) · 3.74 KB
/
scwm.spec.in
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Note that this is NOT a relocatable package
%define ver @VERSION@
%define rel 1
%define prefix /usr
Name: scwm
Summary: The Scheme Constraints Window Manager.
Version: %ver
Release: %rel
Source: ftp://scwm.mit.edu/pub/scwm/scwm-%ver.tar.gz
Group: X11/Window Managers
BuildRoot: /tmp/scwm-%ver-build
Copyright: Copyright (C) 1997,1998,1999,2000 Greg J. Badros, Maciej Stachowiak, et al.
Packager: Greg J. Badros <[email protected]> and Maciej Stachowiak <[email protected]>
URL: http://scwm.mit.edu
Distribution: scwm
Requires: guile >= 1.3.4
Requires: guile-gtk >= 0.17
Requires: imlib >= 1.9
Requires: esound >= 0.2.7
Requires: cassowary >= 0.60
Requires: cassowary-constraint-solver
Docdir: %{prefix}/doc
%description
Scwm is the Scheme Constraints Window Manager, a highly dynamic and
extensible window manager for the X Window System. Scwm embeds Guile
Scheme as the configuration and extension language, and includes a
sophisticated constraint solver for permitting the user to interactively
specify constraints among top-level window sizes and positions. Nearly
all decorations can be changed at run-time on a per-window basis.
Dynamic loading of C modules is supported. Scwm is self-documenting and
provides A powerful protocol for interacting with the window manager
from other processes
%changelog
* Sat Sep 25 1999 Greg J. Badros <[email protected]>
- Updated for Scwm-0.99.3, removed gjb.scwmrc from filelist.
* Sun Aug 22 1999 Greg J. Badros <[email protected]>
- Updates to the description, general cleanup of package to get
rpm building to be less painful and more complete
* Tue Feb 2 1999 Harvey Stein <[email protected]>
- Added installation of files from sample.scwmrc directory (into to
/usr/doc/scwm-<version> directory).
- Bumped release #.
- Autobuild this file from scwm.spec.in (to have version automatically
inserted).
* Wed Jan 27 1999 Maciej Stachowiak <[email protected]>
- Devolved for scwm 0.9 release.
* Thu Jul 31 1998 Harvey J. Stein <[email protected]>
- Updated Kjetil's release.
* Wed May 06 1998 Kjetil Wiekhorst Jørgensen <[email protected]>
- Initial release of this package.
%prep
%setup
%build
./configure --prefix=%{prefix} --enable-fsstd --with-cassowary=%{prefix}
make
%install
make prefix=$RPM_BUILD_ROOT/%{prefix} install
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
#cd /etc/X11/xdm; patch < %{prefix}/share/scwm/Xsession.patch
install -c -m 755 %{prefix}/share/scwm/Xsession /etc/X11/xdm/Xsession
install -c -m 755 %{prefix}/share/scwm/gnome-session-Scwm /etc/X11/gdm/Sessions/Scwm
%postun
/sbin/ldconfig
#cd /etc/X11/xdm; patch -R < %{prefix}/share/scwm/Xsession.patch
#rm -f %{prefix}/utilities/misc/gnome-session-Scwm /etc/X11/gdm/Session/Scwm
%files
%defattr(-, root, root)
%{prefix}/bin/
%{prefix}/lib/libscwm*
%{prefix}/lib/scwm/
%{prefix}/info/scwm.info
%{prefix}/man/
%{prefix}/share/emacs/site-lisp/scwm.el
## GJB:FIXME:: should byte compile scwm.el in %postun
#%{prefix}/share/emacs/site-lisp/scwm.elc
%{prefix}/share/scwm/scwmrc/juhp.scwmrc
%{prefix}/share/scwm/scwmrc/mstachow.scwmrc
%{prefix}/share/scwm/scwmrc/sds.scwmrc
%{prefix}/share/scwm/scwmrc/simple.scwmrc
%config %{prefix}/share/scwm/scwmrc/system.scwmrc
%{prefix}/share/scwm/themes/
%{prefix}/share/scwm/modules/
%{prefix}/share/scwm/pixmaps/
%{prefix}/share/scwm/Xsession.patch
%{prefix}/share/scwm/gnome-session-Scwm
%{prefix}/include/
%{prefix}/share/doc/scwm/examples/Xmodmap-win95keyboard
%{prefix}/share/doc/scwm/examples/Xresources-cpp
%{prefix}/share/doc/scwm/examples/Xsession
%doc ANNOUNCE AUTHORS BUG-REPORTING BUGS COPYING.FVWM COPYING.GPL ChangeLog
%doc INSTALL NEWS README RH6-notes README-Gnome README-constraints THANKS TODO
%doc src/ChangeLog
%doc modules/ChangeLog
%doc sample.scwmrc/ChangeLog
%doc utilities/ChangeLog
%doc doc