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