vbetool-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Summary: Run real-mode video BIOS code to alter hardware state
  2. Name: vbetool
  3. Version: 1.2.2
  4. Release: 3%{?_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. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. vbetool uses lrmi in order to run code from the video BIOS. Currently, it is
  20. able to alter DPMS states, save/restore video card state and attempt to
  21. initialize the video card from scratch.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure --with-x86emu
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. install -m 0644 -D udev-video-post-example.rules $RPM_BUILD_ROOT/etc/udev/rules.d/92-video-post.rules
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc COPYING
  36. %{_sysconfdir}/udev/rules.d/92-video-post.rules
  37. %{_sbindir}/vbetool
  38. %{_mandir}/man1/vbetool.1.gz
  39. %changelog
  40. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-3
  41. - rebuild with VineSeed environment
  42. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.2.2-2
  43. - rebuilt with rpm-4.8.1-3
  44. * Mon Mar 15 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  45. - new upstream release
  46. - install udev rules
  47. - add BR: libpciaccess-devel
  48. * Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  49. - initial build for Vine Linux
  50. * Mon May 19 2008 Matthew Garrett <mjg@redhat.com> - 1.1-1
  51. - update to version 1.1
  52. * Tue Mar 25 2008 Till Maas <opensource till name> - 0.7-6
  53. - remove overriding of CFLAGS for x86emu
  54. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7-5
  55. - Autorebuild for GCC 4.3
  56. * Sun Dec 02 2007 Till Maas <opensource till name> - 0.7-4
  57. - libz.a is now in a -static subpackage, add to BR
  58. * Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 0.7-3
  59. - Build with x86emu everywhere for uniformity of bugs and consistency with X.
  60. * Fri Sep 07 2007 Till Maas <opensource till name> 0.7-2
  61. - ExcludeArch: ppc and ppc64 (does not build there)
  62. - add Conflicts with old pm-utils package
  63. * Fri Aug 31 2007 Till Maas <opensource till name> - 0.7-1
  64. - initial release for Fedora with patches from the pm-utils package