vbetool-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Summary: Run real-mode video BIOS code to alter hardware state
  2. Name: vbetool
  3. Version: 1.2.2
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/Base
  6. License: GPLv2
  7. URL: http://www.codon.org.uk/~mjg59/vbetool/
  8. Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: zlib-devel, pciutils-devel, libx86-devel >= 1.1-2
  11. BuildRequires: libpciaccess-devel
  12. # does not build on ppc and ppc64, see #285361 (RedHat Bugzilla)
  13. # on ppc sys/io.h is missing, on ppc64 there are more complaints
  14. # build.logs are attached in the bug report
  15. ExcludeArch: ppc ppc64
  16. %description
  17. vbetool uses lrmi in order to run code from the video BIOS. Currently, it is
  18. able to alter DPMS states, save/restore video card state and attempt to
  19. initialize the video card from scratch.
  20. %prep
  21. %setup -q
  22. %build
  23. %configure --with-x86emu
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make install DESTDIR=$RPM_BUILD_ROOT
  28. install -m 0644 -D udev-video-post-example.rules $RPM_BUILD_ROOT/etc/udev/rules.d/92-video-post.rules
  29. %clean
  30. rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc COPYING
  34. %{_sysconfdir}/udev/rules.d/92-video-post.rules
  35. %{_sbindir}/vbetool
  36. %{_mandir}/man1/vbetool.1.gz
  37. %changelog
  38. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.2.2-2
  39. - rebuilt with rpm-4.8.1-3
  40. * Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  41. - new upstream release
  42. - install udev rules
  43. - add BR: libpciaccess-devel
  44. * Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  45. - initial build for Vine Linux
  46. * Mon May 19 2008 Matthew Garrett <mjg@redhat.com> - 1.1-1
  47. - update to version 1.1
  48. * Tue Mar 25 2008 Till Maas <opensource till name> - 0.7-6
  49. - remove overriding of CFLAGS for x86emu
  50. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7-5
  51. - Autorebuild for GCC 4.3
  52. * Sun Dec 02 2007 Till Maas <opensource till name> - 0.7-4
  53. - libz.a is now in a -static subpackage, add to BR
  54. * Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 0.7-3
  55. - Build with x86emu everywhere for uniformity of bugs and consistency with X.
  56. * Fri Sep 07 2007 Till Maas <opensource till name> 0.7-2
  57. - ExcludeArch: ppc and ppc64 (does not build there)
  58. - add Conflicts with old pm-utils package
  59. * Fri Aug 31 2007 Till Maas <opensource till name> - 0.7-1
  60. - initial release for Fedora with patches from the pm-utils package