pyxf86config-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Summary: Python wrappers for libxf86config
  2. Summary(ja): libxf86config の Python ラッパー
  3. Name: pyxf86config
  4. Version: 0.3.37
  5. Release: 5%{?_dist_release}
  6. URL: http://fedoraproject.org/wiki/pyxf86config
  7. License: GPLv2
  8. Group: System Environment/Libraries
  9. Source0: %{name}-%{version}.tar.bz2
  10. Patch0: 0001-libxf86config.a-gained-dependency-on-xstrtokenize-pu.patch
  11. Patch1: 0002-Provide-xf86CheckBoolOption.patch
  12. Patch2: 0003-Initialize-configuration-file-parser-before-use.patch
  13. Patch3: %{name}-0.3.37-xorg-x11-7.5.patch
  14. Patch4: pyxf86config-0.3.37-xorgconf-path.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. Requires: glib2
  17. BuildRequires: glib2-devel
  18. BuildRequires: libX11-devel
  19. BuildRequires: python-devel
  20. BuildRequires: libxf86config-devel
  21. BuildRequires: libSM-devel
  22. ExcludeArch: s390 s390x ppc64
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: daisuke
  26. %description
  27. Python wrappers for the X server config file library libxf86config.
  28. It is used to read and write X server configuration files.
  29. %prep
  30. %setup -q
  31. %patch0 -p1
  32. %patch1 -p1
  33. %patch2 -p1
  34. %patch3 -p1
  35. %patch4 -p1
  36. %build
  37. export CFLAGS="$RPM_OPT_FLAGS -fPIC"
  38. %configure --x-libraries=%{_libdir} --with-python-version=%{pyver}
  39. %__make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. %__make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %files
  46. %defattr(-,root,root)
  47. %doc README NEWS AUTHORS COPYING ChangeLog
  48. %{python_sitearch}/ixf86configmodule.so
  49. %{python_sitearch}/xf86config.py
  50. %changelog
  51. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.37-5
  52. - rebuild with python-2.7.2
  53. - add BuildRequires: libSM-devel
  54. * Fri Jun 03 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.37-4
  55. - add patch4 to use /etc/X11/xorg.conf on pyxf86readConfigFile()
  56. instead of auto search path template.
  57. * Sat May 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.37-3
  58. - rebuild for Vine 6
  59. - import patch0-2 from fedora
  60. - add patch3 to build with new xorg-x11 (adhoc patch)
  61. * Mon Feb 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.37-2
  62. - rebuild with python-2.6
  63. * Tue Aug 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.37-1
  64. - new upstream release
  65. - build with xorg-x11-7.3
  66. * Tue Aug 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.4-1
  67. - initial build for Vine Linux
  68. * Mon Oct 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.4-0vl1
  69. - remove unneeded screen resolution from XF86SupportedResolutions
  70. * Mon Sep 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.3-0vl1
  71. - add v4l module, remove fbdevhw from xorg.conf
  72. * Tue Aug 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.2-0vl1
  73. - add more resolutions
  74. * Tue Aug 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.1-0vl1
  75. - update default xorg.conf
  76. * Sun Aug 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19-0vl1
  77. - initial build for Vine Linux
  78. * Wed Aug 11 2004 Jeremy Katz <katzj@redhat.com> - 0.3.19-1
  79. - Change keyboard driver to kbd
  80. * Thu Apr 15 2004 Mike A. Harris <mharris@redhat.com> - 0.3.18-1
  81. - Do not write out XkbRules line to config file, as it is unnecessary hard
  82. coding the rules file, which has a built in default which should always
  83. work. (#120858)
  84. * Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 0.3.17-1
  85. - xorg for XkbRules
  86. * Wed Apr 14 2004 Alex Larsson <alexl@redhat.com> 0.3.16
  87. - Rebuild for the new libxf86config
  88. - remove references to XFree86
  89. * Thu Feb 19 2004 Brent Fox <bfox@redhat.com> 0.3.15-1
  90. - remove the setupMice() function createTemplate()
  91. - because the 2.6 kernel puts both PS/2 and USB mice on the same device
  92. * Mon Feb 9 2004 Alexander Larsson <alexl@redhat.com> 0.3.14-1
  93. - fix range array bug
  94. * Thu Nov 6 2003 Jeremy Katz <katzj@redhat.com> 0.3.13-2
  95. - rebuild for python 2.3
  96. - don't build on ppc64 either since X is missing bits there as well
  97. * Tue Jul 29 2003 Elliot Lee <sopwith@redhat.com> 0.3.13-1
  98. - Rebuild
  99. * Wed Jun 4 2003 Brent Fox <bfox@redhat.com> 0.3.12-1
  100. - add a 'scrnum' attribute to the adjacency section
  101. * Tue Jun 3 2003 Brent Fox <bfox@redhat.com> 0.3.11-1
  102. - add a function to xf86config.py called getAllScreens()
  103. * Tue Jun 3 2003 Brent Fox <bfox@redhat.com> 0.3.10-1
  104. - add a BuildRequires for python-devel
  105. - add an options attribute to the server layout section (for Xinerama)
  106. * Tue Apr 29 2003 Alexander Larsson <alexl@redhat.com> 0.3.6-1
  107. - Added laptop resolutions
  108. * Mon Jan 27 2003 Alexander Larsson <alexl@redhat.com> 0.3.5-1
  109. - Rebuild
  110. * Wed Jan 15 2003 Michael Fulbright <msf@redhat.com> 0.3.4-1
  111. - remove code in xf86config.py:createTemplate() that inserted a Display
  112. section. We want user to supply this and it shouldnt be in template.
  113. * Sat Jan 11 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  114. - add ExcludeArch: s390 s390x
  115. * Thu Dec 12 2002 Mike A. Harris <mharris@redhat.com> 0.3.3-1
  116. - Remove Excludearch alpha
  117. * Tue Nov 12 2002 Michael Fulbright <msf@redhat.com> 0.3.2-1
  118. - Added some convenience functions.
  119. * Mon Jul 8 2002 Alexander Larsson <alexl@redhat.com>
  120. - Bump to 0.3.1
  121. * Mon Jun 17 2002 Alexander Larsson <alexl@redhat.com>
  122. - Bump to 0.3.0
  123. * Fri May 24 2002 Alex Larsson <alexl@redhat.com> 0.2.0-3
  124. - Excludearch alpha for now
  125. * Fri May 24 2002 Alex Larsson <alexl@redhat.com> 0.2.0-2
  126. - Add some doc files
  127. * Fri May 24 2002 Alex Larsson <alexl@redhat.com> 0.2.0-1
  128. - Update version number for new release
  129. * Thu Apr 11 2002 Alex Larsson <alexl@redhat.com> 0.1.0-1
  130. - Initial release
  131. * Wed Apr 10 2002 Alex Larsson <alexl@redhat.com>
  132. - Initial specfile