mate-session-manager-vl.spec 4.1 KB

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