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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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.2.0
  7. Release: 2%{?_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. * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2
  39. - rebuild with xserver-1.12.0
  40. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
  41. - initial build for Vine Linux
  42. * Fri Feb 24 2012 Dave Airlie <airlied@redhat.com> 0.2.0-1
  43. - Update to new upstream - fixes pitch issues
  44. * Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-3
  45. - add build requires, fix tab/space, fix description line
  46. * Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-2
  47. - initial review comments 1
  48. * Thu Feb 16 2012 Dave Airlie <airlied@redhat.com> 0.1.0-1
  49. - initial import