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
12 Patch0: %{name}-current.patch
13 Patch1: %{name}-icons-svg.patch
14 Patch2: %{name}-metisse.patch
15 Patch3: %{name}-enlightenment_fix.patch
16 URL: http://vfmg.sourceforge.net/
17 BuildRequires: rpm-perlprov
18 Requires: applnk >= 1.9.0
19 Requires(post,preun): /sbin/chkconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 VFolders Menu Generator. Generates window managers menus (for now only
26 icewm, blackbox, window maker (both old and new style), xfce4, aewm,
27 afterstep, fvwm2, olvwm, qvwm, enlightenment and fluxbox are
28 supported, next coming soon) from desktop files conforming the
29 freedesktop.org menu specification.
32 Generator Menu opartego na VFolders. Generuje menu zarz±dców okien
33 (jak dot±d wspierane s± tylko icewm, blackbox, window maker (oba
34 style, stary oraz nowy), xfce4, aewm, afterstep, fvwm2, olvwm, qvwm,
35 enlightenment i fluxbox, nastêpne wkrótce) z plików desktop
36 wype³niaj±cych specyfikacjê menu z freedesktop.org.
39 Summary: Crontab file for VFolders Menu Generator
40 Summary(pl): Plik crontaba dla generatora menu opartego na vfolders
41 Group: X11/Window Managers/Tools
45 This package contains a configuration file that enables window manager
46 menu generation to be performed regularily at given time.
48 %description cron -l pl
49 Pakiet ten zawiera plik konfiguracyjny umozliwiajacy regularne
50 generowanie menu dla zarz±dców okien o okreslonych godzinach.
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions} \
62 $RPM_BUILD_ROOT/etc/{cron.d,rc.d/init.d,sysconfig}
64 install vfmg $RPM_BUILD_ROOT%{_bindir}
65 install vfmg-zsh $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_vfmg
66 install vfmg.init $RPM_BUILD_ROOT/etc/rc.d/init.d/vfmg
67 install vfmg.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/vfmg
68 install vfmg.cron $RPM_BUILD_ROOT/etc/cron.d/vfmg
71 rm -rf $RPM_BUILD_ROOT
74 /sbin/chkconfig --add vfmg
77 if [ "$1" = "0" ]; then
78 /sbin/chkconfig --del vfmg
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/*
85 %attr(754,root,root) /etc/rc.d/init.d/vfmg
86 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/vfmg
87 %{_datadir}/zsh/site-functions/*
90 %defattr(644,root,root,755)
91 %config(noreplace) %verify(not size mtime md5) /etc/cron.d/vfmg