- vfmg suppert, rel. 27
authorankry <ankry@pld-linux.org>
Fri, 17 Sep 2004 13:16:12 +0000 (13:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fvwm.spec -> 1.39

fvwm.spec

index c012641..d0e5671 100644 (file)
--- a/fvwm.spec
+++ b/fvwm.spec
@@ -7,10 +7,9 @@ Summary(pt):   Gerenciador de Janelas: Feeble (Fine?) Virtual Window Manager
 Summary(tr):   X11 i├žin pencere denetleyicisi
 Name:          fvwm
 Version:       1.24r
-Release:       26
+Release:       27
 License:       GPL
 Group:         X11/Window Managers
-Requires:      fvwm2-icons
 Source0:       ftp://sunsite.unc.edu/pub/Linux/X11/window-managers/%{name}-%{version}.tar.gz
 # Source0-md5: 875733e77e285566197f4b50746aefc6
 Source1:       %{name}-system.%{name}rc
@@ -24,8 +23,10 @@ Patch3:              %{name}-%{name}man.patch
 Patch4:                %{name}-enable-m4.patch
 Patch5:                %{name}-maxpopups.patch
 Patch6:                %{name}-man.patch
-Requires:      wmconfig >= 0.9.9-5
+Requires(post):        vfmg >= 0.9.18-3
+Requires:      fvwm2-icons
 Requires:      m4
+Requires:      vfmg >= 0.9.18-3
 Requires:      xinitrc-ng
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -105,6 +106,12 @@ mv $RPM_BUILD_ROOT%{_mandir}/man1/fvwm{,1}.1x
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+# generate initial menu
+[ -f /etc/sysconfig/vfmg ] && . /etc/sysconfig/vfmg
+[ $FVWM = yes -o $FVWM = 1 -o ! -f /etc/X11/fvwm/fvwm.menu ] && \
+       vfmg -f -x -c fvwm >/etc/X11/fvwm/fvwm.menu 2>/dev/null ||:
+
 %files
 %defattr(644,root,root,755)
 %doc sample.fvwmrc/*
This page took 0.045765 seconds and 4 git commands to generate.