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