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: http://ep09.pld-linux.org/~havner/%{name}-%{version}.tar.bz2
11 # Source0-md5: 2945bbe48efa06123b545883f32f0a69
12 URL: http://vfmg.sourceforge.net/
13 BuildRequires: rpm-perlprov
14 Requires: applnk >= 1.9.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 VFolders Menu Generator. Generates window managers menus (for now only
20 icewm, blackbox, window maker (both old and new style), xfce4, aewm,
21 afterstep, fvwm2, olvwm, qvwm, enlightenment and fluxbox are
22 supported, next coming soon) from desktop files conforming the
23 freedesktop.org menu specification.
26 Generator Menu opartego na VFolders. Generuje menu zarz±dców okien
27 (jak dot±d wspierane s± tylko icewm, blackbox, window maker (oba
28 style, stary oraz nowy), xfce4, aewm, afterstep, fvwm2, olvwm, qvwm,
29 enlightenment i fluxbox, nastêpne wkrótce) z plików desktop
30 wype³niaj±cych specyfikacjê menu z freedesktop.org.
36 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions,%{_sysconfdir}/{rc.d/init.d,sysconfig}}
40 install vfmg $RPM_BUILD_ROOT%{_bindir}
41 install vfmg-zsh $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_vfmg
42 install vfmg.init $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/vfmg
43 install vfmg.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vfmg
46 rm -rf $RPM_BUILD_ROOT
49 /sbin/chkconfig --add vfmg
52 if [ "$1" = "0" ]; then
53 /sbin/chkconfig --del vfmg
57 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_bindir}/*
60 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/vfmg
61 %{_sysconfdir}/sysconfig/*
62 %{_datadir}/zsh/site-functions/*