rhpxl-vl.spec 12 KB

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