mate-session-manager-vl.spec 3.2 KB

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