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