xorg-x11-drv-mach64-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. %define tarball xf86-video-mach64
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. Summary: Xorg X11 mach64 video driver
  5. Summary(ja): Xorg X11 mach64 ビデオドライバ
  6. Name: xorg-x11-drv-mach64
  7. Version: 6.8.2
  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: mach64.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. BuildRequires: automake autoconf libtool pkgconfig
  20. BuildRequires: xorg-x11-util-macros
  21. Requires: hwdata
  22. Requires: xorg-x11-server-Xorg
  23. Obsoletes: xorg-x11-drv-ati < 6.9.0
  24. %description
  25. X.Org X11 mach64 video driver.
  26. %prep
  27. %setup -q -n %{tarball}-%{version}
  28. %build
  29. autoreconf -i -f
  30. %configure --disable-static
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
  36. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
  37. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc README.mach64
  43. %{driverdir}/mach64_drv.so
  44. %{_datadir}/hwdata/videoaliases/mach64.xinf
  45. %changelog
  46. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-2
  47. - rebuild with xserver-1.8rc
  48. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.2-1
  49. - new upstream release
  50. * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.1-1
  51. - new upstream release
  52. * Sun May 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-2
  53. - rebuild with xorg-xserver 1.6
  54. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-1
  55. - initial build