diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..26d9ecd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vbetool-1.1.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index a55506a..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Suspend not supported under UMS. Not installed by default since F13. diff --git a/sources b/sources new file mode 100644 index 0000000..8e8f52b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ffb03b118867a02296d7449019ad8846 vbetool-1.1.tar.gz diff --git a/vbetool.spec b/vbetool.spec new file mode 100644 index 0000000..8d1b362 --- /dev/null +++ b/vbetool.spec @@ -0,0 +1,81 @@ +Name: vbetool +Version: 1.1 +Release: 3%{?dist}.1 +Summary: Run real-mode video BIOS code to alter hardware state + +Group: System Environment/Base +License: GPLv2 +URL: http://www.codon.org.uk/~mjg59/vbetool/ +Source0: http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: zlib-devel pciutils-devel libx86-devel +# does not build on ppc, ppc64 and sparc arches, see #285361 (RedHat Bugzilla) +# on ppc sys/io.h is missing, on ppc64 there are more complaints +# build.logs are attached in the bug report +ExcludeArch: ppc ppc64 %{sparc} s390 s390x +# vbetool is included in (some of) these pm-utils releases +Conflicts: pm-utils <= 0.99.3-11 + + +%description +vbetool uses lrmi in order to run code from the video BIOS. Currently, it is +able to alter DPMS states, save/restore video card state and attempt to +initialize the video card from scratch. + + +%prep +%setup -q + +%build +%configure --with-x86emu +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_sbindir}/vbetool +%{_mandir}/man1/vbetool.1.gz + + +%changelog +* Thu May 07 2009 Karsten Hopp 1.1-3.1 +- ExcludeArch s390, s390x + +* Wed Feb 25 2009 Fedora Release Engineering - 1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 14 2009 Dennis Gilmore - 1.1-2 +- exclude sparc arches missing sys/io.h + +* Mon May 19 2008 Matthew Garrett - 1.1-1 +- update to version 1.1 + +* Tue Mar 25 2008 Till Maas - 0.7-6 +- remove overriding of CFLAGS for x86emu + +* Wed Feb 20 2008 Fedora Release Engineering - 0.7-5 +- Autorebuild for GCC 4.3 + +* Sun Dec 02 2007 Till Maas - 0.7-4 +- libz.a is now in a -static subpackage, add to BR + +* Tue Nov 13 2007 Adam Jackson 0.7-3 +- Build with x86emu everywhere for uniformity of bugs and consistency with X. + +* Fri Sep 07 2007 Till Maas 0.7-2 +- ExcludeArch: ppc and ppc64 (does not build there) +- add Conflicts with old pm-utils package + +* Fri Aug 31 2007 Till Maas - 0.7-1 +- initial release for Fedora with patches from the pm-utils package