xorg-x11-drv-r128-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. %define tarball xf86-video-r128
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. Summary: Xorg X11 r128 video driver
  5. Summary(ja): Xorg X11 r128 ビデオドライバ
  6. Name: xorg-x11-drv-r128
  7. Version: 6.8.1
  8. Release: 6%{?_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: r128.xinf
  14. Patch10: xorg-x11-drv-r128-6.8.0-powerpc.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. ExcludeArch: s390 s390x
  17. BuildRequires: xorg-x11-server-sdk >= 1.6
  18. BuildRequires: mesa-libGL-devel
  19. BuildRequires: libdrm-devel
  20. BuildRequires: automake autoconf libtool pkgconfig
  21. BuildRequires: xorg-x11-util-macros
  22. Requires: hwdata
  23. Requires: xorg-x11-server-Xorg
  24. Obsoletes: xorg-x11-drv-ati < 6.9.0
  25. %description
  26. X.Org X11 r128 video driver.
  27. %prep
  28. %setup -q -n %{tarball}-%{version}
  29. %patch10 -p1 -b .powerpc
  30. %build
  31. autoreconf -f -i
  32. %configure --disable-static
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
  38. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
  39. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc README.r128
  45. %{driverdir}/r128_drv.so
  46. %{_datadir}/hwdata/videoaliases/r128.xinf
  47. %{_mandir}/man4/r128.4*
  48. %changelog
  49. * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-6
  50. - rebuild with xserver-1.11.1.902
  51. * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-5
  52. - rebuild with xserver-1.10.0
  53. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-4
  54. - rebuild with xserver-1.9.2
  55. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.1-3
  56. - rebuild with xserver-1.8rc
  57. * Fri Nov 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 6.8.1-2
  58. - add Patch10 (UseFBDev defaults to False on PowerPC)
  59. this was imported from 6.8.0-3 (Vine-5.0/proposed-updates)
  60. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.1-1
  61. - new upstream release
  62. * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-2
  63. - rebuild for xserver 1.6
  64. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-1
  65. - initial build