mate-applets-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. Summary: Applets for MATE panel
  2. Name: mate-applets
  3. Version: 1.4.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: mate-icon-theme
  13. BuildRequires: mate-panel-devel
  14. BuildRequires: mate-desktop-devel
  15. BuildRequires: mate-settings-daemon-devel
  16. BuildRequires: libmatenotify-devel
  17. BuildRequires: libmateweather-devel
  18. BuildRequires: gtk2-devel
  19. BuildRequires: libSM-devel
  20. BuildRequires: libmatewnck-devel
  21. BuildRequires: libgtop2-devel
  22. BuildRequires: dbus-devel
  23. BuildRequires: polkit-devel
  24. BuildRequires: NetworkManager-devel
  25. BuildRequires: upower-devel
  26. BuildRequires: popt-devel
  27. BuildRequires: gtk-doc
  28. BuildRequires: autoconf
  29. BuildRequires: automake
  30. Requires(post,pre,preun): mate-conf
  31. Requires(post,postun): desktop-file-utils
  32. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. Packager: Takemikaduchi
  36. %description
  37. MATE (GNU Network Object Model Environment) is a user-friendly
  38. set of applications and desktop tools to be used in conjunction with a
  39. window manager for the X Window System. MATE is similar in purpose and
  40. scope to CDE and KDE, but MATE is based completely on Open Source
  41. software. The mate-applets package provides Panel applets which
  42. enhance your MATE experience.
  43. %prep
  44. %setup -q
  45. %build
  46. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  47. %configure \
  48. --libexecdir=%{_libexecdir}/mate \
  49. --disable-static \
  50. --disable-scrollkeeper
  51. %{__make} %{?_smp_mflags}
  52. %install
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  55. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  56. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  57. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  58. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  59. %find_lang %{name}
  60. %clean
  61. %{__rm} -rf ${RPM_BUILD_ROOT}
  62. %post
  63. /sbin/ldconfig
  64. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  65. SCHEMAS=" \
  66. battstat.schemas \
  67. charpick.schemas \
  68. cpufreq-applet.schemas \
  69. drivemount.schemas \
  70. geyes.schemas \
  71. multiload.schemas \
  72. stickynotes.schemas"
  73. for S in $SCHEMAS; do
  74. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  75. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  76. %pre
  77. if [ "$1" -gt 1 ]; then
  78. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  79. SCHEMAS=" \
  80. battstat.schemas \
  81. charpick.schemas \
  82. cpufreq-applet.schemas \
  83. drivemount.schemas \
  84. geyes.schemas \
  85. multiload.schemas \
  86. stickynotes.schemas"
  87. for S in $SCHEMAS; do
  88. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  89. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  90. fi
  91. %preun
  92. if [ "$1" -eq 0 ]; then
  93. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  94. SCHEMAS=" \
  95. battstat.schemas \
  96. charpick.schemas \
  97. cpufreq-applet.schemas \
  98. drivemount.schemas \
  99. geyes.schemas \
  100. multiload.schemas \
  101. stickynotes.schemas"
  102. for S in $SCHEMAS; do
  103. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  104. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  105. fi
  106. %postun
  107. /sbin/ldconfig
  108. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  109. %files -f %{name}.lang
  110. %defattr(-,root,root,-)
  111. %doc COPYING ChangeLog NEWS README
  112. %{_sysconfdir}/dbus-1/system.d/org.mate.CPUFreqSelector.conf
  113. %{_sysconfdir}/mateconf/schemas/battstat.schemas
  114. %{_sysconfdir}/mateconf/schemas/charpick.schemas
  115. %{_sysconfdir}/mateconf/schemas/cpufreq-applet.schemas
  116. %{_sysconfdir}/mateconf/schemas/drivemount.schemas
  117. %{_sysconfdir}/mateconf/schemas/geyes.schemas
  118. %{_sysconfdir}/mateconf/schemas/multiload.schemas
  119. %{_sysconfdir}/mateconf/schemas/stickynotes.schemas
  120. %{_sysconfdir}/sound/events/mate-battstat_applet.soundlist
  121. %{_bindir}/mate-cpufreq-selector
  122. %{_libdir}/matecomponent/servers/MATE_CDPlayerApplet.server
  123. %{_libdir}/matecomponent/servers/MATE_KeyboardApplet.server
  124. %{_libdir}/matecomponent/servers/MATE_MailcheckApplet_Factory.server
  125. %{_libdir}/matecomponent/servers/MATE_MiniCommanderApplet.server
  126. %{_libdir}/matecomponent/servers/MATE_MixerApplet.server
  127. %{_libdir}/matecomponent/servers/MATE_NullApplet_Factory.server
  128. %{_libdir}/matecomponent/servers/MATE_Panel_WirelessApplet.server
  129. %{_libexecdir}/mate/accessx-status-applet
  130. %{_libexecdir}/mate/battstat-applet-2
  131. %{_libexecdir}/mate/charpick_applet2
  132. %{_libexecdir}/mate/cpufreq-applet
  133. %{_libexecdir}/mate/drivemount_applet2
  134. %{_libexecdir}/mate/geyes_applet2
  135. %{_libexecdir}/mate/mateweather-applet-2
  136. %{_libexecdir}/mate/multiload-applet-2
  137. %{_libexecdir}/mate/null_applet
  138. %{_libexecdir}/mate/stickynotes_applet
  139. %{_libexecdir}/mate/trashapplet
  140. %{_datadir}/dbus-1/services/*.service
  141. %{_datadir}/dbus-1/system-services/org.mate.CPUFreqSelector.service
  142. %{_datadir}/icons/hicolor/*/*/*
  143. %{_datadir}/icons/mate/48x48/apps/ax-applet.png
  144. %{_datadir}/mate/help
  145. %{_datadir}/mate-2.0/ui/*.xml
  146. %{_datadir}/%{name}
  147. %{_datadir}/mate-panel/applets/*
  148. %{_datadir}/omf
  149. %{_datadir}/pixmaps/mate-accessx-status-applet
  150. %{_datadir}/pixmaps/mate-cpufreq-applet
  151. %{_datadir}/pixmaps/mate-stickynotes
  152. %{_datadir}/polkit-1/actions/org.mate.cpufreqselector.policy
  153. %changelog
  154. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  155. - new upstream release
  156. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  157. - add BuildRequires: upower-devel
  158. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  159. - new upstream release
  160. - remove Patch0
  161. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  162. - change category
  163. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  164. - initial build for Vine Linux