diff --git a/README.md b/README.md index 1919c8c..5cd8288 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # osinfo-db-tools +libosinfo is a project providing information about operating systems, hypervisors and the (virtual) hardware devices they can support. +This package contains a set of tools to assist administrators and developers in managing the database. + diff --git a/osinfo-db-tools.spec b/osinfo-db-tools.spec new file mode 100644 index 0000000..2b1ab7a --- /dev/null +++ b/osinfo-db-tools.spec @@ -0,0 +1,59 @@ +Name: osinfo-db-tools +Version: 1.10.0 +Release: 1mamba +Summary: A set of tools to assist administrators and developers in managing the osinfo database +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://libosinfo.org/ +Source: https://releases.pagure.org/libosinfo/osinfo-db-tools-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libarchive-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libjson-glib-devel +BuildRequires: libsoup-devel +BuildRequires: libxml2-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +libosinfo is a project providing information about operating systems, hypervisors and the (virtual) hardware devices they can support. +This package contains a set of tools to assist administrators and developers in managing the database. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/osinfo-db-export +%{_bindir}/osinfo-db-import +%{_bindir}/osinfo-db-path +%{_bindir}/osinfo-db-validate +%{_mandir}/man1/osinfo-db-export.1* +%{_mandir}/man1/osinfo-db-import.1* +%{_mandir}/man1/osinfo-db-path.1* +%{_mandir}/man1/osinfo-db-validate.1* +%doc COPYING + +%changelog +* Tue Mar 28 2023 Silvan Calarco 1.10.0-1mamba +- package created using the webbuild interface