lxdm-vl.spec 4.6 KB

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