Name: libosinfo Version: 1.2.0 Release: 1mamba Summary: API for managing information about operating systems, hypervisors and virtual devices Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://libosinfo.org/ Source: https://releases.pagure.org/libosinfo/libosinfo-%{version}.tar.gz #Source: https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libblkid-devel BuildRequires: libffi-devel BuildRequires: libglib-devel BuildRequires: liblzma-devel BuildRequires: libmount-devel BuildRequires: libpcre-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: libuuid-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description libosinfo is a GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support. It includes a database containing device metadata and provides APIs to match/identify optimal devices for deploying an operating system on a hypervisor. Via the magic of GObject Introspection, the API is available in all common programming languages with demos for javascript (GJS/Seed) and python (PyGObject). Also provided are Vala bindings. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. %package tools Group: System/Tools Summary: Utility applications for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. %package apidocs Group: Documentation Summary: %{name} API documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gtk-doc %description apidocs This package includes the %{name} API documentation. %debug_package %prep %setup -q %build %configure --enable-gtk-doc %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_libdir}/libosinfo-1.0.so.* %{_libdir}/girepository-1.0/Libosinfo-1.0.typelib #%dir %{_datadir}/libosinfo #%dir %{_datadir}/libosinfo/db #%{_datadir}/libosinfo/db/* %doc AUTHORS COPYING COPYING.LIB %files devel %defattr(-,root,root) %dir %{_includedir}/libosinfo-1.0 %dir %{_includedir}/libosinfo-1.0/osinfo %{_includedir}/libosinfo-1.0/osinfo/*.h %{_libdir}/libosinfo-1.0.la %{_libdir}/libosinfo-1.0.so %{_libdir}/pkgconfig/libosinfo-1.0.pc %{_datadir}/gir-1.0/Libosinfo-1.0.gir #%{_datadir}/libosinfo/schemas/libosinfo.rng %{_datadir}/vala/vapi/libosinfo-1.0.vapi %doc ChangeLog NEWS README %files tools %defattr(-,root,root) #%{_bindir}/osinfo-db-validate %{_bindir}/osinfo-detect %{_bindir}/osinfo-install-script %{_bindir}/osinfo-query #%{_mandir}/man1/osinfo-db-validate.1* %{_mandir}/man1/osinfo-detect.1* %{_mandir}/man1/osinfo-install-script.1* %{_mandir}/man1/osinfo-query.1* %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/Libosinfo %{_datadir}/gtk-doc/html/Libosinfo/* %changelog * Sun Sep 09 2018 Automatic Build System 1.2.0-1mamba - automatic version update by autodist * Thu Oct 13 2016 Automatic Build System 1.0.0-1mamba - automatic version update by autodist * Wed Jul 13 2016 Automatic Build System 0.3.1-1mamba - automatic version update by autodist * Sun Jan 31 2016 Automatic Build System 0.3.0-1mamba - automatic version update by autodist * Sat Jun 06 2015 Automatic Build System 0.2.12-1mamba - automatic update by autodist * Fri Sep 12 2014 Silvan Calarco 0.2.11-1mamba - package created using the webbuild interface