]> git.pld-linux.org Git - packages/vfmg.git/blob - vfmg.spec
- -m parameter added
[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.16
6 Release:        2
7 License:        GPL
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:  e932c093e6d1ec219c972f89ac9106c1
12 URL:            http://vfmg.sourceforge.net/
13 BuildRequires:  rpm-perlprov
14 Requires:       applnk >= 1.9.0
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
24
25 %description -l pl
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.
31
32 %prep
33 %setup -q
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/zsh/site-functions,%{_sysconfdir}/{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%{_sysconfdir}/rc.d/init.d/vfmg
43 install vfmg.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/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(755,root,root) %{_sysconfdir}/rc.d/init.d/*
61 %{_sysconfdir}/sysconfig/*
62 %{_datadir}/zsh/site-functions/*
This page took 0.035055 seconds and 4 git commands to generate.