File xdg-menu.spec of Package xdg-menu (Revision d48747886f3aefaf4f836ce491d901dc)
Currently displaying revision d48747886f3aefaf4f836ce491d901dc , Show latest
150
1
#
2
# spec file for package xdg-menu
3
#
4
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
Name: xdg-menu
20
Version: 0.2
21
Release: 1.23
22
Summary: XDG Menus for WindowMaker and other Window Managers
23
License: GPL-2.0+
24
Group: System/GUI/Other
25
Source0: %{name}.tar.bz2
26
Patch0: %{name}-xfce4.patch
27
Patch1: %{name}-box.patch
28
Patch2: %{name}-twm.patch
29
Patch3: %{name}-xfce4-icon.patch
30
Patch4: %{name}-gnome-path.patch
31
Patch5: %{name}-icewm.patch
32
Patch6: %{name}-pekwm.patch
33
Patch7: %{name}-translation-bnc463972.patch
34
Patch8: %{name}-accept-defaultlayout-bnc529057.patch
35
# PATCH-FIX-OPENSUSE xdg-menu-su.patch asterios.dramis@gmail.com -- Use "su" instead of "sux" to run commands with root privileges in xdg_menu_su (sux is deprecated)
36
Patch9: xdg-menu-su.patch
37
Requires: desktop-data
38
Requires: perl-XML-Parser
39
%if 0%{?suse_version} > 1320
40
Requires: xterm-bin
41
%else
42
Requires: xterm
43
%endif
44
Requires: perl(Locale::gettext)
45
BuildArch: noarch
46
BuildRoot: %{_tmppath}/%{name}-%{version}-build
47
48
%description
49
This package contains a Perl script which converts XDG menus to formats
50
used by WindowMaker and other window managers.
51
52
%prep
53
%setup -q -n xdg-menu
54
%patch0
55
%patch1 -p1
56
%patch2
57
%patch3
58
%patch4
59
%patch5
60
%patch6
61
%patch7
62
%patch8
63
%patch9
64
65
%build
66
67
%install
68
mkdir -p %{buildroot}%{_bindir}
69
install -pm 0755 * %{buildroot}%{_bindir}
70
71
%files
72
%defattr(-,root,root,-)
73
%{_bindir}/xdg_menu
74
%{_bindir}/xdg_menu_su
75
76
%changelog
77
* Wed Dec 17 2014 dimstar@opensuse.org
78
- On openSUSE > 13.2, xterm has been split into xterm-bin for the
79
program and xterm for the app launcher. We only need the program,
80
so conditionall Require xterm-bin.
81
* Wed Feb 27 2013 asterios.dramis@gmail.com
82
- Added a patch (xdg-menu-su.patch) to use "su" instead of "sux" to run
83
commands with root privileges in xdg_menu_su (sux is deprecated).
84
- Made the package noarch.
85
* Mon Aug 31 2009 nadvornik@suse.cz
86
- accept DefaultLayout node [bnc#529057]
87
* Thu Jul 9 2009 coolo@novell.com
88
- fix requires for Locale::gettext
89
* Wed Jun 24 2009 nadvornik@novell.com
90
- handle desktop files translated with gettext [bnc#463972]
91
* Tue Dec 16 2008 mhrusecky@suse.cz
92
- added support for pekwm
93
* Fri Jun 1 2007 nadvornik@suse.cz
94
- do not output top-level menu in icewm format [#273232]
95
* Tue Feb 6 2007 nadvornik@suse.cz
96
- added Requires: xterm [#242136]
97
* Mon Jan 22 2007 nadvornik@suse.cz
98
- adjusted gnome path [#237126]
99
* Fri Mar 24 2006 pnemec@suse.cz
100
- added icon in xfce4 menu
101
* Wed Jan 25 2006 mls@suse.de
102
- converted neededforbuild to BuildRequires
103
* Fri Jul 29 2005 nadvornik@suse.cz
104
- added twm support
105
* Tue Nov 30 2004 hvogel@suse.de
106
- merge *box patches to a single patch
107
- readd openbox3-pipe output
108
* Thu Nov 18 2004 hvogel@suse.de
109
- correct help output to include xfce4
110
- merge *box options into one condition
111
- make the default output for *box a submenu again and
112
add a --fullmenu option
113
- fix xfce4 output to not include '&' in menu/app names
114
* Tue Nov 9 2004 hvogel@suse.de
115
- added openbox3 support by Marcus Rueckert
116
- alias fluxbox, openbox to blackbox output
117
* Mon Sep 13 2004 nadvornik@suse.cz
118
- added xfce4 support
119
* Tue Mar 16 2004 nadvornik@suse.cz
120
- do not display KDE-specific entries [#36152]
121
- requires desktop-data
122
* Fri Mar 12 2004 nadvornik@suse.cz
123
- fixed paths for kde desktop entries
124
- remove duplicate entries which came from different desktop files
125
* Mon Feb 2 2004 nadvornik@suse.cz
126
- added caching of output
127
- fixed dependencies [#33294]
128
- increased version to 0.2
129
* Wed Sep 17 2003 nadvornik@suse.cz
130
- run su wrapper for entries with X-KDE-SubstituteUID [#30523]
131
* Mon Sep 15 2003 nadvornik@suse.cz
132
- handle desktop files with '&' in file name
133
- better debugging output
134
* Fri Sep 12 2003 nadvornik@suse.cz
135
- fixed fvwm2 output [#30523]
136
- fixed bug in parsing desktop files
137
* Mon Sep 8 2003 nadvornik@suse.cz
138
- added blackbox support from mfabian@suse.de
139
- correctly interpret language in the form LANG_COUNTRY.ENCODING@MODIFIER
140
* Fri Sep 5 2003 nadvornik@suse.cz
141
- more bugs fixed
142
* Tue Sep 2 2003 nadvornik@suse.cz
143
- added fvwm2 support
144
* Fri Aug 29 2003 nadvornik@suse.cz
145
- some fixes
146
* Wed Aug 27 2003 nadvornik@suse.cz
147
- finished support for WindowMaker
148
* Mon Aug 25 2003 nadvornik@suse.cz
149
- new package, needs some more work
150