mate-session-manager-vl.spec 4.6 KB

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