mate-panel-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. Summary: The MATE Panel
  2. Name: mate-panel
  3. Version: 1.10.0
  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 doc
  60. Summary: Documentation for mate-panel
  61. Summary(ja): mate-panel 用のドキュメント
  62. Group: Documentation
  63. Requires: %{name} = %{version}-%{release}
  64. BuildArch: noarch
  65. %description doc
  66. This package contains documentation for mate-panel.
  67. %prep
  68. %setup -q
  69. %patch2000 -p1 -b .vine
  70. %patch2001 -p1 -b .vine
  71. %build
  72. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  73. %configure \
  74. --libexecdir=%{_libexecdir}/mate \
  75. --disable-static \
  76. --disable-scrollkeeper \
  77. --enable-introspection \
  78. --enable-matecomponent
  79. %{__make} %{?_smp_mflags}
  80. %install
  81. %{__rm} -rf ${RPM_BUILD_ROOT}
  82. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  83. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  84. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  85. install -c -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/layouts/
  86. %find_lang %{name}
  87. %clean
  88. %{__rm} -rf ${RPM_BUILD_ROOT}
  89. %post
  90. /sbin/ldconfig
  91. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  92. touch --no-create %{_datadir}/icons/hicolor
  93. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  94. %postun
  95. /sbin/ldconfig
  96. if [ $1 -eq 0 ]; then
  97. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  98. touch --no-create %{_datadir}/icons/hicolor
  99. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  100. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  101. fi
  102. %posttrans
  103. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  104. %files -f %{name}.lang
  105. %defattr(-,root,root,-)
  106. %doc COPYING ChangeLog NEWS README
  107. %{_bindir}/mate-desktop-item-edit
  108. %{_bindir}/mate-panel
  109. %{_bindir}/mate-panel-test-applets
  110. %{_libdir}/girepository-1.0/MatePanelApplet-4.0.typelib
  111. %{_libdir}/libmate-panel-applet-*.so.*
  112. %{_libexecdir}/mate/clock-applet
  113. %{_libexecdir}/mate/fish-applet
  114. %{_libexecdir}/mate/notification-area-applet
  115. %{_libexecdir}/mate/wnck-applet
  116. %{_datadir}//MateConf/gsettings/mate-panel.convert
  117. %{_datadir}/applications/mate-panel.desktop
  118. %{_datadir}/dbus-1/services/*.service
  119. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.clock.gschema.xml
  120. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.fish.gschema.xml
  121. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.window-list.gschema.xml
  122. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.workspace-switcher.gschema.xml
  123. %{_datadir}/glib-2.0/schemas/org.mate.panel.enums.xml
  124. %{_datadir}/glib-2.0/schemas/org.mate.panel.gschema.xml
  125. %{_datadir}/glib-2.0/schemas/org.mate.panel.menubar.gschema.xml
  126. %{_datadir}/glib-2.0/schemas/org.mate.panel.object.gschema.xml
  127. %{_datadir}/glib-2.0/schemas/org.mate.panel.toplevel.gschema.xml
  128. %{_datadir}/icons/hicolor/*/*/*
  129. %{_datadir}/help
  130. %{_datadir}/mate-panel
  131. %{_mandir}/man1/mate-panel.1.gz
  132. %{_mandir}/man1/mate-desktop-item-edit.1.gz
  133. %{_mandir}/man1/mate-panel-test-applets.1.gz
  134. %files devel
  135. %defattr(-,root,root,-)
  136. %{_includedir}/mate-panel-4.0/
  137. %{_libdir}/libmate-panel-applet-*.so
  138. %{_libdir}/pkgconfig/libmatepanelapplet-4.0.pc
  139. %{_datadir}/gir-1.0/MatePanelApplet-4.0.gir
  140. %files doc
  141. %defattr(-,root,root,-)
  142. %{_datadir}/gtk-doc/html/mate-panel-applet
  143. %changelog
  144. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  145. - new upstream release
  146. - remove Patch2002 (mate-panel-1.8.0-ja.po.patch)
  147. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  148. - rename Source (vine.layout)
  149. * Sun Jun 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  150. - rename Source (vine.layout)
  151. - add Patch2001 (mate-panel-1.8.0-vine-layout.patch)
  152. - add Patch2002 (mate-panel-1.8.0-ja.po.patch)
  153. * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  154. - new upstream release
  155. - change BuildRequires: libwnck-devel instead of libmatewnck-devel
  156. - add BuildRequires: itstool
  157. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-3
  158. - rebuild with VineSeed environment
  159. * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  160. - change Source1 (panel-default-layout.mate.vine)
  161. - add Patch2000 (mate-panel-1.6.1-about-vine.patch)
  162. - add Requires: vine-menus
  163. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  164. - new upstream release
  165. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  166. - new upstream release
  167. - remove BuildRequires: mate-conf-devel, libmatecomponentui-devel
  168. - add BuildRequires: dconf-devel
  169. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  170. - new upstream release
  171. - remove Patch0 (mate-panel-1.2.1-configure.patch)
  172. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  173. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  174. - new upstream release
  175. - add Patch0 (mate-panel-1.2.1-configure.patch)
  176. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  177. - change category
  178. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  179. - initial build for Vine Linux