mate-panel-vl.spec 6.2 KB

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