osinfo-db-tools/osinfo-db-tools.spec

60 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.10.0-1mamba
- package created using the webbuild interface