1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | |
---|
3 | Name: alacarte |
---|
4 | Version: 3.6.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: Menu editor for the GNOME desktop |
---|
7 | Summary(ja): GNOME デスクトップ用メニューエディタ |
---|
8 | |
---|
9 | Group: Applications/System |
---|
10 | License: LGPLv2+ |
---|
11 | URL: http://www.gnome.org |
---|
12 | |
---|
13 | Source0: http://download.gnome.org/sources/alacarte/3.6/%{name}-%{version}.tar.xz |
---|
14 | |
---|
15 | Patch0: alacarte-0.13.4-getIcon.patch |
---|
16 | Patch1: alacarte-3.6.1-revert-xdg-menu-prefix.patch |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | BuildArch: noarch |
---|
20 | |
---|
21 | BuildRequires: gettext |
---|
22 | BuildRequires: python-devel |
---|
23 | BuildRequires: pygobject3-devel |
---|
24 | BuildRequires: gnome-menus-devel >= 3.2.0.1 |
---|
25 | BuildRequires: intltool |
---|
26 | BuildRequires: desktop-file-utils |
---|
27 | |
---|
28 | Requires: gnome-menus >= 3.2.0.1 |
---|
29 | |
---|
30 | %description |
---|
31 | Alacarte is a graphical menu editor that lets you edit, add, and delete |
---|
32 | menu entries. It follows the freedesktop.org menu specification and |
---|
33 | should work with any desktop environment that uses this specification. |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | %patch0 -p1 |
---|
38 | %patch1 -p1 |
---|
39 | |
---|
40 | %build |
---|
41 | %configure |
---|
42 | make |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
47 | |
---|
48 | # desktop-file-install can't manipulate NotShowIn |
---|
49 | sed -i -e 's/NotShowIn=KDE;/OnlyShowIn=GNOME;/' \ |
---|
50 | $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop |
---|
51 | desktop-file-validate \ |
---|
52 | $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop |
---|
53 | |
---|
54 | |
---|
55 | %find_lang %{name} |
---|
56 | |
---|
57 | %clean |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | %post |
---|
61 | touch --no-create %{_datadir}/icons/hicolor |
---|
62 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
63 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
64 | fi |
---|
65 | |
---|
66 | %postun |
---|
67 | touch --no-create %{_datadir}/icons/hicolor |
---|
68 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
69 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
70 | fi |
---|
71 | |
---|
72 | %files -f %{name}.lang |
---|
73 | %defattr(-,root,root,-) |
---|
74 | %doc README AUTHORS COPYING |
---|
75 | %{python_sitelib}/Alacarte |
---|
76 | %{_bindir}/alacarte |
---|
77 | %{_datadir}/applications/alacarte.desktop |
---|
78 | %{_datadir}/alacarte |
---|
79 | %{_datadir}/icons/hicolor/16x16/apps/alacarte.png |
---|
80 | %{_datadir}/icons/hicolor/22x22/apps/alacarte.png |
---|
81 | %{_datadir}/icons/hicolor/24x24/apps/alacarte.png |
---|
82 | %{_datadir}/icons/hicolor/32x32/apps/alacarte.png |
---|
83 | %{_datadir}/icons/hicolor/48x48/apps/alacarte.png |
---|
84 | %{_datadir}/icons/hicolor/256x256/apps/alacarte.png |
---|
85 | |
---|
86 | %changelog |
---|
87 | * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.6.1-1 |
---|
88 | - new upstream release |
---|
89 | - add Patch1 (alacarte-3.6.1-revert-xdg-menu-prefix.patch) |
---|
90 | |
---|
91 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.5.5-1 |
---|
92 | - new upstream release |
---|
93 | |
---|
94 | * Wed Jun 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-2 |
---|
95 | - add Patch0 (alacarte-0.13.4-getIcon.patch) |
---|
96 | |
---|
97 | * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-1 |
---|
98 | - new upstream release |
---|
99 | - remove Patch0 |
---|
100 | - remove BuildRequires: pygtk2-devel |
---|
101 | - add BuildRequires: pygobject3-devel |
---|
102 | - remove Requires: pygtk2, gnome-python |
---|
103 | |
---|
104 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.2-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sat Apr 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.1-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.12.4-2 |
---|
111 | - initial build for Vine Linux |
---|
112 | |
---|
113 | * Mon Sep 21 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.4-1 |
---|
114 | - Update to 0.12.4 |
---|
115 | |
---|
116 | * Sat Sep 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-2 |
---|
117 | - Bump the gnome-menus requires |
---|
118 | |
---|
119 | * Tue Sep 8 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-1 |
---|
120 | - Update to 0.12.3 |
---|
121 | |
---|
122 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2 |
---|
123 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
124 | |
---|
125 | * Sat May 16 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.1-1 |
---|
126 | - Update to 0.12.1 |
---|
127 | |
---|
128 | * Tue Mar 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.10-1 |
---|
129 | - Update to 0.11.10 |
---|
130 | |
---|
131 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.9-3 |
---|
132 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
133 | |
---|
134 | * Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-2 |
---|
135 | - Only show in GNOME (#486887) |
---|
136 | |
---|
137 | * Tue Feb 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-1 |
---|
138 | - Update to 0.11.9 |
---|
139 | |
---|
140 | * Tue Feb 3 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.8-1 |
---|
141 | - Update to 0.11.8 |
---|
142 | |
---|
143 | * Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.7-1 |
---|
144 | - Update to 0.11.7 |
---|
145 | |
---|
146 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.6-6 |
---|
147 | - Rebuild for Python 2.6 |
---|
148 | |
---|
149 | * Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-5 |
---|
150 | - Tweak %%summary and %%description |
---|
151 | |
---|
152 | * Fri Oct 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-4 |
---|
153 | - Make undoing of deletion work |
---|
154 | |
---|
155 | * Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-3 |
---|
156 | - Update to 0.11.6 |
---|
157 | |
---|
158 | * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1 |
---|
159 | - Update to 0.11.5 |
---|
160 | |
---|
161 | * Thu Feb 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.4-1 |
---|
162 | - Update to 0.11.4 |
---|
163 | |
---|
164 | * Sun Dec 02 2007 Todd Zullinger <tmz@pobox.com> - 0.11.3-5 |
---|
165 | - put the python scripts in sitelib, not sitearch |
---|
166 | - remove autoconf, automake, and intltool BRs |
---|
167 | - don't run autoconf/automake in %%build |
---|
168 | - BR perl(XML::Parser) |
---|
169 | - remove smeg Obsoletes and Provides |
---|
170 | - minor rpmlint cleanups |
---|
171 | |
---|
172 | * Sat Aug 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-4 |
---|
173 | - Fix the build with intltool 0.36 |
---|
174 | - Update the license field |
---|
175 | |
---|
176 | * Fri Mar 23 2007 Ray Strode <rstrode@redhat.com> - 0.11.3-3 |
---|
177 | - change url to gnome.org (bug 233237) |
---|
178 | |
---|
179 | * Tue Feb 13 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-2 |
---|
180 | - Update to 0.11.3 |
---|
181 | |
---|
182 | * Mon Feb 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1.svn20070212 |
---|
183 | - Bring back editing of the System menu |
---|
184 | |
---|
185 | * Fri Jan 26 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-2 |
---|
186 | - Fix the Provides: line |
---|
187 | |
---|
188 | * Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-1 |
---|
189 | - Update to 0.11.1.1 |
---|
190 | |
---|
191 | * Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.2-2 |
---|
192 | - Update to 0.10.2 |
---|
193 | |
---|
194 | * Sat Dec 9 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-4 |
---|
195 | - try again |
---|
196 | |
---|
197 | * Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 0.10.1-2 |
---|
198 | - build against python 2.5 |
---|
199 | |
---|
200 | * Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-1 |
---|
201 | - Update to 0.10.1 |
---|
202 | * Mon Sep 4 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.0-1.fc6 |
---|
203 | - Update to 0.10.0 |
---|
204 | |
---|
205 | * Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-7.fc6 |
---|
206 | - Fix more build requires |
---|
207 | |
---|
208 | * Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-3.fc6 |
---|
209 | - Add BR for pkgconfig |
---|
210 | |
---|
211 | * Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-1.fc6 |
---|
212 | - Update to 0.9.90 |
---|
213 | |
---|
214 | * Thu Aug 17 2006 Ray Strode <rstrode@redhat.com> - 0.8-8 |
---|
215 | - initial build for Fedora Core |
---|
216 | |
---|
217 | * Wed Feb 15 2006 John Mahowald <jpmahowald@gmail.com> - 0.8-7 |
---|
218 | - Rebuild for Fedora Extras 5 |
---|
219 | |
---|
220 | * Fri Feb 3 2006 John Mahowald <jpmahowald@gmail.com> - 0.8-3 |
---|
221 | - Fix stray reference to smeg |
---|
222 | - Use python sitearch macro from template |
---|
223 | |
---|
224 | * Sat Oct 29 2005 John Mahowald <jpmahowald@gmail.com> - 0.8-2 |
---|
225 | - Rebuild |
---|
226 | |
---|
227 | * Thu Oct 27 2005 John Mahowald <jpmahowald@gmail.com> - 0.8-1 |
---|
228 | - rename to alacarte |
---|
229 | - Update to 0.8 |
---|
230 | |
---|
231 | * Thu Oct 20 2005 John Mahowald <jpmahowald@gmail.com> - 0.7.5-4 |
---|
232 | - remove requires gnome-menus |
---|
233 | |
---|
234 | * Tue Aug 30 2005 John Mahowald <jpmahowald@gmail.com> - 0.7.5-3 |
---|
235 | - Move to /usr/share |
---|
236 | |
---|
237 | * Tue Jun 28 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-2 |
---|
238 | - Desktop-file-utils for kde desktop entry as well as default one. |
---|
239 | |
---|
240 | * Wed Jun 08 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-1 |
---|
241 | - Rebuilt for 0.7.5 |
---|
242 | |
---|
243 | * Sun Jun 06 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.4-1 |
---|
244 | - Rebuilt for 0.7.4 |
---|
245 | |
---|
246 | * Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.1-1 |
---|
247 | - Rebuilt for 0.7.1 |
---|
248 | - Smeg now use the stock gnome menu icon, removed pixmaps from %%files |
---|
249 | |
---|
250 | * Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-2 |
---|
251 | - Added missing dependency gnome-python2-gconf |
---|
252 | |
---|
253 | * Tue May 31 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-1 |
---|
254 | - Rebuilt for 0.7 |
---|
255 | |
---|
256 | * Mon May 30 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-2 |
---|
257 | - Added desktop-file-utils to Buildrequires |
---|
258 | - Addded desktop-file-utils %%post and %%postun |
---|
259 | |
---|
260 | * Sat May 29 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-1 |
---|
261 | - Rebuilt for 0.6.2 |
---|
262 | |
---|
263 | * Mon May 23 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.5-1 |
---|
264 | - Initial build |
---|