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

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