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