Xautoconfig-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. %define version 0.23
  2. Summary: xorg.conf file generator for the X Window System.
  3. Summary(ja): X Window System 用 xorg.conf ファイル生成ツール
  4. Name: Xautoconfig
  5. Version: %{version}
  6. Release: 1vl12
  7. License: distributable
  8. Group: User Interface/X Hardware Support
  9. Source: ftp://www.penguinppc.org/projects/xautocfg/%{name}-%{version}.tar.gz
  10. Patch0: Xautoconfig.c.patch
  11. Patch1: Xautoconfig.pci.c.patch
  12. Patch2: Xautoconfig-mods.patch
  13. Patch3: Xautoconfig-0.23-modeline.patch
  14. Patch4: Xautoconfig-0.23-pm112.patch
  15. Patch100: %{name}-%{version}-vine12.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. #Requires: XOrg >= 6.9
  18. Obsoletes: Xautoconfig4
  19. Conflicts: cairo < 1.2.2-0vl3
  20. %description
  21. Xautoconfig generates a valid xorg.conf file under any hardware
  22. setup that is using the Linux framebuffer.
  23. %description -l ja
  24. Xautoconfig は、フレームバッファを使って起動されたシステムで
  25. xorg.conf 設定ファイルを生成するツールです。
  26. %prep
  27. %setup -q
  28. %patch0 -p0
  29. %patch1 -p1
  30. %patch2 -p1
  31. %patch3 -p1
  32. %patch4 -p1
  33. %patch100 -p1
  34. %build
  35. export CFLAGS="$RPM_OPT_FLAGS"
  36. make
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin
  40. install -m755 Xautoconfig $RPM_BUILD_ROOT/usr/X11R6/bin/Xautoconfig
  41. pushd $RPM_BUILD_ROOT/usr/X11R6/bin
  42. ln -s Xautoconfig Xautoconfig4
  43. popd
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root)
  48. %doc COPYING
  49. /usr/X11R6/bin/Xautoconfig
  50. /usr/X11R6/bin/Xautoconfig4
  51. %changelog
  52. * Wed Oct 18 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl12
  53. - modify Patch100 (disable fbdev driver for ati rage cards)
  54. * Tue Sep 19 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl11
  55. - modify Patch100
  56. cairo-1.2.2-0vl3 now can handle 15bpp,
  57. so depth is set to 15 when anaconda == 1
  58. * Sun Sep 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl10
  59. - modify Patch100 (handle PCI_CLASS_DISPLAY_OTHER)
  60. * Sun Sep 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl9
  61. - minor fix (interactive mode is now obsolete)
  62. * Sat Sep 09 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl8
  63. - modified Patch100 (don't use UseMode)
  64. - do not actually require XOrg (although it doesn't mean a thing)
  65. * Mon Sep 04 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl6
  66. - modified Patch100 (revert the change on 0.23-1vl4)
  67. * Mon Sep 04 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl5
  68. - modified Patch100 (revert depth from 15 to 16 when anaconda == 1)
  69. * Mon Sep 04 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl4
  70. - modified Patch100 (fbdev = 0 even when anaconda==1)
  71. * Mon Sep 04 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl3
  72. - modified Patch100 (more safe XConfig.test when anaconda==1)
  73. * Sun Sep 03 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl2
  74. - modified Patch100 (depth is always 15 when anaconda==1)
  75. * Sun Sep 03 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.23-1vl1
  76. - added Patch100 for Vine Linux
  77. * Fri Oct 7 2005 Owen Stampflee <ostampflee@terrasoftsolutions.com>
  78. - dont write modes, X works better without 'em
  79. * Wed Sep 14 2005 Dan Burcaw <dan@ydl.net>
  80. - no longer try to load glx & record modules
  81. - updated spec summary & description for xorg
  82. * Thu Sep 8 2005 Owen Stampflee <ostampflee@terrasoftsolutions.com>
  83. - re-add the old patch to write xorg.conf
  84. * Wed Aug 10 2005 Tim Renner <trenner@terrasoftsolutions.com>
  85. - Fix byte/word problem in pci.c w/ pci.c.patch
  86. * Mon Sep 27 2004 Owen Stampflee <ostampflee@terrasoftsolutions.com>
  87. - fix breakage
  88. * Sun Sep 26 2004 Dan Burcaw <dan@ydl.net>
  89. - 0.23
  90. * Fri Aug 29 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  91. - 0.22
  92. * Sun Mar 16 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  93. - 0.21
  94. * Wed Mar 12 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  95. - 0.20
  96. * Mon Mar 10 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  97. - a few more anaconda cleanups
  98. * Sat Mar 08 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  99. - a few more anaconda cleanups
  100. * Fri Mar 07 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  101. - write config /tmp/XF86Config.test in anaconda mode
  102. * Mon Mar 03 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  103. - 0.19 release
  104. * Sun Mar 02 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  105. - 0.18 release
  106. * Sat Feb 22 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  107. - fixed requires mouseconfig/kbdconfig -> r-c-mouse/keyboard
  108. * Mon Jan 27 2003 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  109. - minor cosmetic fix
  110. * Sat Oct 26 2002 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  111. - 0.17 release
  112. * Thu Oct 17 2002 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  113. - don't provide Xconfigurator; conflicts with redhat-config-xfree86
  114. * Sat Oct 12 2002 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  115. - provide anaconda subpackage for YDL
  116. * Fri Oct 11 2002 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  117. - update to 0.16 release
  118. - don't ship rc script or perl script.
  119. - various changes, see ChangeLog
  120. * Sun Feb 24 2002 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  121. - update to 0.15 release
  122. * Thu Oct 11 2001 Dan Burcaw <dburcaw@terrasoftsolutions.com>
  123. - 0.14: last merge from Rini before maintainer change.
  124. * Wed Dec 20 2000 Tom Rini <trini@kernel.crashing.org>
  125. - Add Xautoconfig.initd
  126. * Sun Dec 10 2000 Tom Rini <trini@kernel.crashing.org>
  127. - Add Xautoconfig_wrapper.pl
  128. * Fri Nov 24 2000 Tom Rini <trini@kernel.crashing.org>
  129. - Updates for Xautoconfig{3,4}
  130. * Wed Aug 04 1999 Tom Rini <trini@kernel.crashing.org>
  131. - created