xorg-x11-drv-mga-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. %define tarball xf86-video-mga
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. %define gitdate 20080102
  5. Summary: Xorg X11 mga video driver
  6. Summary(ja): Xorg X11 mga ビデオドライバ
  7. Name: xorg-x11-drv-mga
  8. Version: 1.4.13
  9. Release: 3%{?_dist_release}
  10. Epoch: 1
  11. URL: http://www.x.org
  12. License: MIT
  13. Group: User Interface/X Hardware Support
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  16. #Source0: %{tarball}-%{gitdate}.tar.bz2
  17. Source1: mga.xinf
  18. Patch0: mga-1.4.5-no-hal-advertising.patch
  19. Patch1: mga-1.4.6.1-get-client-pointer.patch
  20. ExcludeArch: s390 s390x
  21. BuildRequires: autoconf automake libtool
  22. BuildRequires: xorg-x11-server-sdk >= 1.6
  23. BuildRequires: mesa-libGL-devel >= 6.4-4
  24. BuildRequires: libdrm-devel >= 2.0-1
  25. Requires: hwdata
  26. Requires: xorg-x11-server-Xorg
  27. %description
  28. X.Org X11 mga video driver.
  29. %prep
  30. %setup -q -n %{tarball}-%{version}
  31. %patch0 -p1 -b .hal
  32. %patch1 -p1 -b .gcp
  33. %build
  34. autoreconf -v --install || exit 1
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
  41. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
  42. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %files
  46. %defattr(-,root,root,-)
  47. %{driverdir}/mga_drv.so
  48. %{_datadir}/hwdata/videoaliases/mga.xinf
  49. %{_mandir}/man4/mga.4*
  50. %changelog
  51. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.13-3
  52. - rebuild with xserver-1.10.0
  53. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.13-2
  54. - rebuild with xserver-1.9.2
  55. * Tue Aug 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.13-1
  56. - new upstream release
  57. * Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.12-1
  58. - new upstream release
  59. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.11-2
  60. - rebuild with xserver-1.8rc
  61. * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.11-1
  62. - new upstream release
  63. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.9-2
  64. - rebuild with xorg-server-1.6
  65. * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.4.9-1
  66. - revert to 1.4.9
  67. - add Epoch: 1
  68. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.100-1
  69. - new upstream release
  70. * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.8-1
  71. - initial build for Vine Linux
  72. * Fri Feb 22 2008 Adam Jackson <ajax@redhat.com> 1.4.8-1
  73. - mga 1.4.8
  74. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.7-2.20080102
  75. - Autorebuild for GCC 4.3
  76. * Wed Jan 09 2008 Adam Jackson <ajax@redhat.com> 1.4.7-1.20080102
  77. - Rebuild for new server ABI.
  78. * Wed Jan 02 2008 Adam Jackson <ajax@redhat.com> 1.4.7-0.20080102
  79. - Today's git snapshot for pciaccess goodness.
  80. - mga-1.4.7-death-to-cfb.patch: Remove what little cfb support there was.
  81. - mga-1.4.7-alloca.patch: Fix ALLOCATE_LOCAL references.
  82. * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.4.6.1-6
  83. - Rebuild for PPC toolchain bug
  84. * Wed Jun 27 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-5
  85. - Use %%{?_smp_mflags}.
  86. * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-4
  87. - Update Requires and BuildRequires. Add Requires: hwdata.
  88. * Mon Feb 26 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-3
  89. - Late-bind a call into a loadable module
  90. - Disown the module directory
  91. * Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-2
  92. - ExclusiveArch -> ExcludeArch
  93. - DRI on all arches
  94. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-1
  95. - Update to 1.4.6.1
  96. * Mon Dec 4 2006 Adam Jackson <ajax@redhat.com> 1.4.5-2
  97. - mga-1.4.5-no-hal-advertising.patch: Don't link to the HAL module as it's
  98. non-free.
  99. * Fri Dec 1 2006 Adam Jackson <ajax@redhat.com> 1.4.5-1
  100. - Update to 1.4.5.
  101. * Fri Aug 18 2006 Kristian Høgsberg <krh@redhat.com> 1.4.1-5.fc6
  102. - Add Tilman Sauerbecks patch to fix DRI locking.
  103. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.4.1-4.1
  104. - rebuild
  105. * Thu Jul 6 2006 Adam Jackson <ajackson@redhat.com> 1.4.1-4
  106. - mga.xinf updates. Add G200SE cards, remove Impression and Mistral IDs
  107. (since they do not and never have worked), and comment each line with
  108. the appropriate card name.
  109. * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.4.1-3
  110. - Added with_dri conditionalization (not yet working for non-dri case).
  111. - Added "BuildRequires: libdrm-devel >= 2.0-1" for (#192358).
  112. - Added "BuildRequires: mesa-libGL-devel >= 6.4-4".
  113. - Bumped sdk dep to pick up proto-devel indirectly.
  114. * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 1.4.1-2
  115. - Update to 1.4.1 from 7.1RC1.
  116. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.2.1.3-1.2
  117. - bump again for double-long bug on ppc(64)
  118. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.2.1.3-1.1
  119. - rebuilt for new gcc4.1 snapshot and glibc changes
  120. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.2.1.3-1
  121. - Updated xorg-x11-drv-mga to version 1.2.1.3 from X11R7.0
  122. * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.2.1.2-1
  123. - Updated xorg-x11-drv-mga to version 1.2.1.2 from X11R7 RC4
  124. - Removed 'x' suffix from manpage dirs to match RC4 upstream.
  125. * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.2.1-1
  126. - Updated xorg-x11-drv-mga to version 1.2.1 from X11R7 RC2
  127. * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.2.0.1-1
  128. - Updated xorg-x11-drv-mga to version 1.2.0.1 from X11R7 RC1
  129. - Fix *.la file removal.
  130. - Remove hardware specific {_bindir}/stormdwg utility.
  131. * Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.1.2-1
  132. - Update BuildRoot to use Fedora Packaging Guidelines.
  133. - Deglob file manifest.
  134. - Limit "ExclusiveArch" to x86, x86_64, ia64, ppc
  135. * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.1.2-0
  136. - Initial spec file for mga video driver generated automatically
  137. by my xorg-driverspecgen script.