diff --git a/.sgabios.metadata b/.sgabios.metadata new file mode 100644 index 0000000..ef9ab00 --- /dev/null +++ b/.sgabios.metadata @@ -0,0 +1 @@ +4c291e15ee11087934429f15fdfe720bdb9e97e1 SOURCES/sgabios-0-svnr8.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/sgabios.spec b/SPECS/sgabios.spec new file mode 100644 index 0000000..5d3dc57 --- /dev/null +++ b/SPECS/sgabios.spec @@ -0,0 +1,95 @@ +%define tardir %{name}-0 + +Name: sgabios +Epoch: 1 +Version: 0.20110622svn +Release: 3%{?dist} +Summary: Open-source serial graphics BIOS option rom + +Group: Applications/Emulators +License: ASL 2.0 +URL: http://code.google.com/p/sgabios/ +# Tarball created from SVN archive using the following commands: +# svn export -r 8 http://sgabios.googlecode.com/svn/trunk sgabios-0 +# tar -czvf sgabios-0-svnr8.tar.gz sgabios-0 +Source0: sgabios-0-svnr8.tar.gz + +ExclusiveArch: x86_64 + +Requires: %{name}-bin = %{epoch}:%{version}-%{release} + +# Sgabios is noarch, but required on architectures which cannot build it. +# Disable debuginfo because it is of no use to us. +%global debug_package %{nil} + +%description +SGABIOS is designed to be inserted into a BIOS as an option rom to provide over +a serial port the display and input capabilities normally handled by a VGA +adapter and a keyboard, and additionally provide hooks for logging displayed +characters for later collection after an operating system boots. + +%ifarch %{ix86} x86_64 +%package bin +Summary: Sgabios for x86 +Buildarch: noarch + +%description bin +SGABIOS is designed to be inserted into a BIOS as an option rom to provide over +a serial port the display and input capabilities normally handled by a VGA +adapter and a keyboard, and additionally provide hooks for logging displayed +characters for later collection after an operating system boots. +%endif + +%prep +%setup -q -n %{tardir} + +%build +unset MAKEFLAGS +%ifarch %{ix86} x86_64 +export CFLAGS="$RPM_OPT_FLAGS" +make +%endif + + +%install +mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgabios +%ifarch %{ix86} x86_64 +install -m 0644 sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios +%endif + + +%files +%doc COPYING design.txt + +%ifarch %{ix86} x86_64 +%files bin +%dir %{_datadir}/sgabios/ +%{_datadir}/sgabios/sgabios.bin +%endif + + +%changelog +* Wed Oct 17 2012 Cole Robinson - 1:0.20110622svn-2 +- Fix deps with epoch bump + +* Tue Oct 15 2012 Paolo Bonzini - 1:0.20110622svn-1 +- Move date from release to version (requires epoch bump). + +* Sun Aug 12 2012 Richard W.M. Jones - 0-1.1.20110622svn +- Fix date in release string. + NB: To make this version > than the previous, I had to use 1.1.20110622 + instead of 0.1.20110622, since the old second field was 20110623. +- Unset MAKEFLAGS, since parallel make breaks the build. +- Bring the spec file up to modern standards. + +* Sat Jul 21 2012 Fedora Release Engineering - 0-0.20110623SVN +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0-0.20110622SVN +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Nov 21 2011 Justin M. Forbes 0.0-0.20110621SVN +- Updates per review. + +* Tue Jun 21 2011 Justin M. Forbes 0.1-0.20110621SVN +- Created initial package