]> git.pld-linux.org Git - packages/vfmg.git/blame - vfmg.spec
- XFCE is fully XDG compliant, doesn't need a menu generator
[packages/vfmg.git] / vfmg.spec
CommitLineData
d1b98666 1%include /usr/lib/rpm/macros.perl
7a121255 2Summary: VFolders Menu Generator
1261a8e9 3Summary(pl.UTF-8): Generator Menu opartego na VFolders
7a121255 4Name: vfmg
e99a653b 5Version: 0.9.95
285a6af9 6Release: 7
7a121255
TP
7License: GPL
8Group: X11/Window Managers/Tools
9Vendor: GoTaR <gotar@pld-linux.org>
79162ecc 10Source0: %{name}-%{version}.tar.bz2
66435c42 11# Source0-md5: f73aaacd03bd9b8fe097cac5011f26d9
2ed64ab0 12Patch0: %{name}-ignore-OnlyUnallocated.patch
f2190102 13Patch1: %{name}-XDG_MENU_PREFIX.patch
285a6af9 14Patch2: no-xfce4.patch
7a121255 15URL: http://vfmg.sourceforge.net/
d1b98666 16BuildRequires: rpm-perlprov
36ff3a7b 17Requires(post,preun): /sbin/chkconfig
8479c7dc 18Requires: xdg-menus
8f152125 19Obsoletes: wmconfig
ea3db387 20Conflicts: WindowMaker < 0.92.0-0.4
21Conflicts: enlightenment < 0.16.7.2-2
22Conflicts: icewm < 2:1.2.25-0.2
23Conflicts: metisse < 0.3.5-4
50df6fef 24BuildArch: noarch
7a121255
TP
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28VFolders Menu Generator. Generates window managers menus (for now only
78818cec 29icewm, blackbox, window maker (both old and new style), xfce4, aewm,
6d1c5f1d
TP
30afterstep, fvwm2, olvwm, qvwm, enlightenment and fluxbox are
31supported, next coming soon) from desktop files conforming the
32freedesktop.org menu specification.
7a121255 33
eafbb2cd
JR
34%description -l pl.UTF-8
35Generator Menu opartego na VFolders. Generuje menu zarządców okien
36(jak dotąd wspierane są tylko icewm, blackbox, window maker (oba
6d1c5f1d 37style, stary oraz nowy), xfce4, aewm, afterstep, fvwm2, olvwm, qvwm,
eafbb2cd
JR
38enlightenment i fluxbox, następne wkrótce) z plików desktop
39wypełniających specyfikację menu z freedesktop.org.
7a121255 40
975047d9 41%package cron
42Summary: Crontab file for VFolders Menu Generator
1261a8e9 43Summary(pl.UTF-8): Plik crontaba dla generatora menu opartego na vfolders
975047d9 44Group: X11/Window Managers/Tools
45Requires: crondaemon
46
47%description cron
48This package contains a configuration file that enables window manager
49menu generation to be performed regularily at given time.
50
eafbb2cd
JR
51%description cron -l pl.UTF-8
52Pakiet ten zawiera plik konfiguracyjny umożliwiający regularne
53generowanie menu dla zarządców okien o określonych godzinach.
975047d9 54
7a121255 55%prep
ea3a612b 56%setup -q
2ed64ab0 57%patch0 -p1
f2190102 58%patch1 -p1
285a6af9 59%patch2 -p1
7a121255
TP
60
61%install
62rm -rf $RPM_BUILD_ROOT
e99a653b 63install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_datadir}/zsh/site-functions} \
b6b02184 64 $RPM_BUILD_ROOT/etc/{cron.d,rc.d/init.d,sysconfig}
7a121255 65
ea3a612b 66install vfmg $RPM_BUILD_ROOT%{_bindir}
e99a653b 67install vfmgrc $RPM_BUILD_ROOT%{_sysconfdir}
ea3a612b 68install vfmg-zsh $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_vfmg
42053714
JB
69install vfmg.init $RPM_BUILD_ROOT/etc/rc.d/init.d/vfmg
70install vfmg.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/vfmg
3c1dd577 71install vfmg.cron $RPM_BUILD_ROOT/etc/cron.d/vfmg
7a121255
TP
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
17d6c9d7 76%post
77/sbin/chkconfig --add vfmg
78
79%preun
80if [ "$1" = "0" ]; then
79162ecc 81 /sbin/chkconfig --del vfmg
17d6c9d7 82fi
83
7a121255
TP
84%files
85%defattr(644,root,root,755)
8ee411f7 86%doc README vfmg.html
7a121255 87%attr(755,root,root) %{_bindir}/*
e99a653b 88%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vfmgrc
42053714 89%attr(754,root,root) /etc/rc.d/init.d/vfmg
36ff3a7b 90%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vfmg
add547de 91%{_datadir}/zsh/site-functions/*
975047d9 92
93%files cron
94%defattr(644,root,root,755)
36ff3a7b 95%config(noreplace) %verify(not md5 mtime size) /etc/cron.d/vfmg
This page took 0.221311 seconds and 4 git commands to generate.