mate-panel-vl.spec 7.5 KB

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