mate-applets-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.3
  3. %define rel 1
  4. Summary: Applets for MATE panel
  5. Name: mate-applets
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: GPLv2 and GFDLv1.1
  10. Group: User Interface/Desktops
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: mate-desktop-devel >= 1.17.0
  14. #BuildRequires: mate-icon-theme
  15. BuildRequires: mate-panel-devel >= 1.17.0
  16. BuildRequires: mate-settings-daemon-devel
  17. BuildRequires: libnotify-devel
  18. BuildRequires: libmateweather-devel
  19. BuildRequires: gtk3-devel >= 3.14
  20. BuildRequires: gtksourceview3-devel
  21. BuildRequires: pygobject3-devel
  22. BuildRequires: libSM-devel
  23. BuildRequires: libwnck3-devel
  24. BuildRequires: libgtop2-devel
  25. BuildRequires: dbus-devel
  26. BuildRequires: polkit-devel
  27. BuildRequires: NetworkManager-devel
  28. BuildRequires: upower-devel
  29. BuildRequires: popt-devel
  30. BuildRequires: gtk-doc
  31. BuildRequires: itstool
  32. BuildRequires: autoconf
  33. BuildRequires: automake
  34. BuildRequires: kernel-tools-libs-devel
  35. Requires(posttrans,postun): glib2
  36. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  37. Vendor: Project Vine
  38. Distribution: Vine Linux
  39. Packager: Takemikaduchi, iwaim
  40. %description
  41. MATE (GNU Network Object Model Environment) is a user-friendly
  42. set of applications and desktop tools to be used in conjunction with a
  43. window manager for the X Window System. MATE is similar in purpose and
  44. scope to CDE and KDE, but MATE is based completely on Open Source
  45. software. The mate-applets package provides Panel applets which
  46. enhance your MATE experience.
  47. %prep
  48. %setup -q
  49. %build
  50. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  51. %configure \
  52. --libexecdir=%{_libexecdir}/mate \
  53. --disable-static \
  54. --with-cpufreq-lib=cpupower
  55. %{__make} %{?_smp_mflags}
  56. %install
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  59. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  60. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  61. %find_lang %{name}
  62. %clean
  63. %{__rm} -rf ${RPM_BUILD_ROOT}
  64. %post -p /sbin/ldconfig
  65. %postun
  66. /sbin/ldconfig
  67. if [ $1 -eq 0 ]; then
  68. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  69. fi
  70. %posttrans
  71. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  72. %files -f %{name}.lang
  73. %defattr(-,root,root,-)
  74. %doc COPYING* ChangeLog NEWS README
  75. %{_sysconfdir}/dbus-1/system.d/org.mate.CPUFreqSelector.conf
  76. %{_sysconfdir}/sound/events/mate-battstat_applet.soundlist
  77. %{_bindir}/mate-cpufreq-selector
  78. #%{_bindir}/mate-invest-chart
  79. %{_libexecdir}/mate/accessx-status-applet
  80. %{_libexecdir}/mate/battstat-applet
  81. %{_libexecdir}/mate/command-applet
  82. #%{_libexecdir}/mate/invest-applet
  83. %{_libexecdir}/mate/mate-charpick-applet
  84. %{_libexecdir}/mate/mate-cpufreq-applet
  85. %{_libexecdir}/mate/mate-drivemount-applet
  86. %{_libexecdir}/mate/mate-geyes-applet
  87. %{_libexecdir}/mate/mate-multiload-applet
  88. %{_libexecdir}/mate/mate-netspeed-applet
  89. %{_libexecdir}/mate/mateweather-applet
  90. %{_libexecdir}/mate/stickynotes-applet
  91. %{_libexecdir}/mate/timer-applet
  92. %{_libexecdir}/mate/trashapplet
  93. #%{python_sitelib}/mate_invest
  94. %{_datadir}/dbus-1/services/*.service
  95. %{_datadir}/dbus-1/system-services/org.mate.CPUFreqSelector.service
  96. %{_datadir}/glib-2.0/schemas/org.mate.drivemount.gschema.xml
  97. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.battstat.gschema.xml
  98. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.charpick.gschema.xml
  99. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.command.gschema.xml
  100. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.cpufreq.gschema.xml
  101. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.geyes.gschema.xml
  102. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.multiload.gschema.xml
  103. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.netspeed.gschema.xml
  104. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.timer.gschema.xml
  105. %{_datadir}/glib-2.0/schemas/org.mate.stickynotes.gschema.xml
  106. %{_datadir}/icons/hicolor/*/*/*
  107. %{_datadir}/help/*
  108. %{_datadir}/%{name}
  109. %{_datadir}/mate-panel/applets/*
  110. %{_datadir}/mate/ui/accessx-status-applet-menu.xml
  111. %{_datadir}/mate/ui/battstat-applet-menu.xml
  112. %{_datadir}/mate/ui/charpick-applet-menu.xml
  113. %{_datadir}/mate/ui/cpufreq-applet-menu.xml
  114. %{_datadir}/mate/ui/drivemount-applet-menu.xml
  115. %{_datadir}/mate/ui/geyes-applet-menu.xml
  116. %{_datadir}/mate/ui/mateweather-applet-menu.xml
  117. %{_datadir}/mate/ui/multiload-applet-menu.xml
  118. %{_datadir}/mate/ui/netspeed-menu.xml
  119. %{_datadir}/mate/ui/stickynotes-applet-menu.xml
  120. %{_datadir}/mate/ui/trashapplet-menu.xml
  121. %{_datadir}/pixmaps/mate-cpufreq-applet
  122. %{_datadir}/polkit-1/actions/org.mate.cpufreqselector.policy
  123. %{_mandir}/man1/*.1.gz
  124. %changelog
  125. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.3-1
  126. - update to 1.20.3.
  127. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1
  128. - update to 1.20.1
  129. - drop invest-applet: upstream dropped
  130. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  131. - update to 1.18.1
  132. - move to GTK3+
  133. - drop BR: mate-icon-theme
  134. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  135. - new upstream release
  136. - drop BuildRequires: mate-doc-utils
  137. - update License
  138. - update Packager
  139. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  140. - new upstream release
  141. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  142. - new upstream release
  143. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  144. - new upstream release
  145. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1
  146. - new upstream release
  147. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  148. - new upstream release
  149. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  150. - new upstream release
  151. - add BuildRequires: gtksourceview2-devel, pygobject3-devel
  152. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  153. - new upstream release
  154. * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-3
  155. - rebuild with upower-0.99.1
  156. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  157. - rebuild with libgtop2-2.30.0
  158. * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  159. - new upstream release
  160. - change BuildRequires: libwnck-devel instead of libmatewnck-devel
  161. - add BuildRequires: itstool
  162. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  163. - rebuild with VineSeed environment
  164. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  165. - new upstream release
  166. - remove BuildRequires: mate-conf-devel, libmatenotiry-devel
  167. - add BuildRequires: libnotify-devel
  168. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  169. - new upstream release
  170. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  171. - add BuildRequires: upower-devel
  172. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
  173. - new upstream release
  174. - remove Patch0
  175. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  176. - change category
  177. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  178. - initial build for Vine Linux