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: 3fc222988eec7df27ce645ddc024f475
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
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions,/etc/{rc.d/init.d,sysconfig}}
39 install vfmg $RPM_BUILD_ROOT%{_bindir}
40 install vfmg-zsh $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_vfmg
41 install vfmg.init $RPM_BUILD_ROOT/etc/rc.d/init.d/vfmg
42 install vfmg.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/vfmg
45 rm -rf $RPM_BUILD_ROOT
48 /sbin/chkconfig --add vfmg
51 if [ "$1" = "0" ]; then
52 /sbin/chkconfig --del vfmg
56 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/*
59 %attr(754,root,root) /etc/rc.d/init.d/vfmg
60 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/vfmg
61 %{_datadir}/zsh/site-functions/*