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 URL: http://vfmg.sourceforge.net/
13 BuildRequires: rpm-perlprov
14 Requires: applnk >= 1.9.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 VFolders Menu Generator. Generates window managers menus (for now only
21 icewm, blackbox, window maker (both old and new style), xfce4, aewm,
22 afterstep, fvwm2, olvwm, qvwm, enlightenment and fluxbox are
23 supported, next coming soon) from desktop files conforming the
24 freedesktop.org menu specification.
27 Generator Menu opartego na VFolders. Generuje menu zarz±dców okien
28 (jak dot±d wspierane s± tylko icewm, blackbox, window maker (oba
29 style, stary oraz nowy), xfce4, aewm, afterstep, fvwm2, olvwm, qvwm,
30 enlightenment i fluxbox, nastêpne wkrótce) z plików desktop
31 wype³niaj±cych specyfikacjê menu z freedesktop.org.
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions,/etc/{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/etc/rc.d/init.d/vfmg
43 install vfmg.sysconfig $RPM_BUILD_ROOT/etc/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) /etc/rc.d/init.d/vfmg
61 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/vfmg
62 %{_datadir}/zsh/site-functions/*