1 %include /usr/lib/rpm/macros.perl
2 Summary: VFolders Menu Generator
3 Summary(pl): Generator Menu opartego na VFolders
8 Group: X11/Window Managers/Tools
9 Vendor: GoTaR <gotar@pld-linux.org>
10 Source0: %{name}-%{version}.tar.bz2
11 # Source0-md5: 0175143d8bd08a2a82bde106d191d418
13 Patch0: %{name}-fvwm2.patch
14 Patch1: %{name}-fvwm.patch
15 Patch2: %{name}-use_tempfile.patch
16 URL: http://vfmg.sourceforge.net/
17 BuildRequires: rpm-perlprov
18 Requires: applnk >= 1.9.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 VFolders Menu Generator. Generates window managers menus (for now only
25 icewm, blackbox, window maker (both old and new style), xfce4, aewm,
26 afterstep, fvwm2, olvwm, qvwm, enlightenment and fluxbox are
27 supported, next coming soon) from desktop files conforming the
28 freedesktop.org menu specification.
31 Generator Menu opartego na VFolders. Generuje menu zarz±dców okien
32 (jak dot±d wspierane s± tylko icewm, blackbox, window maker (oba
33 style, stary oraz nowy), xfce4, aewm, afterstep, fvwm2, olvwm, qvwm,
34 enlightenment i fluxbox, nastêpne wkrótce) z plików desktop
35 wype³niaj±cych specyfikacjê menu z freedesktop.org.
38 Summary: Crontab file for VFolders Menu Generator
39 Summary(pl): Plik crontaba dla generatora menu opartego na vfolders
40 Group: X11/Window Managers/Tools
44 This package contains a configuration file that enables window manager
45 menu generation to be performed regularily at given time.
47 %description cron -l pl
48 Pakiet ten zawiera plik konfiguracyjny umozliwiajacy regularne
49 generowanie menu dla zarz±dców okien o okreslonych godzinach.
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions} \
60 $RPM_BUILD_ROOT/etc/{cron.d,rc.d/init.d,sysconfig}
62 install vfmg $RPM_BUILD_ROOT%{_bindir}
63 install vfmg-zsh $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_vfmg
64 install vfmg.init $RPM_BUILD_ROOT/etc/rc.d/init.d/vfmg
65 install vfmg.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/vfmg
66 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/vfmg
69 rm -rf $RPM_BUILD_ROOT
72 /sbin/chkconfig --add vfmg
75 if [ "$1" = "0" ]; then
76 /sbin/chkconfig --del vfmg
80 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/*
83 %attr(754,root,root) /etc/rc.d/init.d/vfmg
84 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/vfmg
85 %{_datadir}/zsh/site-functions/*
88 %defattr(644,root,root,755)
89 %config(noreplace) %verify(not size mtime md5) /etc/cron.d/vfmg