mate-panel-vl.spec 6.8 KB

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