xorg-x11-xdm-vl.spec 11 KB

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