]> git.pld-linux.org Git - packages/vfmg.git/blob - vfmg.spec
- adapterized (sorted %verify attrs)
[packages/vfmg.git] / vfmg.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        VFolders Menu Generator
3 Summary(pl):    Generator Menu opartego na VFolders
4 Name:           vfmg
5 Version:        0.9.18
6 Release:        13
7 License:        GPL
8 Group:          X11/Window Managers/Tools
9 Vendor:         GoTaR <gotar@pld-linux.org>
10 Source0:        %{name}-%{version}.tar.bz2
11 # Source0-md5:  0175143d8bd08a2a82bde106d191d418
12 Patch0:         %{name}-current.patch
13 Patch1:         %{name}-enlightenment_fix.patch
14 URL:            http://vfmg.sourceforge.net/
15 BuildRequires:  rpm-perlprov
16 Requires(post,preun):   /sbin/chkconfig
17 Requires:       xdg-menus
18 Obsoletes:      wmconfig
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 VFolders Menu Generator. Generates window managers menus (for now only
24 icewm, blackbox, window maker (both old and new style), xfce4, aewm,
25 afterstep, fvwm2, olvwm, qvwm, enlightenment and fluxbox are
26 supported, next coming soon) from desktop files conforming the
27 freedesktop.org menu specification.
28
29 %description -l pl
30 Generator Menu opartego na VFolders. Generuje menu zarz±dców okien
31 (jak dot±d wspierane s± tylko icewm, blackbox, window maker (oba
32 style, stary oraz nowy), xfce4, aewm, afterstep, fvwm2, olvwm, qvwm,
33 enlightenment i fluxbox, nastêpne wkrótce) z plików desktop
34 wype³niaj±cych specyfikacjê menu z freedesktop.org.
35
36 %package cron
37 Summary:        Crontab file for VFolders Menu Generator
38 Summary(pl):    Plik crontaba dla generatora menu opartego na vfolders
39 Group:          X11/Window Managers/Tools
40 Requires:       crondaemon
41
42 %description cron
43 This package contains a configuration file that enables window manager
44 menu generation to be performed regularily at given time.
45
46 %description cron -l pl
47 Pakiet ten zawiera plik konfiguracyjny umozliwiajacy regularne
48 generowanie menu dla zarz±dców okien o okreslonych godzinach.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions} \
58         $RPM_BUILD_ROOT/etc/{cron.d,rc.d/init.d,sysconfig}
59
60 install vfmg $RPM_BUILD_ROOT%{_bindir}
61 install vfmg-zsh $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_vfmg
62 install vfmg.init $RPM_BUILD_ROOT/etc/rc.d/init.d/vfmg
63 install vfmg.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/vfmg
64 install vfmg.cron $RPM_BUILD_ROOT/etc/cron.d/vfmg
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 /sbin/chkconfig --add vfmg
71
72 %preun
73 if [ "$1" = "0" ]; then
74         /sbin/chkconfig --del vfmg
75 fi
76
77 %files
78 %defattr(644,root,root,755)
79 %doc README vfmg.html
80 %attr(755,root,root) %{_bindir}/*
81 %attr(754,root,root) /etc/rc.d/init.d/vfmg
82 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vfmg
83 %{_datadir}/zsh/site-functions/*
84
85 %files cron
86 %defattr(644,root,root,755)
87 %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/vfmg
This page took 0.066714 seconds and 4 git commands to generate.