]> git.pld-linux.org Git - packages/vfmg.git/blob - vfmg.spec
- vfmg obsoletes wmconfig
[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:        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:  0175143d8bd08a2a82bde106d191d418
12 URL:            http://vfmg.sourceforge.net/
13 BuildRequires:  rpm-perlprov
14 Requires:       applnk >= 1.9.0
15 Obsoletes:      wmconfig
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
25
26 %description -l pl
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.
32
33 %prep
34 %setup -q
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions,/etc/{rc.d/init.d,sysconfig}}
39
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
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 /sbin/chkconfig --add vfmg
50
51 %preun
52 if [ "$1" = "0" ]; then
53         /sbin/chkconfig --del vfmg
54 fi
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README vfmg.html
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/*
This page took 0.045245 seconds and 4 git commands to generate.