lxsession-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Name: lxsession
  2. Version: 0.4.6.1
  3. Release: 2%{?_dist_release}
  4. Summary: Lightweight X11 session manager
  5. Summary(ja): 軽量な X11 セッションマネージャ
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://lxde.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  10. Patch0: lxsession-0.4.6-dsofix.patch
  11. #Patch1: 01_fix_free_name.patch
  12. Patch2: 04_fix-ltsp-shutdown-reboot.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gtk2-devel >= 2.6 glib2-devel >= 2.6 libICE-devel libSM-devel dbus-glib-devel
  15. BuildRequires: docbook-utils intltool gettext
  16. Requires: dbus
  17. Obsoletes: lxsession-lite < 0.3.8
  18. Provides: lxsession = %{version}-%{release}
  19. # lxde-settings-daemon was merged into lxsession
  20. Obsoletes: lxde-settings-daemon <= 0.4.1
  21. Provides: lxde-settings-daemon = %{version}
  22. %description
  23. LXSession is a standard-compliant X11 session manager with shutdown/
  24. reboot/suspend support via HAL. In connection with gdm it also supports user
  25. switching.
  26. LXSession is derived from XSM and is developed as default X11 session manager
  27. of LXDE, the Lightweight X11 Desktop Environment. Though being part of LXDE,
  28. it's totally desktop-independent and only has few dependencies.
  29. %description -l ja
  30. LXSession は HAL を介してシャットダウン/再起動/サスペンドをサポートする
  31. 標準準拠の X11 セッションマネージャです。
  32. %prep
  33. %setup -q
  34. %patch0 -p1 -b .dsofix
  35. #%patch1 -p1
  36. %patch2 -p1
  37. %build
  38. %configure
  39. make %{?_smp_flags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  43. %find_lang lxsession
  44. mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/xdg/lxsession
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files -f lxsession.lang
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS ChangeLog COPYING README desktop.conf.example
  50. %{_bindir}/lxlock
  51. %{_bindir}/lxsession
  52. %{_bindir}/lxsession-logout
  53. %{_datadir}/lxsession/
  54. %{_mandir}/man1/lxsession*.1*
  55. # we need to own
  56. %dir %{_sysconfdir}/xdg/lxsession
  57. %changelog
  58. * Sat Aug 09 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.6.1-2
  59. - rebuilt with current environment
  60. * Thu Jul 28 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.6.1-1
  61. - new upstream release
  62. - dropt patch1
  63. * Tue Jul 26 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.6-1
  64. - Update to 0.4.6
  65. - recreated Patch0
  66. - added Patch1,2 from Ubuntu Oneiric
  67. - dropt BuildRequires: hal-devel
  68. - dropt Requires: hal
  69. * Sat Nov 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.5-1
  70. - Update to 0.4.5
  71. - fixed and changed description
  72. - dropt BuildRequires: docbook2X
  73. - changed Provides: lxde-settings-daemon = %%{version}
  74. - included desktop.conf.example in %%files
  75. * Thu May 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.4-1
  76. - Update to 0.4.4
  77. * Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.3-1
  78. - Update to 0.4.3
  79. * Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-2
  80. - applied new naming policy to spec
  81. * Wed Mar 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-1
  82. - Update to 0.4.2
  83. * Thu Mar 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1
  84. - Update to 0.4.1
  85. - clean up spec
  86. - added Patch0 from Fedora
  87. - added Obsoletes: lxde-settings-daemon <= 0.4.1
  88. - added Provides: lxde-settings-daemon = 0.4.1
  89. - Because lxde-settings-daemon was merged into lxsession
  90. * Tue May 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.8-1
  91. - Update to 0.3.8
  92. - renamed lxsession (because upstream renamed)
  93. - Source0,1 and all Patches dropped
  94. - chaned Obsoletes: lxsession-lite < 0.3.8
  95. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.6-1
  96. - initial build for VineSeed (import from Fedora)
  97. * Thu Oct 09 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.6-2
  98. - Preserve timestamps during install
  99. * Thu Jun 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.6-1
  100. - Update to 0.3.6
  101. - Remove docbook hack
  102. * Sun Apr 20 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.5-1
  103. - Switch to LXSession lite and drop xorg-x11-xsm requirement again.
  104. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2-2
  105. - Require xorg-x11-xsm
  106. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2-1
  107. - Update to 0.3.2
  108. * Mon Mar 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-1
  109. - Initial Fedora RPM