gnome-menus-vl.spec 6.0 KB

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