[sgabios] Initial package commit
Justin M. Forbes
jforbes at fedoraproject.org
Mon Dec 19 16:38:12 UTC 2011
commit 4be6a7115d4f9edd2e4d4c02b9fab8022254cede
Author: Justin M. Forbes <jforbes at redhat.com>
Date: Mon Dec 19 10:09:52 2011 -0600
Initial package commit
.gitignore | 1 +
sgabios.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..38ac8c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sgabios-0-svnr8.tar.gz
diff --git a/sgabios.spec b/sgabios.spec
new file mode 100644
index 0000000..ac91ef5
--- /dev/null
+++ b/sgabios.spec
@@ -0,0 +1,81 @@
+Name: sgabios
+Version: 0
+Release: 0.20110621SVN%{?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
+
+BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
+
+ExclusiveArch: %{ix86} x86_64
+
+Requires: %{name}-bin = %{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
+
+%build
+%ifarch %{ix86} x86_64
+export CFLAGS="$RPM_OPT_FLAGS"
+make
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/sgabios
+%ifarch %{ix86} x86_64
+install -m 0644 sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios
+%endif
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING design.txt
+
+%ifarch %{ix86} x86_64
+%files bin
+%defattr(-,root,root,-)
+%dir %{_datadir}/sgabios/
+%{_datadir}/sgabios/sgabios.bin
+%endif
+
+
+%changelog
+* Mon Nov 21 2011 Justin M. Forbes <jforbes at redhat.com> 0.0-0.20110621SVN
+- Updates per review.
+
+* Tue Jun 21 2011 Justin M. Forbes <jforbes at redhat.com> 0.1-0.20110621SVN
+- Created initial package
diff --git a/sources b/sources
index e69de29..b97b8a2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+98ab8671f7470cf76b42489277283d1f sgabios-0-svnr8.tar.gz
More information about the scm-commits
mailing list