rhpxl-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Summary: Python library for configuring and running X
  3. Summary(ja): X の設定と実行のための Python ライブラリ
  4. Name: rhpxl
  5. URL: http://fedoraproject.org/wiki/rhpxl
  6. Version: 1.9
  7. Release: 6%{?_dist_release}
  8. Source0: https://fedorahosted.org/releases/r/h/%{name}/%{name}-%{version}.tar.gz
  9. License: GPLv2
  10. Group: System Environment/Libraries
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: python-devel, gettext, libXrandr-devel, libX11-devel
  13. BuildRequires: libXrender-devel
  14. ExcludeArch: s390 s390x
  15. Requires: python, rhpl >= 0.216-4, newt, hwdata
  16. Requires: pyxf86config >= 0.3.31, xorg-x11-server-Xorg
  17. Patch10: rhpxl-1.9-pmac.patch
  18. %description
  19. The rhpxl (pronounced 'rapunzel') package contains a Python library for
  20. configuring and running X.
  21. %prep
  22. %setup -q
  23. %patch10 -p1 -b .pmac
  24. %build
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf %{buildroot}
  28. make DESTDIR=${RPM_BUILD_ROOT} install
  29. %find_lang %name
  30. %clean
  31. rm -rf %{buildroot}
  32. %files -f %{name}.lang
  33. %defattr(-,root,root,-)
  34. %doc README COPYING
  35. %{python_sitearch}/rhpxl
  36. %{python_sitearch}/*egg-info
  37. %changelog
  38. * Wed Mar 31 2010 Shu KONNO <owa@bg.wakwak.com> 1.9-6
  39. - updated release number
  40. - import Vine5.1 changes
  41. * Wed Jan 27 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-5
  42. - add BuildRequires: libXrender-devel
  43. * Wed Sep 9 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9-4
  44. - update Patch10: use SWcursor on ppc w/ radeon driver for better stability
  45. * Wed Sep 9 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9-3
  46. - update Patch10: don't specify drivers on iMac G3
  47. * Wed Sep 9 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9-2
  48. - add Patch10:
  49. don't set "UseFBDev" to "true" on ppc w/ radeon/r128/ati drivers anymore
  50. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.9-2
  51. - rebuilt with python-2.6.4
  52. * Tue Aug 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9-1
  53. - initial build for Vine Linux
  54. * Mon Aug 04 2008 Adam Jackson <ajax@redhat.com> 1.9-2
  55. - Fix Source URL.
  56. * Tue Apr 15 2008 Jeremy Katz <katzj@redhat.com> - 1.9-1
  57. - Back to writing out a keyboard section (#438246)
  58. * Fri Apr 11 2008 Adam Jackson <ajax@redhat.com> 1.8-1
  59. - Patch around an implausible crash when no depths seem to be available.
  60. Just default to 24. (#374581)
  61. * Thu Apr 10 2008 Adam Jackson <ajax@redhat.com> 1.7-1
  62. - Don't blow up when dbus is unavailable. (notting)
  63. - Fix framebuffer description splitting when it has spaces. (notting)
  64. * Wed Apr 09 2008 Adam Jackson <ajax@redhat.com> 1.5-1
  65. - Redo the fbdev logic yet again. This time for sure.
  66. * Wed Apr 09 2008 Adam Jackson <ajax@redhat.com> 1.4-2
  67. - rhpxl-1.4-typing-novice.patch: It helps to spell your variables right.
  68. * Tue Apr 08 2008 Adam Jackson <ajax@redhat.com> 1.4-1
  69. - Don't assign drivers to secondary functions.
  70. - Attempt to handle fbdev machines sanely. (#437706, #441465)
  71. * Mon Apr 7 2008 Jeremy Katz <katzj@redhat.com> - 1.3-1
  72. - Fix translation traceback (#441105)
  73. * Fri Mar 28 2008 Adam Jackson <ajax@redhat.com> 1.2-1
  74. - Fix alias match API usage.
  75. * Fri Mar 28 2008 Adam Jackson <ajax@redhat.com> 1.1-1
  76. - Fix obvious brainos.
  77. * Thu Mar 27 2008 Adam Jackson <ajax@redhat.com> 1.0-1
  78. - Drastically simplify mouse setup.
  79. - Port from kudzu to hal.
  80. - Death to ddcprobe.
  81. - Patch merge.
  82. * Fri Mar 14 2008 Adam Jackson <ajax@redhat.com> 0.51-2
  83. - rhpxl-0.51-serverflags.patch: Stop disabling the Composite extension
  84. when launching a server.
  85. * Tue Mar 11 2008 Jeremy Katz <katzj@redhat.com> - 0.51-1
  86. - Few more input fixes, roll a new tarball and remove obsolete patches which
  87. are in upstream
  88. * Mon Mar 10 2008 Jeremy Katz <katzj@redhat.com> - 0.49-5
  89. - Don't write out input sections in xorg.conf -- input hotplug should
  90. take care of them all
  91. * Tue Feb 12 2008 Adam Jackson <ajax@redhat.com> 0.49-4
  92. - rhpxl-0.49-ibmasm.patch: Fix string handling in ibmasm setup. (#353021)
  93. * Mon Dec 17 2007 Jeremy Katz <katzj@redhat.com> - 0.49-3
  94. - Fix traceback in last patch (#421261)
  95. * Fri Nov 30 2007 Adam Jackson <ajax@redhat.com> 0.49-2
  96. - rhpxl-0.49-pseries-hatred.patch: Use the same pseries detection everywhere.
  97. * Thu Sep 06 2007 Adam Jackson <ajax@redhat.com> 0.49-1
  98. - rhpxl 0.49. Fixes domainful PPC machines, and avoids probing for serial
  99. mice since they make USB devices go boom.
  100. - Fix License.
  101. - Update URL to point to the new home.
  102. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 0.47-3
  103. - Rebuild for PPC toolchain bug
  104. * Wed Jun 13 2007 Chris Lumens <clumens@redhat.com> - 0.47-2
  105. - Fixes from package review (#226373).
  106. * Fri May 4 2007 Jeremy Katz <katzj@redhat.com> - 0.47-1
  107. - setup appletouch correctly (#238355)
  108. * Fri Apr 13 2007 Jeremy Katz <katzj@redhat.com> - 0.46-1
  109. - auto-configure vmmouse driver for VMWare and qemu
  110. * Thu Mar 29 2007 Chris Lumens <clumens@redhat.com> - 0.45-1
  111. - resolution_from_string should return integers instead of strings.
  112. * Mon Mar 26 2007 Adam Jackson <ajax@redhat.com> 0.44-1
  113. - Fix mode name splitting. (#213027)
  114. * Tue Feb 06 2007 Chris Lumens <clumens@redhat.com> - 0.43-1
  115. - Add support for writing out ibmasm config information (#198797).
  116. - Various fixes that allow the resolution in a kickstart file to be
  117. propagated to the installed system.
  118. * Tue Jan 23 2007 Jeremy Katz <katzj@redhat.com> - 0.42-1
  119. - Don't pass a potentially bogus fontpath to the X server. It starts fine
  120. without it and we don't have it on installs from live cd
  121. * Wed Nov 29 2006 Chris Lumens <clumens@redhat.com> 0.41-1
  122. - Trust kudzu to give us the right video driver instead of using
  123. readDrivers to trim the list of what's available (#211977).
  124. * Mon Nov 6 2006 Adam Jackson <ajackson@redhat.com> 0.40-1
  125. - Allow for very large resolutions. (#212695)
  126. * Fri Oct 13 2006 Bill Nottingham <notting@redhat.com> 0.39-1
  127. - Use a valid charset in po files (#210720)
  128. * Thu Oct 12 2006 Adam Jackson <ajackson@redhat.com> 0.38-1
  129. - Fall back to fbdev (not vesa) on ppc{,64}. (#197992)
  130. * Thu Oct 05 2006 Chris Lumens <clumens@redhat.com> 0.37-1
  131. - Reset X driver when trying to use framebuffer or vesa to start X.
  132. * Tue Oct 03 2006 Chris Lumens <clumens@redhat.com> 0.36-1
  133. - Don't make problems importing pyrandr fatal.
  134. * Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 0.35-2
  135. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  136. * Thu Sep 21 2006 Adam Jackson <ajackson@redhat.com> 0.35-1
  137. - Fix resolution comparison to, uh, work.
  138. - Properly write out Display subsections so the resolution selector works again
  139. - Require newer pyxf86config
  140. * Wed Sep 13 2006 Adam Jackson <ajackson@redhat.com> 0.34-1
  141. - Add general RANDR awareness to mode list construction and validation.
  142. - Generalize forceVesa to forceDriver.
  143. * Mon Sep 11 2006 Chris Lumens <clumens@redhat.com> 0.33-1
  144. - Do a better job about detecting X server failures (#205874).
  145. * Fri Aug 25 2006 Jeremy Katz <katzj@redhat.com> - 0.32-1
  146. - Probe all buses for video cards
  147. - Only do PCI bits for PCI video cards
  148. - Another place to fix the default depth
  149. * Wed Aug 23 2006 Adam Jackson <ajackson@redhat.com> 0.31-1
  150. - Default depth of 24.
  151. * Mon Aug 14 2006 Adam Jackson <ajackson@redhat.com> 0.30-1
  152. - Bump.
  153. * Mon Aug 14 2006 Adam Jackson <ajackson@redhat.com> 0.29-1
  154. - Don't emit a Load "synaptics" directive, it's wrong.
  155. * Mon Aug 07 2006 Chris Lumens <clumens@redhat.com> 0.28-1
  156. - Fixes to init_from_xconfig for system-config-display.
  157. - Close X server stdout and stderr as having two log files is confusing.
  158. * Tue Aug 01 2006 Chris Lumens <clumens@redhat.com> 0.27-1
  159. - Don't traceback if there's no module list.
  160. - Return default strings if monitor or video card names are None.
  161. - Handle starting up an XServer object with an existing conf file.
  162. * Tue Aug 01 2006 Chris Lumens <clumens@redhat.com> 0.26-1
  163. - Remove video card ddc probing (notting).
  164. - Remove monitor ddc probing.
  165. * Fri Jul 28 2006 Chris Lumens <clumens@redhat.com> 0.25-1
  166. - Convert x startup code into a class, simplifying startup API.
  167. - Restore call to xStartedCB so mini-wm gets run under anaconda.
  168. - Simplify looping and waiting in startup code.
  169. * Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.24-2
  170. - Set a fontpath that's more reasonable for anaconda/firstboot/s-c-display
  171. * Tue Jul 25 2006 Chris Lumens <clumens@redhat.com> 0.24-1
  172. - Add -extension Composite to X startup flags to avoid tracebacks.
  173. * Mon Jul 24 2006 Chris Lumens <clumens@redhat.com> 0.23-1
  174. - Remove -terminate flag to fix X startup race condition
  175. (Charlotte Richardson).
  176. - Fix synaptics detection and config file write out.
  177. * Fri Jul 21 2006 Chris Lumens <clumens@redhat.com> 0.22-1
  178. - Fix traceback on default log file location.
  179. - Restore driver options to config file to fix ppc installs.
  180. * Wed Jul 19 2006 Chris Lumens <clumens@redhat.com> 0.21-1
  181. - Don't traceback if no monitor, screen, or device is found in the
  182. X config file.
  183. * Tue Jul 18 2006 Chris Lumens <clumens@redhat.com> 0.20-1
  184. - Remove code for config sections that X can figure out for itself.
  185. - Use python randr bindings to change resolution (bindings based on code
  186. from Michael Sheldon <webmaster at mikeasoft dot com>).
  187. - rhpxl is now native
  188. * Tue Jun 13 2006 Jesse Keating <jkeating@redhat.com> 0.19-1.1
  189. - Enable build on ppc64
  190. * Tue Apr 04 2006 Chris Lumens <clumens@redhat.com> 0.19-1
  191. - Remove obsolete functions in mouse.py.
  192. - Create a new Modes class.
  193. * Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0.18-1
  194. - allow forcing vesa (#184015)
  195. * Wed Feb 22 2006 Jeremy Katz <katzj@redhat.com> - 0.17-1
  196. - fix braindead i810 (#182300)
  197. * Wed Feb 22 2006 Chris Lumens <clumens@redhat.com> 0.16-1
  198. - Only put one non-vesa card in front of the list (#182016).
  199. - Provide a fixed list of supported resolutions for the SGI 1600SW (#115679).
  200. * Wed Feb 15 2006 Bill Nottingham <notting@redhat.com> 0.15-1
  201. - order non-vesa videocards before vesa (#176978)
  202. * Wed Feb 08 2006 Chris Lumens <clumens@redhat.com> 0.14-1
  203. - Remove modes data since this is now in the X server package.
  204. * Wed Feb 01 2006 Chris Lumens <clumens@redhat.com> 0.13-1
  205. - Add aspect ratio patch from Jef Spaleta <jspaleta AT gmail.com> (#158143).
  206. * Tue Jan 24 2006 Chris Lumens <clumens@redhat.com> 0.12-1
  207. - Protect against an empty list of probed mice (#178515).
  208. * Wed Jan 18 2006 Chris Lumens <clumens@redhat.com> 0.11-1
  209. - No ddcprobe output for mice, or for monitors unless on i386 or ppc.
  210. * Wed Jan 11 2006 Peter Jones <pjones@redhat.com> 0.10-1
  211. - If we're on a Mac and can't get DDC/EDID, and our resolution is tiny,
  212. force 1024x768.
  213. * Wed Dec 21 2005 Chris Lumens <clumens@redhat.com> 0.9-1
  214. - Don't use rhpl.log anymore.
  215. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  216. - rebuilt
  217. * Fri Dec 02 2005 Chris Lumens <clumens@redhat.com> 0.8-1
  218. - Attempt to set hsync and vsync from the config file if probing fails
  219. (Maxim Dzumanenko - #154172).
  220. * Mon Nov 21 2005 Bill Nottingham <notting@redhat.com> - 0.7-1
  221. - fix rhpl.arch.getBaseArch() vs rhpl.getArch() confusion
  222. * Tue Nov 15 2005 Chris Lumens <clumens@redhat.com> 0.6
  223. - Remove xhwstate from path on object creation (#173229).
  224. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> - 0.5.2-1
  225. - drivers now end in .so, not .o
  226. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> - 0.5.1-1
  227. - unscaled bitmap fonts fixed in libXfont so change our fontpaths back
  228. * Sun Nov 13 2005 Jeremy Katz <katzj@redhat.com> - 0.5-1
  229. - update for modular X
  230. * Thu Oct 13 2005 Chris Lumens <clumens@redhat.com> 0.4-2
  231. - Correct python lib directory on 64-bit archs (#170624).
  232. * Wed Oct 12 2005 Chris Lumens <clumens@redhat.com> 0.4-1
  233. - Correct where we look for data files (#170505).
  234. - Translate in rhpxl domain instead of rhpl domain.
  235. - Correct __init__ to import everything.
  236. * Tue Oct 11 2005 Chris Lumens <clumens@redhat.com> 0.3-1
  237. - Moved data files and ddcprobe here from rhpl.
  238. * Tue Oct 11 2005 Chris Lumens <clumens@redhat.com> 0.2-1
  239. - Fix import of simpleconfig.
  240. - Remove references to X sections of rhpl that rhpxl contains.
  241. * Fri Oct 07 2005 Chris Lumens <clumens@redhat.com> 0.1-2
  242. - Fix broken dependancies on platforms with no pyxf86config.
  243. * Thu Oct 06 2005 Chris Lumens <clumens@redhat.com> 0.1-1
  244. - Initial import from rhpl.