pyxf86config-vl.spec 4.5 KB

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