gnome-menus-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. %define po_package gnome-menus
  2. Summary: A menu system for the GNOME project
  3. Summary(ja): GNOMEプロジェクト用メニューシステム
  4. Name: gnome-menus
  5. Version: 2.30.0
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. URL: http://www.gnome.org/
  10. Source0: %{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: python-devel, glib2-devel
  13. BuildRequires: gamin-devel
  14. Requires: python
  15. Requires: pygtk2
  16. Requires: vine-menus >= 3.0
  17. %description
  18. gnome-menus is an implementation of the draft "Desktop
  19. Menu Specification" from freedesktop.org. This package
  20. also contains the GNOME menu layout configuration files,
  21. .directory files and assorted menu related utility programs.
  22. %package devel
  23. Summary: Libraries and include files for the GNOME menu system
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}
  26. Requires: glib2-devel
  27. %description devel
  28. This package provides the necessary development libraries for
  29. writing applications that use the GNOME menu system.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --with-monitor-backend=gio \
  34. --enable-debug=no
  35. make
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. %makeinstall
  39. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
  40. rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.{a,la}
  41. # remove default xdg menus, we use vine-menus instead.
  42. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/*.menu
  43. %find_lang %{po_package}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files -f %{po_package}.lang
  49. %defattr(-,root,root,-)
  50. %doc
  51. %dir %{_sysconfdir}/xdg
  52. %dir %{_sysconfdir}/xdg/menus
  53. %dir %{_datadir}/desktop-directories
  54. %{_datadir}/desktop-directories/*
  55. %{_libdir}/libgnome-menu.so.*
  56. %{_bindir}/gmenu-simple-editor
  57. %{_libdir}/python*/site-packages/gmenu.so
  58. %{_libdir}/python*/site-packages/GMenuSimpleEditor/*
  59. #{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade
  60. %{_datadir}/gnome-menus
  61. %{_datadir}/applications/gmenu-simple-editor.desktop
  62. %files devel
  63. %defattr(-, root, root)
  64. %{_libdir}/lib*.so
  65. %{_libdir}/pkgconfig/*
  66. %{_includedir}/gnome-menus
  67. #{_bindir}/gnome-menu-spec-test
  68. %changelog
  69. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  70. - new upstream release
  71. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.28.0.1-2
  72. - rebuilt with python-2.6.4
  73. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0.1-1
  74. - new upstream release
  75. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  76. - new upstream release
  77. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  78. - new upstream release
  79. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  80. - new upstream release
  81. - remove static libs
  82. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  83. - new upstream release
  84. * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2
  85. - require vine-menus >= 3.0
  86. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  87. - new upstream release
  88. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.2-2
  89. - rebuilt with python-2.5.2
  90. * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  91. - new upstream release
  92. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  93. - new upstream release
  94. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  95. - new upstream release
  96. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  97. - new upstream release
  98. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  99. - new upstream release
  100. * Thu Dec 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.3-0vl2
  101. - add Requires: pygtk2-libglade (required by gmenu-simple-editor)
  102. - add Requires: glib2-devel to gnome-menus-devel package
  103. * Mon Aug 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  104. - new upstream release
  105. - add BuildRequires: gamin-devel
  106. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  107. - new upstream release
  108. * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl2
  109. - remove gnome default xdg menus, now we use vine-menus instead.
  110. - add Requires: vine-menus >= 2.0
  111. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl1
  112. - new upstream release
  113. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  114. - new upstream release
  115. * Wed Aug 03 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  116. - new upstream release
  117. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  118. - initial build for Vine Linux
  119. * Thu Mar 17 2005 Ray Strode <rstrode@redhat.com> - 2.10.0-1
  120. - Update to upstream version 2.10.0
  121. * Fri Mar 4 2005 Jeremy Katz <katzj@redhat.com> - 2.9.90-4
  122. - fix 64bit pointer problem that caused the panel to crash
  123. * Wed Mar 2 2005 Mark McLoughlin <markmc@redhat.com> 2.9.90-3
  124. - Turn off debugging by default
  125. - Rebuild with gcc4
  126. * Tue Feb 1 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-2
  127. - Don't include .directory and .menu files,
  128. we want those from redhat-menus
  129. * Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
  130. - Initial build.