1 Summary: An improved version of the FVWM X-based window manager.
5 Source0: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-2.2.tar.gz
6 Source1: fvwm-2.0.46.icons.tar.gz
7 Patch0: fvwm-2.2-redhat.patch
9 Group: User Interface/Desktops
10 Buildroot: /tmp/%{name}-%{version}-root
12 Url: http://fvwm.math.uh.edu/
15 %define _prefix /usr/X11R6
16 %define _mandir /usr/X11R6/man
19 FVWM2 (the F stands for whatever you want, but the VWM stands for
20 Virtual Window Manager) is an improved version of the FVWM window
21 manager for the X Window System and shares the same characteristics as
24 Install the fvwm2 package if you'd like to use the FVWM2 window manager.
25 If you install fvwm2, you'll also need to install fvwm2-icons.
28 Summary: Graphic files used by the FVWM and FVWM2 window managers.
29 Group: User Interface/Desktops
30 Obsoletes: fvwm95-icons
33 The fvwm2-icons package contains icons, bitmaps and pixmaps used by
34 the FVWM and FVWM2 X Window System window managers.
36 You'll need to install fvwm2-icons if you are installing fvwm and/or
40 %setup -n fvwm-%{version} -q
44 CFLAGS="$RPM_OPT_FLAGS" ./configure \
47 --libexecdir=\${prefix}/lib/X11/fvwm2 \
48 --sysconfdir=/etc/X11/fvwm2 \
53 rm -rf $RPM_BUILD_ROOT
54 mkdir -p $RPM_BUILD_ROOT/etc/X11/fvwm2
57 prefix=$RPM_BUILD_ROOT%{_prefix} \
58 sysconfdir=$RPM_BUILD_ROOT/etc/X11/fvwm2 \
59 mandir=$RPM_BUILD_ROOT%{_mandir} \
60 INSTALL_PROGRAM="/usr/bin/install -c -s"
62 install -m 644 sample.fvwmrc/system.fvwm2rc $RPM_BUILD_ROOT/etc/X11/fvwm2
63 rm -rf $RPM_BUILD_ROOT/usr/share/icons
64 install -d $RPM_BUILD_ROOT%{_datadir}/icons/mini
66 install icons/*.xpm $RPM_BUILD_ROOT%{_datadir}/icons
67 mv $RPM_BUILD_ROOT%{_datadir}/icons/mini.*.xpm $RPM_BUILD_ROOT%{_datadir}/icons/mini
69 strip --strip-unneeded $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/X11/fvwm2}/* || :
71 gzip -9nf README AUTHORS NEWS ChangeLog \
72 $RPM_BUILD_ROOT%{_mandir}/man1/*
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc {README,AUTHORS,NEWS,ChangeLog}.gz
82 %config /etc/X11/fvwm2/*
83 %dir %{_libdir}/X11/fvwm2
84 %attr(755,root,root) %{_libdir}/X11/fvwm2/*
85 %attr(755,root,root) %{_bindir}/*
89 %defattr(644,root,root,755)
90 %dir %{_datadir}/icons
91 %dir %{_datadir}/icons/mini
92 %{_datadir}/icons/*.xpm
93 %{_datadir}/icons/mini/*.xpm