xorg-x11-xinit-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. %define pkgname xinit
  2. Summary: X.Org X11 X Window System xinit startup scripts
  3. Summary(ja): X.Org X11 X ウィンドウシステム xinit スタートアップスクリプト
  4. Name: xorg-x11-%{pkgname}
  5. Version: 1.2.0
  6. Release: 1%{?_dist_release}
  7. License: MIT/X11
  8. Group: User Interface/X
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/app/%{pkgname}-%{version}.tar.bz2
  11. Source10: xinitrc-common
  12. Source11: xinitrc
  13. Source12: Xclients
  14. Source13: Xmodmap
  15. Source14: Xresources
  16. # NOTE: Xsession is used by xdm/kdm/gdm and possibly others, so we keep it
  17. # here instead of the xdm package.
  18. Source16: Xsession
  19. Source17: localuser.sh
  20. Source100: ck-xinit-session.c
  21. Patch1: xinit-1.0.2-client-session.patch
  22. Patch10: xinit-1.0.7-vine.patch
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  24. BuildRequires: pkgconfig
  25. BuildRequires: libX11-devel
  26. BuildRequires: ConsoleKit-devel
  27. BuildRequires: autoconf
  28. BuildRequires: automake
  29. BuildRequires: libtool
  30. BuildRequires: xorg-x11-util-macros
  31. # NOTE: startx needs xauth in order to run, but that is not picked up
  32. # automatically by rpm. (Bug #173684)
  33. Requires: xauth
  34. # next two are for localuser.sh
  35. Requires: coreutils
  36. Requires: xorg-x11-server-utils
  37. Requires: ConsoleKit-x11
  38. Requires: ConsoleKit-libs
  39. Requires: dbus-x11
  40. # NOTE: xinit, startx moved to xorg-x11-xinit during the X.Org X11R7
  41. # modularization. These Obsoletes lines ensure upgrades work smoothly.
  42. Obsoletes: XFree86, XOrg
  43. # NOTE: Most of the xinitrc scripts/config files are now in xorg-x11-xinit,
  44. # so the xinitrc package became unnecessary. The xdm configs/scripts move
  45. # to the xdm package.
  46. Obsoletes: xinitrc
  47. Provides: xinitrc
  48. %description
  49. X.Org X11 X Window System xinit startup scripts
  50. %description -l ja
  51. X.Org X11 X Window System の xinit スタートアップ・スクリプト
  52. %prep
  53. %setup -q -n %{pkgname}-%{version}
  54. %patch1 -p1 -b .client-session
  55. %patch10 -p1 -b .vine
  56. %build
  57. autoreconf -i
  58. %configure
  59. # FIXME: Upstream should default to XINITDIR being this. Make a patch to
  60. # Makefile.am and submit it in a bug report or check into CVS.
  61. make XINITDIR=/etc/X11/xinit
  62. %{__cc} -o ck-xinit-session \
  63. `pkg-config --cflags ck-connector` $RPM_OPT_FLAGS \
  64. $RPM_SOURCE_DIR/ck-xinit-session.c \
  65. `pkg-config --libs ck-connector`
  66. %install
  67. rm -rf $RPM_BUILD_ROOT
  68. # FIXME: Upstream should default to XINITDIR being this. Make a patch to
  69. # Makefile.am and submit it in a bug report or check into CVS.
  70. %makeinstall XINITDIR=$RPM_BUILD_ROOT/etc/X11/xinit
  71. install -m755 ck-xinit-session $RPM_BUILD_ROOT/%{_bindir}
  72. # Install custom xinitrc, etc.
  73. {
  74. for script in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE16} ; do
  75. install -m 755 $script $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/${script##*/}
  76. done
  77. install -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xmodmap
  78. install -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xresources
  79. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
  80. install -m 755 %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/localuser.sh
  81. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/Xclients.d
  82. }
  83. %clean
  84. rm -rf $RPM_BUILD_ROOT
  85. %files
  86. %defattr(-,root,root,-)
  87. %doc AUTHORS COPYING README NEWS ChangeLog
  88. %{_bindir}/startx
  89. %{_bindir}/xinit
  90. %{_bindir}/ck-xinit-session
  91. %dir %{_sysconfdir}/X11
  92. %dir %{_sysconfdir}/X11/xinit
  93. %{_sysconfdir}/X11/xinit/xinitrc
  94. %{_sysconfdir}/X11/xinit/xinitrc-common
  95. %config(noreplace) %{_sysconfdir}/X11/Xmodmap
  96. %config(noreplace) %{_sysconfdir}/X11/Xresources
  97. %dir %{_sysconfdir}/X11/xinit/Xclients.d
  98. %{_sysconfdir}/X11/xinit/Xclients
  99. %{_sysconfdir}/X11/xinit/Xsession
  100. %dir %{_sysconfdir}/X11/xinit/xinitrc.d
  101. %{_sysconfdir}/X11/xinit/xinitrc.d/*
  102. #%dir %{_mandir}/man1
  103. %{_mandir}/man1/startx.1*
  104. %{_mandir}/man1/xinit.1*
  105. %changelog
  106. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  107. - new upstream release
  108. * Sun Jul 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-3
  109. - add Requires: dbus-x11
  110. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-2
  111. - add LXDE to Xclients
  112. * Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1
  113. - new upstream release
  114. * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2
  115. - fix typo in Xsession (<BTS:644>)
  116. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
  117. - new upstream release
  118. * Fri Jun 27 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.7-3
  119. - spec in UTF-8
  120. - modify Source16: add CK_XINIT_SESSION calls
  121. * Fri May 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-2
  122. - add Patch10 to set display resolution.
  123. * Thu May 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1
  124. - initial build for Vine Linux
  125. * Fri Oct 12 2007 Nalin Dahyabhai <nalin@redhat.com> 1.0.7-2
  126. - Try opening the console-kit session after the user's UID has already
  127. been granted access to the server by localuser.sh, so that console-kit-daemon
  128. can connect and ask the server for information just by having switch to the
  129. user's UID (#287941).
  130. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.0.7-1
  131. - xinit 1.0.7
  132. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-27
  133. - Rebuild for build id
  134. * Mon Aug 6 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-26
  135. - Bump release
  136. * Mon Aug 6 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-25
  137. - Fix typo: s/unask/umask/ - Bug 250882, Jan ONDREJ (ondrejj@salstar.sk)
  138. * Thu Aug 2 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-24
  139. - Fix bug 212167, CVE-2006-5214
  140. * Sun Jul 29 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-23
  141. - Fix Xsession to run the login shell inside the setgid ssh-agent, rather
  142. than the other way around. This preserves LD_LIBRARY_PRELOAD.
  143. Patch from Stefan Becker, bug 164869.
  144. * Fri Jul 27 2007 Soren Sandmann <sandmann@redhat.com> 1.0.2-22
  145. - Remove xinput.sh. Bug 244963.
  146. * Mon May 21 2007 Adam Jackson <ajax@redhat.com> 1.0.2-21
  147. - localuser.sh: Run silently.
  148. * Sat Apr 22 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-20
  149. - Don't install INSTALL
  150. * Thu Apr 19 2007 Warren Togami <wtogami@redhat.com> 1.0.2-19
  151. - disable SCIM by default in non-Asian languages #237054
  152. If you want to use SCIM, use im-chooser to enable it.
  153. * Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-18
  154. - Man pages are now in section 1, not in section 1x
  155. * Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-17
  156. - Also BR xorg-x11-util-macros since we autoreconf
  157. * Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> 1.0.2-16
  158. - Add ConsoleKit support (#233183)
  159. * Mon Nov 27 2006 Adam Jackson <ajax@redhat.com> 1.0.2-15
  160. - Bump EVR to fix 6 to 7 updates.
  161. * Fri Nov 10 2006 Ray Strode <rstrode@redhat.com> - 1.0.2-14
  162. - start client in its own session with no controlling tty
  163. (bug 214649)
  164. * Mon Oct 23 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-13
  165. - Update Xsession to not use switchdesk for the hard coded kde and twm
  166. cases.
  167. * Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-12
  168. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  169. * Mon Sep 25 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-11.fc6
  170. - Bump and rebuild.
  171. * Mon Sep 25 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-10.fc6
  172. - Move hardcoded xsetroot background color to fallback cases (#205901).
  173. * Thu Aug 17 2006 Kristian H淡gsberg <krh@redhat.com> - 1.0.2-9.fc6
  174. - Start ssh-agent for startx also (#169259).
  175. * Sat Jul 22 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-8.fc6
  176. - Fix SourceN line for localuser.sh to not collide.
  177. * Fri Jul 21 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-7.fc6
  178. - Added localuser.sh.
  179. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-6.fc6
  180. - Added fix to Xclients script, based on patch from bug (#190799)
  181. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-5.1.fc6
  182. - rebuild
  183. * Wed Jul 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-5.fc6
  184. - Implemented changes to xinput.sh based on suggestions from (#194458)
  185. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-4
  186. - Added documentation to doc macro.
  187. * Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3
  188. - Added xinit-1.0.2-setuid.diff to fix potential security issue (#196094)
  189. * Tue Jun 06 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
  190. - Added "BuildRequires: pkgconfig" for bug (#194187)
  191. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  192. - Update xinit to 1.0.2
  193. * Thu Feb 16 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  194. - Change Conflicts to Obsoletes for xorg-x11 and XFree86 (#181414)
  195. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  196. - bump again for double-long bug on ppc(64)
  197. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  198. - rebuilt for new gcc4.1 snapshot and glibc changes
  199. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  200. - Updated to xinit 1.0.1 from X11R7.0
  201. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  202. - Updated to xinit 1.0.0 from X11R7 RC4.
  203. - Changed manpage dir from man1x to man1 to match upstream default.
  204. * Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-6
  205. - Add "Requires: xauth" for startx, to fix bug (#173684)
  206. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.3-5
  207. - Do not provide xinit anymore, gdm has been fixed and that breaks things
  208. with the obsoletes
  209. * Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-4
  210. - Added Xsession script from xinitrc, as it is very similar codebase, which
  211. shares "xinitrc-common" anyway, and all of the display managers use it.
  212. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-3
  213. - Updated to xinit 0.99.3 from X11R7 RC2.
  214. * Mon Nov 07 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
  215. - Added "Provides: xinitrc = 5.0.0-1" for temporary compatibility between
  216. monolithic and modular X. This will be removed however for FC5.
  217. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  218. - Import custom Red Hat xinit scripts from xinitrc package.
  219. - Obsolete xinitrc package, as we include the scripts/configs here now.
  220. - Fix all scripts/configs to avoid the now obsolete /usr/X11R6 prefix.
  221. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  222. - Updated to xinit 0.99.2 from X11R7 RC1.
  223. - Change manpage location to 'man1x' in file manifest.
  224. * Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  225. - Use Fedora-Extras style BuildRoot tag.
  226. - Update BuildRequires to use new library package names.
  227. - Tidy up spec file a bit.
  228. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  229. - Initial build.