mate-panel-vl.spec 5.5 KB

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