xorg-x11-xdm-vl.spec 11 KB

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