1 %include /usr/lib/rpm/macros.perl
2 Summary: VFolders Menu Generator
3 Summary(pl.UTF-8): 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: f73aaacd03bd9b8fe097cac5011f26d9
12 Patch0: %{name}-ignore-OnlyUnallocated.patch
13 URL: http://vfmg.sourceforge.net/
14 BuildRequires: rpm-perlprov
15 Requires(post,preun): /sbin/chkconfig
18 Conflicts: WindowMaker < 0.92.0-0.4
19 Conflicts: enlightenment < 0.16.7.2-2
20 Conflicts: icewm < 2:1.2.25-0.2
21 Conflicts: metisse < 0.3.5-4
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.
32 %description -l pl.UTF-8
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.UTF-8): 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.UTF-8
50 Pakiet ten zawiera plik konfiguracyjny umożliwiający regularne
51 generowanie menu dla zarządców okien o określonych godzinach.
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_datadir}/zsh/site-functions} \
60 $RPM_BUILD_ROOT/etc/{cron.d,rc.d/init.d,sysconfig}
62 install vfmg $RPM_BUILD_ROOT%{_bindir}
63 install vfmgrc $RPM_BUILD_ROOT%{_sysconfdir}
64 install vfmg-zsh $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_vfmg
65 install vfmg.init $RPM_BUILD_ROOT/etc/rc.d/init.d/vfmg
66 install vfmg.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/vfmg
67 install vfmg.cron $RPM_BUILD_ROOT/etc/cron.d/vfmg
70 rm -rf $RPM_BUILD_ROOT
73 /sbin/chkconfig --add vfmg
76 if [ "$1" = "0" ]; then
77 /sbin/chkconfig --del vfmg
81 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/*
84 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vfmgrc
85 %attr(754,root,root) /etc/rc.d/init.d/vfmg
86 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vfmg
87 %{_datadir}/zsh/site-functions/*
90 %defattr(644,root,root,755)
91 %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/vfmg