xorg-x11-drv-xgi-vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. %define drvname xgi
  2. %define tarball xf86-video-%{drvname}
  3. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  4. %define driverdir %{moduledir}/drivers
  5. Summary: Xorg X11 %{drvname} video driver
  6. Summary(ja): Xorg X11 %{drvname} ビデオドライバ
  7. Name: xorg-x11-drv-%{drvname}
  8. Version: 1.6.0
  9. Release: 1%{?_dist_release}
  10. URL: http://www.x.org
  11. Source0: http://xorg.freedesktop.org/releases/individual/driver/%{tarball}-%{version}.tar.bz2
  12. License: MIT
  13. Group: User Interface/X Hardware Support
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
  16. Requires: xorg-x11-server-Xorg
  17. %description
  18. X.Org X11 %{drvname} video driver.
  19. %prep
  20. %setup -q -n %{tarball}-%{version}
  21. %build
  22. %configure --disable-static
  23. make
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make install DESTDIR=$RPM_BUILD_ROOT
  27. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  28. # should be fixed in upstream Makefile.am or whatever.
  29. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %{driverdir}/%{drvname}_drv.so
  35. %{_mandir}/man4/%{drvname}.4*
  36. %changelog
  37. * Tue Aug 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  38. - new upstream release
  39. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.1-2
  40. - rebuild with xserver-1.8rc
  41. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.1-1
  42. - new upstream release
  43. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.0-2
  44. - rebuild with xorg-server-1.4.99
  45. * Mon Jun 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.0-1
  46. - initial build