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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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.8
  11. Release: 1%{?_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. * Fri Jul 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8-1
  53. - new upstream release
  54. * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.7-2
  55. - rebuild with xserver-1.12.0
  56. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.7-1
  57. - new upstream release
  58. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.6-1
  59. - new upstream release
  60. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.5-3
  61. - rebuild with xserver-1.10.0
  62. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.5-2
  63. - rebuild with xserver-1.9.2
  64. * Sun Oct 17 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.5-1
  65. - new upstream release
  66. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-2
  67. - rebuild with xserver-1.8rc
  68. * Tue Dec 29 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1
  69. - new upstream release
  70. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  71. - new upstream release
  72. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1
  73. - new upstream release
  74. * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  75. - initial build for Vine Linux
  76. * Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 1.2.0-1
  77. - Latest upstream release
  78. * Tue Mar 11 2008 Dave Airlie <airlied@gmail.com> 1.1.1-9
  79. - pciaccess conversion
  80. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-8
  81. - Autorebuild for GCC 4.3
  82. * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-7
  83. - Rebuild for PPC toolchain bug
  84. * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.1.1-6
  85. - Update Requires and BuildRequires. Disown the module directories. Add
  86. Requires: hwdata.
  87. * Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.1.1-5
  88. - ExclusiveArch -> ExcludeArch
  89. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
  90. - rebuild
  91. * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-4
  92. - Re-enable with_dri, as --disable-dri builds are broken (fdo#7405)
  93. * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3
  94. - Added with_dri conditionalization, defaulted to DRI being disabled.
  95. - Added "BuildRequires: libdrm-devel >= 2.0-1" for (#192358).
  96. - Added "BuildRequires: mesa-libGL-devel >= 6.4-4".
  97. - Bumped sdk dep to pick up proto-devel indirectly.
  98. * Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-2
  99. - Rebuild for 7.1 ABI fix.
  100. * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
  101. - Update to 1.1.1 from 7.1RC1.
  102. * Wed Feb 22 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-2
  103. - Install glint.xinf, which was inadvertently left out of packaging (#182502)
  104. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.3-1.1
  105. - rebuilt for new gcc4.1 snapshot and glibc changes
  106. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-1
  107. - Updated xorg-x11-drv-glint to version 1.0.1.3 from X11R7.0
  108. * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1
  109. - Updated xorg-x11-drv-glint to version 1.0.1.2 from X11R7 RC4
  110. - Removed 'x' suffix from manpage dirs to match RC4 upstream.
  111. * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  112. - Updated xorg-x11-drv-glint to version 1.0.1 from X11R7 RC2
  113. * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.0.0.1-1
  114. - Updated xorg-x11-drv-glint to version 1.0.0.1 from X11R7 RC1
  115. - Fix *.la file removal.
  116. * Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  117. - Update BuildRoot to use Fedora Packaging Guidelines.
  118. - Deglob file manifest.
  119. - Limit "ExclusiveArch" to i386, alpha
  120. * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0
  121. - Initial spec file for glint video driver generated automatically
  122. by my xorg-driverspecgen script.