]> git.pld-linux.org Git - packages/fvwm.git/blob - fvwm.spec
- misc fixes and cleanups
[packages/fvwm.git] / fvwm.spec
1 Summary:        An X Window System based window manager.
2 Name:           fvwm
3 Version:        1.24r
4 Release:        18
5 Copyright:      GPL
6 Group:          User Interface/Desktops
7 Requires:       fvwm2-icons
8 Source0:        ftp://sunsite.unc.edu:/pub/Linux/X11/window-managers/fvwm-1.24r.tar.gz
9 Source1:        fvwm-1.24r-system.fvwmrc
10 Patch0:         fvwm-1.24r-fsstnd.patch
11 Patch1:         fvwm-1.24r-imake.patch
12 Patch2:         fvwm-1.24r-security.patch
13 Patch3:         fvwm-1.24r-fvwmman.patch
14 Buildroot:      /tmp/%{name}-%{version}-root
15
16 %define         _prefix /usr/X11R6
17 %define         _mandir /usr/X11R6/man
18
19 %description
20 FVWM (the F stands for whatever you want, but the VWM stands for
21 Virtual Window Manager) is a window manager for the X Window System. 
22 FVWM was derived from the twm window manager.  FVWM is designed to
23 minimize memory consumption, to provide window frames with a 3D look, and
24 to provide a simple virtual desktop.  FVWM can be configured to look like
25 Motif.
26
27 Install the fvwm package if you'd like to use the FVWM window manager.  If
28 you install fvwm, you'll also need to install fvwm2-icons.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34 %patch2 -p1
35 %patch3 -p1
36
37 %build
38 export PATH=$PATH:/usr/X11R6/bin
39 xmkmf
40 make Makefiles
41 make
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/etc/X11/fvwm/
46
47 make install install.man DESTDIR=$RPM_BUILD_ROOT
48 install $RPM_SOURCE_DIR/fvwm-1.24r-system.fvwmrc $RPM_BUILD_ROOT/etc/X11/fvwm/system.fvwmrc
49 strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/fvwm \
50         $RPM_BUILD_ROOT%{_libdir}/X11/fvwm/* || :
51
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/*
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %doc sample.fvwmrc/*
59 %dir /etc/X11/fvwm
60 %config /etc/X11/fvwm/system.fvwmrc
61 %{_libdir}/X11/fvwm
62 %{_bindir}/fvwm
63 %{_mandir}/*/*
This page took 0.058846 seconds and 4 git commands to generate.