xorg-x11-xdm-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. %define pkgname xdm
  2. Summary: X.Org X11 xdm - X Display Manager
  3. Summary(ja): X.Org X11 xdm - X ディスプレイマネージャ
  4. Name: xorg-x11-%{pkgname}
  5. Version: 1.1.9
  6. Release: 1%{?_dist_release}
  7. License: MIT/X11
  8. Group: User Interface/X
  9. URL: http://www.x.org
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. Source0: ftp://ftp.x.org/pub/individual/app/xdm-%{version}.tar.bz2
  12. Source1: Xsetup_0
  13. Source10: xdm.init
  14. Source11: xdm.pamd
  15. Source13: xserver.pamd
  16. # NOTE: Change xdm-config to invoke Xwilling with "-s /bin/bash" instead
  17. # of "-c" to fix bug (#86505)
  18. Patch10: xdm-1.0.1-redhat-xdm-config-fix.patch
  19. Patch11: xdm-1.0.5-sessreg-utmp-fix-bug177890.patch
  20. # FIXME: Temporary build dependencies for autotool dependence.
  21. BuildRequires: autoconf, automake, libtool
  22. BuildRequires: pkgconfig
  23. BuildRequires: xorg-x11-util-macros
  24. BuildRequires: xorg-x11-xtrans-devel
  25. BuildRequires: libXaw-devel
  26. BuildRequires: libXmu-devel
  27. BuildRequires: libXt-devel
  28. BuildRequires: libSM-devel
  29. BuildRequires: libICE-devel
  30. BuildRequires: libXext-devel
  31. BuildRequires: libXpm-devel
  32. BuildRequires: libX11-devel
  33. BuildRequires: libXdmcp-devel
  34. BuildRequires: libXau-devel
  35. BuildRequires: libXinerama-devel
  36. BuildRequires: pam-devel
  37. Provides: xdm
  38. Obsoletes: XFree86-xdm, XOrg-xdm
  39. Obsoletes: xinitrc
  40. # NOTE: xorg-x11-filesystem is required by all packages that put files into
  41. # /usr/lib/X11 or /usr/include/X11 to ensure that on OS upgrades, they are
  42. # real directories, and not symbolic links.
  43. Requires(pre): xorg-x11-filesystem
  44. Requires: pam
  45. # We want to use the system Xsession script
  46. Requires: xorg-x11-xinit
  47. %description
  48. X.Org X11 xdm - X Display Manager
  49. %description -l ja
  50. X.Org X11 xdm - X ディスプレイマネージャ
  51. %prep
  52. %setup -q -n %{pkgname}-%{version}
  53. %patch10 -p0 -b .redhat-xdm-config-fix
  54. %patch11 -p0 -b .sessreg-utmp-fix-bug177890
  55. %build
  56. # FIXME: Work around pointer aliasing warnings from compiler for now
  57. export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
  58. # NOTE: We invoke aclocal/automake/autoconf to enable the changes present in
  59. # xdm-0.99.3-xdm-app-defaults-in-datadir.patch & xdm-0.99.3-xdm-configdir.patch
  60. aclocal ; libtoolize --force ; automake ; autoconf
  61. %configure \
  62. --disable-static \
  63. --disable-xprint \
  64. --with-xdmconfigdir=%{_sysconfdir}/X11/xdm \
  65. --with-xdmscriptdir=%{_sysconfdir}/X11/xdm \
  66. --with-pixmapdir=%{_datadir}/xdm/pixmaps
  67. make %{?_smp_mflags}
  68. %install
  69. rm -rf $RPM_BUILD_ROOT
  70. make install DESTDIR=$RPM_BUILD_ROOT
  71. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  72. # should be fixed in upstream Makefile.am or whatever.
  73. find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f --
  74. install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm/Xsetup_0
  75. # Install pam xdm config files
  76. {
  77. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
  78. install -c -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xserver
  79. install -c -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xdm
  80. }
  81. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm/Xsession
  82. (cd $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm; ln -sf ../xinit/Xsession .)
  83. %clean
  84. rm -rf $RPM_BUILD_ROOT
  85. %files
  86. %defattr(-,root,root,-)
  87. %doc AUTHORS COPYING INSTALL NEWS README ChangeLog
  88. %{_bindir}/xdm
  89. %{_bindir}/xdmshell
  90. %dir %{_sysconfdir}/X11/xdm
  91. # NOTE: The Xaccess file from our "xinitrc" package had no customizations,
  92. # and was out of sync with upstream, so we ship the upstream one now.
  93. %{_sysconfdir}/X11/xdm/Xaccess
  94. %{_sysconfdir}/X11/xdm/Xresources
  95. %{_sysconfdir}/X11/xdm/Xservers
  96. %{_sysconfdir}/X11/xdm/xdm-config
  97. # NOTE: In Fedora Core 4 and earlier, most of these config files and scripts
  98. # were kept in the "xinitrc" package as forked copies, however they were
  99. # quite out of date, and did not contain anything useful, so we now ship the
  100. # upstream files and can patch them as needed to make changes.
  101. %{_sysconfdir}/X11/xdm/GiveConsole
  102. %{_sysconfdir}/X11/xdm/TakeConsole
  103. %{_sysconfdir}/X11/xdm/Xreset
  104. %{_sysconfdir}/X11/xdm/Xsession
  105. %{_sysconfdir}/X11/xdm/Xsetup_0
  106. %{_sysconfdir}/X11/xdm/Xstartup
  107. %{_sysconfdir}/X11/xdm/Xwilling
  108. # NOTE: For security, upgrades of this package will install the new pam.d
  109. # files and make backup copies by default. 'noreplace' is intentionally avoided
  110. # here.
  111. %config %attr(0644,root,root) %{_sysconfdir}/pam.d/xdm
  112. %config %attr(0644,root,root) %{_sysconfdir}/pam.d/xserver
  113. %dir %{_datadir}/X11
  114. # NOTE: We intentionally default to OS supplied file being favoured here on
  115. # OS upgrades.
  116. %config %{_datadir}/X11/app-defaults/Chooser
  117. %dir %{_datadir}/xdm
  118. %dir %{_datadir}/xdm/pixmaps
  119. %{_datadir}/xdm/pixmaps/xorg-bw.xpm
  120. %{_datadir}/xdm/pixmaps/xorg.xpm
  121. %dir %{_libdir}/X11/xdm
  122. %{_libdir}/X11/xdm/chooser
  123. %{_libdir}/X11/xdm/libXdmGreet.so
  124. %{_mandir}/man1/*.1*
  125. %changelog
  126. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-1
  127. - new upstream release
  128. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.8-1
  129. - new upstream release
  130. * Fri May 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.6-1
  131. - initial build for Vine Linux
  132. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.1.6-3
  133. - Autorebuild for GCC 4.3
  134. * Fri Aug 24 2007 Ray Strode <rstrode@redhat.com> 1:1.1.6-2
  135. - Use system Xsession script (bug 244264)
  136. * Fri Aug 17 2007 Dave Airlie <airlied@redhat.com> 1:1.1.6-1
  137. - Update to 1.1.6
  138. * Sat Aug 11 2007 Dave Airlie <airlied@redhat.com> 1:1.1.5-1
  139. - Update to 1.1.5
  140. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1:1.1.3-1
  141. - Update to 1.1.3
  142. * Mon Jul 24 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-5.fc6
  143. - Added xdm-1.0.5-sessreg-utmp-fix-bug177890.patch to restore GiveConsole to
  144. what we shipped in 6.8.2, and also fix bug (#177890)
  145. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-4.fc6
  146. - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
  147. * Mon Jul 17 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-3.fc6
  148. - Added pam_keyinit.so support to xdm.pamd and xserver.pamd (#198631)
  149. - Flag pam.d{xdm,xserver} as attr(0644,root,root) replaceable config files.
  150. - Flag app-defaults/Chooser as a replaceable config file.
  151. - Add conditional {dist} flag to Release field.
  152. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.5-2
  153. - rebuild
  154. * Wed Jun 28 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-1
  155. - Updated xdm to version 1.0.5.
  156. - Remove xdm-1.0.4-setuid.diff as it is integrated in 1.0.5
  157. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.4-4
  158. - Add missing documentation to doc macro.
  159. - Clean cruft out of specfile.
  160. * Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.4-3
  161. - Added xdm-1.0.4-setuid.diff to fix potential security issue (#196094)
  162. - Added temporary "BuildRequires: autoconf, automake, libtool" dependencies
  163. for mock builds, for as long as we need to run autotools at compile time.
  164. * Tue May 30 2006 Adam Jackson <ajackson@redhat.com> 1:1.0.4-2
  165. - Fix BuildRequires (#191858)
  166. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1:1.0.4-1
  167. - Updated to version 1.0.4
  168. * Fri Mar 31 2006 Adam Jackson <ajackson@redhat.com> 1:1.0.3-1
  169. - Updated to version 1.0.3. Forcibly relibtoolize to avoid present and future
  170. bogons on libXdmGreet.so losing the .so extension.
  171. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.2
  172. - bump again for double-long bug on ppc(64)
  173. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.1
  174. - rebuilt for new gcc4.1 snapshot and glibc changes
  175. * Mon Jan 09 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-1
  176. - Updated xdm to version 1.0.1 from X11R7.
  177. - Added --with-xdmscriptdir option to ./configure to put scripts in /etc
  178. - Updated xdm-1.0.1-redhat-xdm-config-fix.patch to work with xdm 1.0.1
  179. * Thu Nov 24 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-6
  180. - Updated xdm.pamd to work with recent pam changes, and bumped the minimum
  181. pam requirement up to 0.78-0 for FC5 builds. (#170661)
  182. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", as the xdm package
  183. puts files into /usr/lib/X11, so we have to make sure it is not a symlink.
  184. - Removed "filesystem" package dependency, as xorg-x11-filesystem carries
  185. that dependency now, so it can be updated in one spot.
  186. - Added missing "BuildRequires: pkgconfig".
  187. - Added xdm-0.99.3-xdm-app-defaults-in-datadir.patch to force app-defaults
  188. files to install into _datadir instead of _libdir.
  189. - Added xdm-0.99.3-xdm-scripts-in-configdir.patch to put the xdm scripts in
  190. _sysconfdir, and removed older xdm-0.99.3-xdm-configdir.patch which hacked
  191. up Makefile.in. Fixes a typo that caused Xreset to not get installed
  192. properly also.
  193. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 1:0.99.3-5
  194. - require newer filesystem package (#172610)
  195. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 1:0.99.3-4
  196. - install scripts into /etc/X11/xdm instead of %%{_libdir} (#173081)
  197. - use our Xsetup_0 instead of xorg one (#173083)
  198. * Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-3
  199. - Added "Obsoletes: xinitrc", as xdm now provides files that were previously
  200. part of that package. xorg-x11-xinit now provides the xinitrc scripts.
  201. * Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-2
  202. - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME.
  203. - Added xdm-0.99.3-redhat-xdm-config-fix.patch which merges in an
  204. xdm-config fix present in the forked Red Hat xdm-config from the FC4
  205. xinitrc package, which invokes Xwilling with "-s /bin/bash" instead
  206. of "-c" to fix bug (#86505).
  207. - Removed ancient xdm rpm preinstall script, as it should be unnecessary now.
  208. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-1
  209. - Update xdm to 0.99.3 from X11R7 RC2.
  210. * Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.3
  211. - Build with -fno-strict-aliasing to work around possible pointer aliasing
  212. issues
  213. * Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.2
  214. - It is _sysconfdir not _sysconfigdir goofball!
  215. - Add {_sysconfdir}/pam.d/xdm and {_sysconfdir}/pam.d/xserver files that were
  216. missing from file manifest.
  217. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.1
  218. - Make sure all dirs are owned that xdm creates.
  219. - Misc spec file cleanups
  220. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.0
  221. - Update xdm to 0.99.2 from X11R7 RC1.
  222. - Update to CVS snapshot from 20051031
  223. - Add Epoch 1, and change package to use the xdm version number. Later, if
  224. we decide to rename the package to "xdm", we can drop the Epoch tag.
  225. - Disable Xprint support
  226. - Use _smp_mflags
  227. - Add xdm-0.99.2-to-20051031.patch to pick up fixes from CVS head that allow
  228. us to set the config dir and other dirs.
  229. * Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-2
  230. - Use Fedora-Extras style BuildRoot tag
  231. - Update BuildRequires to use new library package names
  232. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-1
  233. - Initial build.