xorg-x11-xdm-vl.spec 11 KB

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