alacarte-vl.spec 8.2 KB

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