diff --git a/sgabios-20180715-git72f39d4.tar.xz b/sgabios-20180715-git72f39d4.tar.xz new file mode 100644 index 0000000..533714f Binary files /dev/null and b/sgabios-20180715-git72f39d4.tar.xz differ diff --git a/sgabios.spec b/sgabios.spec new file mode 100644 index 0000000..1dff49d --- /dev/null +++ b/sgabios.spec @@ -0,0 +1,43 @@ +%global debug_package %{nil} + +Name: sgabios +Epoch: 1 +Version: 0.20180715git +Release: 2 +Summary: Serial Graphics Adapter BIOS +License: ASL 2.0 +URL: https://github.com/qemu/sgabios +# There are no upstream releases. This archive is prepared as follows: +# git clone https://github.com/qemu/sgabios +# cd sgabios +# hash=`git log -1 --format='%h'` +# date=`git log -1 --format='%cd' --date=short | tr -d -` +# git archive --prefix sgabios-${date}-git${hash}/ ${hash} | xz -7e > ../openbios-${date}-git${hash}.tar.xz +Source0: sgabios-20180715-git72f39d4.tar.xz +BuildRequires: gcc +ExclusiveArch: x86_64 +Buildarch: noarch +Provides: %{name}-bin = %{epoch}:%{version}-%{release} +Obsoletes: %{name}-bin < %{epoch}:%{version}-%{release} +%description +The Serial Graphics Adapter BIOS provides a means for legacy pc software to communicate with +an attached serial console as if a VGA card is attached. + +%prep +%autosetup -p1 -n sgabios-20180715-git72f39d4 + +%build +unset MAKEFLAGS +make + +%install +install -m 0644 -D sgabios.bin $RPM_BUILD_ROOT%{_datadir}/sgabios/sgabios.bin + +%files +%doc COPYING design.txt +%dir %{_datadir}/sgabios/ +%{_datadir}/sgabios/sgabios.bin + +%changelog +* Fri Apr 24 2020 lingsheng - 1:0.20180715.git-2 +- package init diff --git a/sgabios.yaml b/sgabios.yaml new file mode 100644 index 0000000..b3ec3db --- /dev/null +++ b/sgabios.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/qemu/sgabios +version_control: github +src_repo: qemu/sgabios +tag_prefix: NA +seperator: "."