!1 package init

Merge pull request !1 from ultra_planet/master
This commit is contained in:
openeuler-ci-bot 2020-07-20 09:58:35 +08:00 committed by Gitee
commit f936f6eb8d
3 changed files with 48 additions and 0 deletions

Binary file not shown.

43
sgabios.spec Normal file
View File

@ -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 <lingsheng@huawei.com> - 1:0.20180715.git-2
- package init

5
sgabios.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/qemu/sgabios
version_control: github
src_repo: qemu/sgabios
tag_prefix: NA
seperator: "."