Blob Blame History Raw
Name:		vgabios
Version:	0.6b
Release:	1%{?dist}
Summary:	LGPL implementation of a vga video bios

Group:		Applications/Emulators		
License:	LGPLv2
URL:		http://www.nongnu.org/vgabios/
Source0:	http://savannah.gnu.org/download/%{name}/%{name}-%{version}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	dev86
BuildArch: noarch
Patch1:		%{name}-provide-high-res.patch

%description
vgabios is an LPGL implementation of a bios for a video card.
It is tied to plex86/bochs, althoug it will likely work on other
emulators. It is not intended for use in real cards.


%prep 
%setup -q -n %{name}-%{version}
%patch1 -p1

%build 
make clean
make biossums %{?_smp_mflags}
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vgabios
install -m 0644 VGABIOS-lgpl-*.bin $RPM_BUILD_ROOT%{_datadir}/vgabios 


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%dir %{_datadir}/vgabios/
%doc README COPYING
%{_datadir}/vgabios/VGABIOS-lgpl-latest.bin
%{_datadir}/vgabios/VGABIOS-lgpl-latest.cirrus.bin
%{_datadir}/vgabios/VGABIOS-lgpl-latest.cirrus.debug.bin
%{_datadir}/vgabios/VGABIOS-lgpl-latest.debug.bin


%changelog
* Fri Jun 19 2009 Glauber Costa <glommer@redhat.com> - 0.6b-1
- applied vgabios-provide-high-res.patch, that should fix #499060
- Changed versioning naming, since the "b" in 0.6b does not stand for beta.

* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 0.6-0.5.b
- fixed naming to comply with guidelines.

* Tue Feb 17 2009 Glauber Costa <glommer@redhat.com> - 0.6-0.4beta
- removed leftovers and fixed rpmlint errors.

* Mon Feb 16 2009 Glauber Costa <glommer@redhat.com> - 0.6-0.3beta
- using dev86 to build directly on all arches, made package noarch.
  No more binaries \o/

* Fri Feb 13 2009 Glauber Costa <glommer@redhat.com> - 0.6-0.2beta
- Addressing BZ 485418: added doc section, clean build root before
  we proceed, own vgabios directory
* Fri Feb 13 2009 Glauber Costa <glommer@redhat.com> - 0.6-0.1beta
- Created initial package