xorg-x11-drv-savage-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. %define tarball xf86-video-savage
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. Summary: Xorg X11 savage video driver
  5. Summary(ja): Xorg X11 savage ビデオドライバ
  6. Name: xorg-x11-drv-savage
  7. Version: 2.3.1
  8. Release: 2%{?_dist_release}
  9. URL: http://www.x.org
  10. License: MIT
  11. Group: User Interface/X Hardware Support
  12. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  13. Source1: savage.xinf
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. ExcludeArch: s390 s390x
  16. BuildRequires: xorg-x11-server-sdk >= 1.6
  17. BuildRequires: mesa-libGL-devel
  18. BuildRequires: libdrm-devel
  19. Requires: hwdata
  20. Requires: xorg-x11-server-Xorg
  21. %description
  22. X.Org X11 savage video driver.
  23. %prep
  24. %setup -q -n %{tarball}-%{version}
  25. %build
  26. %configure --disable-static --enable-dri
  27. make
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
  32. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
  33. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  34. # should be fixed in upstream Makefile.am or whatever.
  35. find $RPM_BUILD_ROOT -regex ".*.la$" | xargs rm -f --
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %{driverdir}/savage_drv.so
  41. %{_datadir}/hwdata/videoaliases/savage.xinf
  42. %{_mandir}/man4/savage.4*
  43. %changelog
  44. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.1-2
  45. - rebuild with xserver-1.8rc
  46. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-1
  47. - new upstream release
  48. * Fri Jul 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-1
  49. - new upstream release
  50. - build with xserver 1.6
  51. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-1
  52. - new upstream release
  53. * Tue May 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-1
  54. - initial build for Vine Linux
  55. * Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 2.2.0-1
  56. - Latest upstream release
  57. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.1.3-101.20071210
  58. - Autorebuild for GCC 4.3
  59. * Wed Jan 09 2008 Adam Jackson <ajax@redhat.com> 2.1.3-100.20071210
  60. - Rebuild for new server ABI.
  61. - savage-2.1.3-alloca.patch: Fix {DE,}ALLOCATE_LOCAL usage.
  62. * Mon Dec 10 2007 Adam Jackson <ajax@redhat.com> 2.1.3-99.20071210
  63. - Today's git snapshot, for pciaccess goodness.
  64. * Mon Aug 17 2007 Dave Airlie <airlied@redhat.com> 2.1.3-1
  65. * Update to 2.1.3
  66. * Mon Jul 09 2007 Adam Jackson <ajax@redhat.com> 2.1.2-5
  67. - savage-2.1.2-panel-range-hack.patch: If we find a panel but no EDID,
  68. stretch the sync ranges out to fit the panel size. (#243589)
  69. * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 2.1.2-4
  70. - Update Requires and BuildRequires. Add Requires: hwdata.
  71. * Mon Feb 26 2007 Adam Jackson <ajax@redhat.com> 2.1.2-3
  72. - Delete a call to a symbol that's never existed. Wacky.
  73. - Disown the module directory
  74. * Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 2.1.2-2
  75. - ExclusiveArch -> ExcludeArch
  76. - Enable DRI on all arches
  77. * Mon Jan 29 2007 Adam Jackson <ajax@redhat.com> 2.1.2-1
  78. - Update to 2.1.2
  79. * Mon Jul 24 2006 Mike A. Harris <mharris@redhat.com> 2.1.1-5.fc6
  80. - Added savage-disable-dri-bug196011.patch to disable DRI by default on various
  81. Savage chipsets reported in bug (#196011) and (fdo#6357)
  82. - Added {?dist} tag to Release field.
  83. * Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> 2.1.1-4
  84. - rebuild
  85. * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 2.1.1-3
  86. - Added "BuildRequires: libdrm-devel >= 2.0-1" for DRI enabled builds (#192349)
  87. * Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 2.1.1-2
  88. - Rebuild for 7.1 ABI fix.
  89. * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 2.1.1-1
  90. - Update to 2.1.1 from 7.1RC1.
  91. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2.3-1.2
  92. - bump again for double-long bug on ppc(64)
  93. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2.3-1.1
  94. - rebuilt for new gcc4.1 snapshot and glibc changes
  95. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 2.0.2.3-1
  96. - Updated xorg-x11-drv-savage to version 2.0.2.3 from X11R7.0
  97. * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 2.0.2.2-1
  98. - Updated xorg-x11-drv-savage to version 2.0.2.2 from X11R7 RC4
  99. - Removed 'x' suffix from manpage dirs to match RC4 upstream.
  100. * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 2.0.2-1
  101. - Updated xorg-x11-drv-savage to version 2.0.2 from X11R7 RC2
  102. - Added "BuildRequires: mesa-libGL-devel >= 6.4-4" for DRI-enabled builds.
  103. * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 2.0.1.1-1
  104. - Updated xorg-x11-drv-savage to version 2.0.1.1 from X11R7 RC1
  105. - Fix *.la file removal.
  106. * Tue Oct 4 2005 Mike A. Harris <mharris@redhat.com> 2.0.0-1
  107. - Update BuildRoot to use Fedora Packaging Guidelines.
  108. - Deglob file manifest.
  109. - Limit "ExclusiveArch" to x86, x86_64, ppc
  110. * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 2.0.0-0
  111. - Initial spec file for savage video driver generated automatically
  112. by my xorg-driverspecgen script.