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

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