mate-panel-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. Summary: The MATE Panel
  2. Name: mate-panel
  3. Version: 1.6.1
  4. Release: 3%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. Source1: panel-default-layout.mate.vine
  7. # for Vine
  8. Patch2000: mate-panel-1.6.1-about-vine.patch
  9. License: GPLv2
  10. Group: User Interface/Desktops
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: mate-doc-utils
  14. BuildRequires: mate-desktop-devel
  15. BuildRequires: mate-menus-devel
  16. BuildRequires: libmateweather-devel
  17. BuildRequires: gtk2-devel
  18. BuildRequires: libSM-devel
  19. BuildRequires: libcanberra-devel
  20. BuildRequires: dbus-glib-devel
  21. BuildRequires: libmatewnck-devel
  22. BuildRequires: librsvg2-devel
  23. BuildRequires: evolution-data-server-devel
  24. BuildRequires: NetworkManager-devel
  25. BuildRequires: dconf-devel
  26. BuildRequires: gtk-doc
  27. BuildRequires: autoconf
  28. BuildRequires: automake
  29. Requires: vine-menus
  30. Requires(posttrans,postun): glib2
  31. Requires(post,postun): gtk2
  32. Requires(post,postun): desktop-file-utils
  33. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  34. Vendor: Project Vine
  35. Distribution: Vine Linux
  36. Packager: Takemikaduchi
  37. %description
  38. mate-panel contains the MATE panel, the libmate-panel-applet library and
  39. several applets:
  40. + the MATE panel is the area on your desktop from which you can run
  41. applications and applets, and perform other tasks.
  42. + the libmate-panel-applet library allows to develop small applications
  43. which may be embedded in the panel. These are called applets.
  44. Documentation for the API is available with gtk-doc.
  45. + the applets supplied here include the Workspace Switcher, the Window
  46. List, the Window Selector, the Notification Area, the Clock and the
  47. infamous 'Wanda the Fish'.
  48. %package devel
  49. Summary: Development tools for mate-panel
  50. Summary(ja): mate-panel の開発環境
  51. Group: Development/Libraries
  52. Requires: %{name} = %{version}-%{release}
  53. Requires: pkgconfig
  54. %description devel
  55. Header files and libraries for building a extension library for the
  56. mate-panel.
  57. %package doc
  58. Summary: Documentation for mate-panel
  59. Summary(ja): mate-panel 用のドキュメント
  60. Group: Documentation
  61. Requires: %{name} = %{version}-%{release}
  62. BuildArch: noarch
  63. %description doc
  64. This package contains documentation for mate-panel.
  65. %prep
  66. %setup -q
  67. %patch2000 -p1 -b .vine
  68. cp -f %{SOURCE1} data/panel-default-layout.mate
  69. %build
  70. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  71. %configure \
  72. --libexecdir=%{_libexecdir}/mate \
  73. --disable-static \
  74. --disable-scrollkeeper \
  75. --enable-introspection \
  76. --enable-matecomponent
  77. %{__make} %{?_smp_mflags}
  78. %install
  79. %{__rm} -rf ${RPM_BUILD_ROOT}
  80. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  81. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  82. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  83. %find_lang %{name}
  84. %clean
  85. %{__rm} -rf ${RPM_BUILD_ROOT}
  86. %post
  87. /sbin/ldconfig
  88. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  89. touch --no-create %{_datadir}/icons/hicolor
  90. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  91. %postun
  92. /sbin/ldconfig
  93. if [ $1 -eq 0 ]; then
  94. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  95. touch --no-create %{_datadir}/icons/hicolor
  96. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  97. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  98. fi
  99. %posttrans
  100. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  101. %files -f %{name}.lang
  102. %defattr(-,root,root,-)
  103. %doc COPYING ChangeLog NEWS README
  104. %{_bindir}/mate-desktop-item-edit
  105. %{_bindir}/mate-panel
  106. %{_bindir}/mate-panel-test-applets
  107. %{_libdir}/girepository-1.0/MatePanelApplet-4.0.typelib
  108. %{_libdir}/libmate-panel-applet-*.so.*
  109. %{_libexecdir}/mate/clock-applet
  110. %{_libexecdir}/mate/fish-applet
  111. %{_libexecdir}/mate/notification-area-applet
  112. %{_libexecdir}/mate/wnck-applet
  113. %{_datadir}//MateConf/gsettings/mate-panel.convert
  114. %{_datadir}/applications/mate-panel.desktop
  115. %{_datadir}/dbus-1/services/*.service
  116. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.clock.gschema.xml
  117. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.fish.gschema.xml
  118. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.window-list.gschema.xml
  119. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.workspace-switcher.gschema.xml
  120. %{_datadir}/glib-2.0/schemas/org.mate.panel.enums.xml
  121. %{_datadir}/glib-2.0/schemas/org.mate.panel.gschema.xml
  122. %{_datadir}/glib-2.0/schemas/org.mate.panel.object.gschema.xml
  123. %{_datadir}/glib-2.0/schemas/org.mate.panel.toplevel.gschema.xml
  124. %{_datadir}/icons/hicolor/*/*/*
  125. %{_datadir}/mate/help
  126. %{_datadir}/mate-panel
  127. %{_datadir}/omf/mate-applet-clock
  128. %{_datadir}/omf/mate-applet-fish
  129. %{_mandir}/man1/mate-panel.1.gz
  130. %{_mandir}/man1/mate-desktop-item-edit.1.gz
  131. %{_mandir}/man1/mate-panel-test-applets.1.gz
  132. %files devel
  133. %defattr(-,root,root,-)
  134. %{_includedir}/mate-panel-4.0/
  135. %{_libdir}/libmate-panel-applet-*.so
  136. %{_libdir}/pkgconfig/libmatepanelapplet-4.0.pc
  137. %{_datadir}/gir-1.0/MatePanelApplet-4.0.gir
  138. %files doc
  139. %defattr(-,root,root,-)
  140. %{_datadir}/gtk-doc/html/mate-panel-applet
  141. %changelog
  142. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-3
  143. - rebuild with VineSeed environment
  144. * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  145. - change Source1 (panel-default-layout.mate.vine)
  146. - add Patch2000 (mate-panel-1.6.1-about-vine.patch)
  147. - add Requires: vine-menus
  148. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  149. - new upstream release
  150. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  151. - new upstream release
  152. - remove BuildRequires: mate-conf-devel, libmatecomponentui-devel
  153. - add BuildRequires: dconf-devel
  154. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  155. - new upstream release
  156. - remove Patch0 (mate-panel-1.2.1-configure.patch)
  157. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  158. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  159. - new upstream release
  160. - add Patch0 (mate-panel-1.2.1-configure.patch)
  161. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  162. - change category
  163. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  164. - initial build for Vine Linux