lxdm-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. # Review at https://bugzilla.redhat.com/show_bug.cgi?id=540034
  2. #%global alphatag 20091231svn2262
  3. Name: lxdm
  4. Version: 0.4.1
  5. Release: 3%{?_dist_release}
  6. Summary: Lightweight X11 Display Manager
  7. Summary(ja): 軽量な X11 ディスプレイマネージャ
  8. Group: User Interface/Desktops
  9. License: GPLv2+ and LGPLv2+
  10. URL: http://lxde.org
  11. Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  12. Patch0: lxdm_config.patch
  13. Patch1: fix_nullpointer_dereference.patch
  14. Patch10: lxdm-0.4.1-fix-event-check-bug.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: glib2-devel
  17. BuildRequires: gtk2-devel >= 2.12.0
  18. BuildRequires: ConsoleKit-devel
  19. BuildRequires: gettext
  20. BuildRequires: intltool >= 0.40.0
  21. BuildRequires: iso-codes
  22. BuildRequires: libX11-devel
  23. BuildRequires: libXmu-devel
  24. BuildRequires: pam-devel
  25. BuildRequires: perl-XML-Parser
  26. Requires: pam
  27. Requires: /sbin/shutdown
  28. #Requires: desktop-backgrounds
  29. # needed for anaconda to boot into runlevel 5 after install
  30. Provides: service(graphical-login)
  31. %description
  32. LXDM is the future display manager of LXDE, the Lightweight X11 Desktop
  33. environment. It is designed as a lightweight alternative to replace GDM or
  34. KDM in LXDE distros. It's still in very early stage of development.
  35. %description -l ja
  36. LXDM は LXDE - Lightweight X11 Desktop environment - の次世代型
  37. ディスプレイマネージャです。これは LXDE のディストリビューションで
  38. GDM あるいは KDM を置き換える軽量化の代替手段として設計されています。
  39. LXDM はまだ開発のごく初期の段階にあります。
  40. %prep
  41. %setup -q
  42. %patch0 -p1
  43. %patch1 -p1
  44. %patch10 -p1
  45. %build
  46. %configure
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf %{buildroot}
  50. make install DESTDIR=%{buildroot}
  51. cd ${RPM_BUILD_ROOT}/%{_sysconfdir}/lxdm
  52. rm -rf LoginReady PostLogin PreLogin PostLogout PreReboot PreShutdown
  53. cd -
  54. # these files are not in the package, but should be owned by lxdm
  55. touch %{buildroot}%{_sysconfdir}/%{name}/xinitrc
  56. mkdir -p %{buildroot}%{_localstatedir}/run
  57. touch %{buildroot}%{_localstatedir}/run/%{name}.pid
  58. mkdir -p %{buildroot}%{_localstatedir}/log
  59. touch %{buildroot}%{_localstatedir}/log/%{name}.log
  60. %find_lang %{name}
  61. %clean
  62. rm -rf %{buildroot}
  63. %files -f %{name}.lang
  64. %defattr(-,root,root,-)
  65. %doc AUTHORS COPYING README TODO gpl-2.0.txt lgpl-2.1.txt
  66. %dir %{_sysconfdir}/lxdm
  67. %ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/xinitrc
  68. %config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/Xsession
  69. %config %{_sysconfdir}/%{name}/lxdm.conf
  70. %config(noreplace) %{_sysconfdir}/pam.d/%{name}
  71. %{_sbindir}/%{name}
  72. %{_sbindir}/lxdm-binary
  73. %{_bindir}/%{name}-config
  74. %{_libexecdir}/lxdm-greeter-gdk
  75. %{_libexecdir}/lxdm-greeter-gtk
  76. %{_libexecdir}/lxdm-numlock
  77. %{_datadir}/%{name}/
  78. %ghost %{_localstatedir}/run/%{name}.pid
  79. %ghost %{_localstatedir}/log/%{name}.log
  80. %changelog
  81. * Sat Sep 06 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.4.1-3
  82. - rebuilt with current environment
  83. * Mon May 13 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.1
  84. - applied lxdm-0.4.1-fix-event-check-bug.patch from upstream
  85. - fix event check bug caused cpu 100%
  86. * Sat Aug 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1
  87. - new upstream release
  88. - added patch0 to configure default setting
  89. - dropt Requires: desktop-backgrounds
  90. - added BuildRequires: glib2-devel, libX11-devel
  91. * Thu Sep 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
  92. - new upstream release
  93. * Sat May 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
  94. - new upstream release
  95. - added BuildRequires: gettext, perl-XML-Parser, iso-codes
  96. - almost improved %files section
  97. * Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-3
  98. - applied new naming policy to spec
  99. * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-2
  100. - dropt Patch10
  101. - added Japanese description
  102. - added %doc in %files section
  103. * Tue Feb 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
  104. - initial build for VineSeed
  105. * Fri Jan 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
  106. - Update to 0.1.0
  107. - Change license to GPLv2+ and LGPLv2+
  108. - Use tty1 by default
  109. - PAM fixes for SELinux (#552885)
  110. * Mon Nov 16 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.2.20091116svn2145
  111. - Review fixes
  112. * Mon Nov 16 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091116svn2145
  113. - Update to SVN release 2145
  114. * Thu Nov 05 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091105svn2132
  115. - Update to SVN release 2132
  116. * Sat Oct 31 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091031svn2100
  117. - Update to SVN release 2100
  118. * Tue Oct 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091020svn2082
  119. - Update to SVN release 2082
  120. * Fri Sep 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.2-1
  121. - Initial Fedora package