mate-panel-vl.spec 6.6 KB

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