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