mate-session-manager-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. %define major_ver 1.18
  2. %define ver %{major_ver}.2
  3. %define rel 1
  4. Summary: The MATE Session Handler
  5. Name: mate-session-manager
  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
  10. Group: User Interface/Desktops
  11. URL: http://mate-desktop.org/
  12. # patch for Vine
  13. Patch1001: mate-session-manager-1.18.0-use-vine-sleep-helper.patch
  14. Patch1002: mate-session-manager-1.12.0-mate-wm.patch
  15. BuildRequires: mate-common
  16. BuildRequires: mate-desktop-devel >= 1.17.0
  17. BuildRequires: gtk3-devel
  18. BuildRequires: dbus-glib-devel
  19. BuildRequires: libSM-devel
  20. BuildRequires: libXtst-devel
  21. BuildRequires: gtk-doc
  22. BuildRequires: autoconf
  23. BuildRequires: automake
  24. BuildRequires: xorg-x11-xtrans-devel
  25. Requires: vine-sleep-helper
  26. Requires(posttrans,postun): glib2
  27. Requires(post,postun): gtk2
  28. Requires(post,postun): desktop-file-utils
  29. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  30. Vendor: Project Vine
  31. Distribution: Vine Linux
  32. Packager: Takemikaduchi, iwaim
  33. %description
  34. mate-session contains the MATE session manager, as well as a
  35. configuration program to choose applications starting on login.
  36. %prep
  37. %setup -q
  38. %patch1001 -p1 -b .vine
  39. %patch1002 -p1 -b .vine
  40. %build
  41. NOCONFIGURE=1 ./autogen.sh
  42. %configure \
  43. --disable-static \
  44. --disable-upower \
  45. --with-default-wm=mate-wm
  46. %{__make} %{?_smp_mflags}
  47. %install
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  50. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  51. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  52. %find_lang %{name}
  53. %clean
  54. %{__rm} -rf ${RPM_BUILD_ROOT}
  55. %post
  56. /sbin/ldconfig
  57. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  58. touch --no-create %{_datadir}/icons/hicolor
  59. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  60. %postun
  61. /sbin/ldconfig
  62. if [ $1 -eq 0 ]; then
  63. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  64. touch --no-create %{_datadir}/icons/hicolor
  65. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  66. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  67. fi
  68. %posttrans
  69. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  70. %files -f %{name}.lang
  71. %defattr(-,root,root,-)
  72. %doc COPYING ChangeLog NEWS README
  73. %{_bindir}/mate-session
  74. %{_bindir}/mate-session-inhibit
  75. %{_bindir}/mate-session-properties
  76. %{_bindir}/mate-session-save
  77. %{_bindir}/mate-wm
  78. %{_datadir}/applications/mate-session-properties.desktop
  79. %{_datadir}/applications/mate-wm.desktop
  80. %{_datadir}/glib-2.0/schemas/org.mate.session.gschema.xml
  81. %{_datadir}/icons/hicolor/*/*/*
  82. %{_datadir}/mate-session-manager/gsm-inhibit-dialog.ui
  83. %{_datadir}/mate-session-manager/session-properties.ui
  84. %{_datadir}/xsessions/mate.desktop
  85. %{_mandir}/man1/*.1.gz
  86. %changelog
  87. * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
  88. - update to 1.18.2
  89. * Mon Apr 3 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  90. - update to 1.18.0
  91. - update use vine-sleep-helper patch (Patch1001)
  92. - update Packager tag
  93. * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
  94. - update to 1.16.1
  95. - add BuildRequires: xorg-x11-xtrans-devel
  96. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  97. - new upstream release
  98. - update GTK+ version
  99. - BR: gtk3-devel
  100. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  101. - new upstream release
  102. * Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  103. - new upstream release
  104. - update Patch1001 (mate-session-manager-1.12.2-use-vine-sleep-helper.patch)
  105. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  106. - new upstream release
  107. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  108. - new upstream release
  109. - add Patch1002 (mate-session-manager-1.12.0-mate-wm.patch)
  110. * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-3
  111. - add configure option (--with-default-wm=mate-wm)
  112. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-2
  113. - add Patch1001 (mate-session-manager-1.10.2-use-vine-sleep-helper.patch)
  114. - add Requires: vine-sleep-helper
  115. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  116. - new upstream release
  117. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  118. - new upstream release
  119. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  120. - new upstream release
  121. - add BuildRequires: mate-desktop-devel
  122. * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  123. - remove BuildRequires: libupower09-devel
  124. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  125. - new upstream release
  126. - add BuildRequires: libupower09-devel
  127. - remove BuildRequires: upower-devel
  128. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  129. - rebuild with VineSeed environment
  130. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  131. - new upstream release
  132. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  133. - new upstream release
  134. - remove BuildRequires: mate-conf-devel
  135. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  136. - new upstream release
  137. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
  138. - new upstream release
  139. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  140. - change category
  141. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  142. - initial build for Vine Linux