xorg-x11-drv-modesetting-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. %global tarball xf86-video-modesetting
  2. %global moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %global driverdir %{moduledir}/drivers
  4. Summary: Xorg X11 modesetting video driver
  5. Name: xorg-x11-drv-modesetting
  6. Version: 0.4.0
  7. Release: 1%{?_dist_release}
  8. URL: http://www.x.org
  9. License: MIT
  10. Group: User Interface/X Hardware Support
  11. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  12. # all X hw drivers aren't built on s390 - no need for separate bug
  13. ExcludeArch: s390 s390x
  14. BuildRequires: xorg-x11-server-sdk >= 1.10.99.902
  15. BuildRequires: libX11-devel
  16. BuildRequires: libdrm-devel
  17. BuildRequires: libXext-devel
  18. BuildRequires: libudev-devel
  19. Requires: hwdata
  20. Requires: xorg-x11-server-Xorg
  21. %description
  22. X.Org X11 modesetting video driver - basic modesetting fallback driver.
  23. %prep
  24. %setup -q -n %{tarball}-%{version}
  25. %build
  26. %configure --disable-static
  27. make
  28. %install
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  31. # should be fixed in upstream Makefile.am or whatever.
  32. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  33. %files
  34. %{driverdir}/modesetting_drv.so
  35. %{_mandir}/man4/modesetting.4*
  36. %doc COPYING README
  37. %changelog
  38. * Fri Jul 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-1
  39. - new upstream release
  40. * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2
  41. - rebuild with xserver-1.12.0
  42. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
  43. - initial build for Vine Linux
  44. * Fri Feb 24 2012 Dave Airlie <airlied@redhat.com> 0.2.0-1
  45. - Update to new upstream - fixes pitch issues
  46. * Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-3
  47. - add build requires, fix tab/space, fix description line
  48. * Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-2
  49. - initial review comments 1
  50. * Thu Feb 16 2012 Dave Airlie <airlied@redhat.com> 0.1.0-1
  51. - initial import