lxsession-lite-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Name: lxsession-lite
  2. Version: 0.3.6
  3. Release: 1%{?_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. Source1: lxsession_ja.po
  11. Source2: lxsession-LINGUAS
  12. Patch0: lxsession-lite-0.3.6-icon_search_path_fix-1.patch
  13. Patch1: lxsession-lite-0.3.6-session_name_fix.patch
  14. Patch2: lxsession-lite-0.3.6-new-gdm.patch
  15. Patch3: lxsession-lite-man.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: gtk2-devel >= 2.6 glib2-devel >= 2.6 libICE-devel libSM-devel dbus-glib-devel hal-devel
  18. BuildRequires: docbook-utils intltool gettext docbook2X
  19. Requires: dbus hal
  20. Obsoletes: lxsession <= 0.3.2
  21. Provides: lxsession = %{version}-%{release}
  22. %description
  23. LXSession Lite is a standard-compliant X11 session manager with shutdown/
  24. reboot/suspend support via HAL and gdm. It is a stripped down version of
  25. LXSession removing X11 session management.
  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 LiteはHALとgdmを介してシャットダウン/再起動/サスペンドをサポートする
  31. 標準準拠のX11セッションマネージャです。
  32. %prep
  33. %setup -q
  34. %__cp -f %{SOURCE1} po/ja.po
  35. %__cp -f %{SOURCE2} po/LINGUAS
  36. %patch0 -p1 -b .icon-path
  37. %patch1 -p1 -b .session-name
  38. %patch2 -p1 -b .new-gdm
  39. %patch3 -p1
  40. %build
  41. %configure
  42. make %{?_smp_flags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  46. %find_lang lxsession
  47. mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/xdg/lxsession
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files -f lxsession.lang
  51. %defattr(-,root,root,-)
  52. %doc AUTHORS ChangeLog COPYING README
  53. %{_bindir}/lxsession
  54. %{_bindir}/lxsession-logout
  55. %{_datadir}/lxsession/
  56. %{_mandir}/man1/lxsession*.1*
  57. # we need to own
  58. %dir %{_sysconfdir}/xdg/lxsession
  59. %changelog
  60. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.6-1
  61. - initial build for VineSeed (import from Fedora)
  62. * Thu Oct 09 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.6-2
  63. - Preserve timestamps during install
  64. * Thu Jun 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.6-1
  65. - Update to 0.3.6
  66. - Remove docbook hack
  67. * Sun Apr 20 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.5-1
  68. - Switch to LXSession lite and drop xorg-x11-xsm requirement again.
  69. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2-2
  70. - Require xorg-x11-xsm
  71. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2-1
  72. - Update to 0.3.2
  73. * Mon Mar 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0-1
  74. - Initial Fedora RPM