xorg-x11-drv-glint-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. %define tarball xf86-video-glint
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. # FIXME: DRI support for glint is more or less nonfunctional and unlikely to
  5. # ever be fixed.
  6. %define with_dri 1
  7. Summary: Xorg X11 glint video driver
  8. Summary(ja): Xorg X11 glint ビデオドライバ
  9. Name: xorg-x11-drv-glint
  10. Version: 1.2.4
  11. Release: 2%{?_dist_release}
  12. URL: http://www.x.org
  13. License: MIT
  14. Group: User Interface/X Hardware Support
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  17. Source1: glint.xinf
  18. ExcludeArch: s390 s390x
  19. BuildRequires: xorg-x11-server-sdk >= 1.6
  20. %if %{with_dri}
  21. BuildRequires: mesa-libGL-devel >= 6.4-4
  22. BuildRequires: libdrm-devel >= 2.0-1
  23. %endif
  24. Requires: hwdata
  25. Requires: xorg-x11-server-Xorg
  26. %description
  27. X.Org X11 glint video driver.
  28. %prep
  29. %setup -q -n %{tarball}-%{version}
  30. %build
  31. %configure --disable-static \
  32. %if ! %{with_dri}
  33. --disable-dri
  34. %endif
  35. make
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
  40. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
  41. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  42. # should be fixed in upstream Makefile.am or whatever.
  43. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root,-)
  48. %{driverdir}/glint_drv.so
  49. %{_datadir}/hwdata/videoaliases/glint.xinf
  50. %{_mandir}/man4/glint.4*
  51. %changelog
  52. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-2
  53. - rebuild with xserver-1.8rc
  54. * Tue Dec 29 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1
  55. - new upstream release
  56. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  57. - new upstream release
  58. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1
  59. - new upstream release
  60. * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  61. - initial build for Vine Linux
  62. * Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 1.2.0-1
  63. - Latest upstream release
  64. * Tue Mar 11 2008 Dave Airlie <airlied@gmail.com> 1.1.1-9
  65. - pciaccess conversion
  66. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-8
  67. - Autorebuild for GCC 4.3
  68. * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-7
  69. - Rebuild for PPC toolchain bug
  70. * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.1.1-6
  71. - Update Requires and BuildRequires. Disown the module directories. Add
  72. Requires: hwdata.
  73. * Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.1.1-5
  74. - ExclusiveArch -> ExcludeArch
  75. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
  76. - rebuild
  77. * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-4
  78. - Re-enable with_dri, as --disable-dri builds are broken (fdo#7405)
  79. * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3
  80. - Added with_dri conditionalization, defaulted to DRI being disabled.
  81. - Added "BuildRequires: libdrm-devel >= 2.0-1" for (#192358).
  82. - Added "BuildRequires: mesa-libGL-devel >= 6.4-4".
  83. - Bumped sdk dep to pick up proto-devel indirectly.
  84. * Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-2
  85. - Rebuild for 7.1 ABI fix.
  86. * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
  87. - Update to 1.1.1 from 7.1RC1.
  88. * Wed Feb 22 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-2
  89. - Install glint.xinf, which was inadvertently left out of packaging (#182502)
  90. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.3-1.1
  91. - rebuilt for new gcc4.1 snapshot and glibc changes
  92. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-1
  93. - Updated xorg-x11-drv-glint to version 1.0.1.3 from X11R7.0
  94. * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1
  95. - Updated xorg-x11-drv-glint to version 1.0.1.2 from X11R7 RC4
  96. - Removed 'x' suffix from manpage dirs to match RC4 upstream.
  97. * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  98. - Updated xorg-x11-drv-glint to version 1.0.1 from X11R7 RC2
  99. * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.0.0.1-1
  100. - Updated xorg-x11-drv-glint to version 1.0.0.1 from X11R7 RC1
  101. - Fix *.la file removal.
  102. * Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  103. - Update BuildRoot to use Fedora Packaging Guidelines.
  104. - Deglob file manifest.
  105. - Limit "ExclusiveArch" to i386, alpha
  106. * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0
  107. - Initial spec file for glint video driver generated automatically
  108. by my xorg-driverspecgen script.