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

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