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