From a74270fda0879e2443a7db858bab54088aaa91ef Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:19:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 20230308-1mamba;Tue Mar 28 2023] --- README.md | 2 ++ osinfo-db.spec | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 osinfo-db.spec diff --git a/README.md b/README.md index 07c79a2..23cba30 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # osinfo-db +Osinfo database of information about operating systems for virtualization provisioning tools. + diff --git a/osinfo-db.spec b/osinfo-db.spec new file mode 100644 index 0000000..b834e43 --- /dev/null +++ b/osinfo-db.spec @@ -0,0 +1,39 @@ +Name: osinfo-db +Version: 20230308 +Release: 1mamba +Summary: Osinfo database of information about operating systems for virtualization provisioning tools +Group: System/Database +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://libosinfo.org/ +Source: https://releases.pagure.org/libosinfo/osinfo-db-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: osinfo-db-tools + +%description +Osinfo database of information about operating systems for virtualization provisioning tools. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +osinfo-db-import --root %{buildroot} --system %{SOURCE0} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_datadir}/osinfo +%{_datadir}/osinfo/* +%doc LICENSE + +%changelog +* Tue Mar 28 2023 Silvan Calarco 20230308-1mamba +- package created using the webbuild interface