gnome-menus-vl.spec 5.9 KB

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