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

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