gnome-menus-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.4.2
  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.4/%{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. %{python_sitearch}/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. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  75. - new upstream release
  76. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  77. - new upstream release
  78. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0.1-2
  79. - new upstream release
  80. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0.1-1
  81. - new upstream release
  82. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  83. - new upstream release
  84. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  85. - new upstream release
  86. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  87. - new upstream release
  88. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1
  89. - new upstream release
  90. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.5-1
  91. - new upstream release
  92. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.4-1
  93. - new upstream release
  94. - add BuildRequires: gobject-introspection-devel
  95. - add configure option (--enable-introspection=yes)
  96. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  97. - rebuild with rpm-4.8.1 for pkg-config file
  98. * Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  99. - new upstream release
  100. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  101. - new upstream release
  102. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.28.0.1-2
  103. - rebuilt with python-2.6.4
  104. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0.1-1
  105. - new upstream release
  106. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  107. - new upstream release
  108. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  109. - new upstream release
  110. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  111. - new upstream release
  112. - remove static libs
  113. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  114. - new upstream release
  115. * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2
  116. - require vine-menus >= 3.0
  117. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  118. - new upstream release
  119. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.2-2
  120. - rebuilt with python-2.5.2
  121. * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  122. - new upstream release
  123. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  124. - new upstream release
  125. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  126. - new upstream release
  127. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1
  128. - new upstream release
  129. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
  130. - new upstream release
  131. * Thu Dec 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.3-0vl2
  132. - add Requires: pygtk2-libglade (required by gmenu-simple-editor)
  133. - add Requires: glib2-devel to gnome-menus-devel package
  134. * Mon Aug 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  135. - new upstream release
  136. - add BuildRequires: gamin-devel
  137. * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  138. - new upstream release
  139. * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl2
  140. - remove gnome default xdg menus, now we use vine-menus instead.
  141. - add Requires: vine-menus >= 2.0
  142. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl1
  143. - new upstream release
  144. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  145. - new upstream release
  146. * Wed Aug 03 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  147. - new upstream release
  148. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  149. - initial build for Vine Linux
  150. * Thu Mar 17 2005 Ray Strode <rstrode@redhat.com> - 2.10.0-1
  151. - Update to upstream version 2.10.0
  152. * Fri Mar 4 2005 Jeremy Katz <katzj@redhat.com> - 2.9.90-4
  153. - fix 64bit pointer problem that caused the panel to crash
  154. * Wed Mar 2 2005 Mark McLoughlin <markmc@redhat.com> 2.9.90-3
  155. - Turn off debugging by default
  156. - Rebuild with gcc4
  157. * Tue Feb 1 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-2
  158. - Don't include .directory and .menu files,
  159. we want those from redhat-menus
  160. * Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
  161. - Initial build.