mate-applets-vl.spec 5.4 KB

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