!5 add openEuler os information to osinfo-db

Merge pull request !5 from chenyaqiang/master
This commit is contained in:
openeuler-ci-bot 2020-08-08 17:17:55 +08:00 committed by Gitee
commit 452dc6517f
2 changed files with 96 additions and 3 deletions

View File

@ -0,0 +1,84 @@
diff -urN osinfo-db-20180920/os/openEuler.org/openEuler-20.03-LTS.xml osinfo-db-20180920_new/os/openEuler.org/openEuler-20.03-LTS.xml
--- osinfo-db-20180920/os/openEuler.org/openEuler-20.03-LTS.xml 1970-01-01 00:00:00.000000000 +0000
+++ osinfo-db-20180920_new/os/openEuler.org/openEuler-20.03-LTS.xml 2020-08-06 12:41:00.000000000 +0000
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<libosinfo version="0.0.1">
+
+ <os id="http://openeuler.org/openeuler-20.03-LTS">
+ <short-id>openEuler-20.03-LTS</short-id>
+ <name>openEuler-20.03-LTS</name>
+ <name xml:lang="ca">openEuler-20.03-LTS</name>
+ <name xml:lang="es">openEuler-20.03-LTS</name>
+ <name xml:lang="fr">openEuler-20.03-LTS</name>
+ <name xml:lang="id">openEuler-20.03-LTS</name>
+ <name xml:lang="it">openEuler-20.03-LTS</name>
+ <name xml:lang="pl">openEuler-20.03-LTS</name>
+ <name xml:lang="pt_BR">openEuler-20.03-LTS</name>
+ <name xml:lang="uk">openEuler-20.03-LTS</name>
+ <version>20.03-LTS</version>
+ <vendor>openEuler</vendor>
+ <vendor xml:lang="ca">openEuler</vendor>
+ <vendor xml:lang="de">openEuler</vendor>
+ <vendor xml:lang="es">openEuler</vendor>
+ <vendor xml:lang="fr">openEuler</vendor>
+ <vendor xml:lang="id">openEuler</vendor>
+ <vendor xml:lang="it">openEuler</vendor>
+ <vendor xml:lang="ja">openEuler</vendor>
+ <vendor xml:lang="pl">openEuler</vendor>
+ <vendor xml:lang="pt_BR">openEuler</vendor>
+ <vendor xml:lang="uk">openEuler</vendor>
+ <family>linux</family>
+ <distro>openEuler</distro>
+ <upgrades id="http://openeuler.org/openeuler-20.03-LTS"/>
+ <derives-from id="http://openeuler.org/openeuler-20.03-LTS"/>
+
+ <release-date>2020-03-26</release-date>
+
+ <variant id="server">
+ <name>openEuler-20.03-LTS Server</name>
+ </variant>
+
+ <media arch="x86_64">
+ <variant id="server"/>
+ <url>https://repo.openeuler.org/openEuler-20.03-LTS/ISO/x86_64/openEuler-20.03-LTS-x86_64-dvd.iso</url>
+ <iso>
+ <system-id>LINUX</system-id>
+ <volume-id>openEuler-20.03-LTS-x86_64-dvd</volume-id>
+ <system-id>LINUX</system-id>
+ <publisher-id>openEuler LINUX</publisher-id>
+ </iso>
+ <kernel>isolinux/vmlinuz</kernel>
+ <initrd>isolinux/initrd.img</initrd>
+ </media>
+
+ <media arch="aarch64">
+ <variant id="server"/>
+ <url>https://repo.openeuler.org/openEuler-20.03-LTS/ISO/aarch64/openEuler-20.03-LTS-aarch64-dvd.iso</url>
+ <iso>
+ <system-id>LINUX</system-id>
+ <volume-id>openEuler-20.03-LTS-aarch64-dvd</volume-id>
+ <system-id>LINUX</system-id>
+ <publisher-id>openEuler LINUX</publisher-id>
+ </iso>
+ <kernel>isolinux/vmlinuz</kernel>
+ <initrd>isolinux/initrd.img</initrd>
+ </media>
+
+ <resources arch="all">
+ <minimum>
+ <n-cpus>1</n-cpus>
+ <cpu>1000000000</cpu>
+ <ram>1073741824</ram>
+ <storage>10737418240</storage>
+ </minimum>
+
+ <recommended>
+ <cpu>1000000000</cpu>
+ <ram>1073741824</ram>
+ <storage>10737418240</storage>
+ </recommended>
+ </resources>
+
+ </os>
+</libosinfo>

View File

@ -1,11 +1,12 @@
Name: osinfo-db Name: osinfo-db
Version: 20180920 Version: 20180920
Summary: osinfo database files Summary: osinfo database files
Release: 2 Release: 3
License: LGPLv2+ License: LGPLv2+
URL: http://libosinfo.org/ URL: http://libosinfo.org/
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz Source0: https://gitlab.com/libosinfo/osinfo-db/-/archive/%{name}-%{version}.tar.xz
Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc Source1: https://gitlab.com/libosinfo/osinfo-db/-/archive/%{name}-%{version}.tar.xz.asc
patch0001: 0001-Add-openEuler-info-to-osinfo-db.patch
BuildRequires: intltool osinfo-db-tools BuildRequires: intltool osinfo-db-tools
Requires: hwdata Requires: hwdata
@ -15,6 +16,11 @@ osinfo-db provides the database files for use with the libosinfo
library. It provides information about guest operating systems for library. It provides information about guest operating systems for
use with virtualization provisioning tools. use with virtualization provisioning tools.
%prep
%autosetup -p1
rm -rf %{_sourcedir}/%{name}-%{version}.tar.xz
tar -cJvf %{_sourcedir}/%{name}-%{version}.tar.xz ./
%install %install
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
@ -29,5 +35,8 @@ osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
%{_datadir}/osinfo/LICENSE %{_datadir}/osinfo/LICENSE
%changelog %changelog
* Sat 08 2020 chenyaqiang <chenyaqiang@huawei.com> - 20180920-3
- add openEuler osinfo files
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 20180920-2 * Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 20180920-2
- Package init - Package init