lxdm-vl.spec 4.6 KB

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