mate-applets-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. Summary: Applets for MATE panel
  2. Name: mate-applets
  3. Version: 1.1.0
  4. Release: 2%{?_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. Patch0: mate-applets-1.1.0-x-lib.patch
  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. %patch0 -p1 -b .xlib
  46. %build
  47. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  48. %configure \
  49. --libexecdir=%{_libexecdir}/mate \
  50. --disable-static \
  51. --disable-scrollkeeper
  52. %{__make} %{?_smp_mflags}
  53. %install
  54. %{__rm} -rf ${RPM_BUILD_ROOT}
  55. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  56. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  57. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  58. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  59. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  60. %find_lang %{name}-2.0
  61. %clean
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %post
  64. /sbin/ldconfig
  65. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  66. SCHEMAS=" \
  67. battstat.schemas \
  68. charpick.schemas \
  69. cpufreq-applet.schemas \
  70. drivemount.schemas \
  71. geyes.schemas \
  72. multiload.schemas \
  73. stickynotes.schemas"
  74. for S in $SCHEMAS; do
  75. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  76. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  77. %pre
  78. if [ "$1" -gt 1 ]; then
  79. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  80. SCHEMAS=" \
  81. battstat.schemas \
  82. charpick.schemas \
  83. cpufreq-applet.schemas \
  84. drivemount.schemas \
  85. geyes.schemas \
  86. multiload.schemas \
  87. stickynotes.schemas"
  88. for S in $SCHEMAS; do
  89. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  90. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  91. fi
  92. %preun
  93. if [ "$1" -eq 0 ]; then
  94. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  95. SCHEMAS=" \
  96. battstat.schemas \
  97. charpick.schemas \
  98. cpufreq-applet.schemas \
  99. drivemount.schemas \
  100. geyes.schemas \
  101. multiload.schemas \
  102. stickynotes.schemas"
  103. for S in $SCHEMAS; do
  104. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  105. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  106. fi
  107. %postun
  108. /sbin/ldconfig
  109. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  110. %files -f %{name}-2.0.lang
  111. %defattr(-,root,root,-)
  112. %doc COPYING ChangeLog NEWS README
  113. %{_sysconfdir}/dbus-1/system.d/org.mate.CPUFreqSelector.conf
  114. %{_sysconfdir}/mateconf/schemas/battstat.schemas
  115. %{_sysconfdir}/mateconf/schemas/charpick.schemas
  116. %{_sysconfdir}/mateconf/schemas/cpufreq-applet.schemas
  117. %{_sysconfdir}/mateconf/schemas/drivemount.schemas
  118. %{_sysconfdir}/mateconf/schemas/geyes.schemas
  119. %{_sysconfdir}/mateconf/schemas/multiload.schemas
  120. %{_sysconfdir}/mateconf/schemas/stickynotes.schemas
  121. %{_sysconfdir}/sound/events/mate-battstat_applet.soundlist
  122. %{_bindir}/mate-cpufreq-selector
  123. %{_libdir}/matecomponent/servers/MATE_CDPlayerApplet.server
  124. %{_libdir}/matecomponent/servers/MATE_KeyboardApplet.server
  125. %{_libdir}/matecomponent/servers/MATE_MailcheckApplet_Factory.server
  126. %{_libdir}/matecomponent/servers/MATE_MiniCommanderApplet.server
  127. %{_libdir}/matecomponent/servers/MATE_MixerApplet.server
  128. %{_libdir}/matecomponent/servers/MATE_NullApplet_Factory.server
  129. %{_libdir}/matecomponent/servers/MATE_Panel_WirelessApplet.server
  130. %{_libexecdir}/mate/accessx-status-applet
  131. %{_libexecdir}/mate/battstat-applet-2
  132. %{_libexecdir}/mate/charpick_applet2
  133. %{_libexecdir}/mate/cpufreq-applet
  134. %{_libexecdir}/mate/drivemount_applet2
  135. %{_libexecdir}/mate/geyes_applet2
  136. %{_libexecdir}/mate/mateweather-applet-2
  137. %{_libexecdir}/mate/multiload-applet-2
  138. %{_libexecdir}/mate/null_applet
  139. %{_libexecdir}/mate/stickynotes_applet
  140. %{_libexecdir}/mate/trashapplet
  141. %{_datadir}/dbus-1/services/*.service
  142. %{_datadir}/dbus-1/system-services/org.mate.CPUFreqSelector.service
  143. %{_datadir}/icons/hicolor/*/*/*
  144. %{_datadir}/icons/mate/48x48/apps/ax-applet.png
  145. %{_datadir}/mate/help
  146. %{_datadir}/mate-2.0/ui/*.xml
  147. %{_datadir}/%{name}
  148. %{_datadir}/mate-panel/applets/*
  149. %{_datadir}/omf
  150. %{_datadir}/pixmaps/mate-accessx-status-applet
  151. %{_datadir}/pixmaps/mate-cpufreq-applet
  152. %{_datadir}/pixmaps/mate-stickynotes
  153. %{_datadir}/polkit-1/actions/org.mate.cpufreqselector.policy
  154. %changelog
  155. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  156. - change category
  157. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  158. - initial build for Vine Linux