597681
# -*- rpm-spec -*-
597681
597681
Summary: A library for managing OS information for virtualization
597681
Name: libosinfo
9dc9b6
Version: 1.9.0
6497cf
Release: 3%{?dist}
597681
License: LGPLv2+
318f5c
Source: https://releases.pagure.io/%{name}/%{name}-%{version}.tar.xz
597681
URL: https://libosinfo.org/
597681
597681
### Patches ###
6497cf
Patch0001: 0001-loader-add-check-for-unknown-file-type.patch
6497cf
Patch0002: 0002-loader-work-around-lstat-EACCES-regression-in-_g_loc.patch
597681
318f5c
BuildRequires: meson
318f5c
BuildRequires: gcc
318f5c
BuildRequires: gtk-doc
318f5c
BuildRequires: gettext-devel
318f5c
BuildRequires: glib2-devel
597681
BuildRequires: libxml2-devel >= 2.6.0
597681
BuildRequires: libxslt-devel >= 1.0.0
318f5c
BuildRequires: libsoup-devel
597681
BuildRequires: vala
597681
BuildRequires: /usr/bin/pod2man
597681
BuildRequires: hwdata
597681
BuildRequires: gobject-introspection-devel
318f5c
BuildRequires: osinfo-db
318f5c
BuildRequires: git
597681
Requires: hwdata
318f5c
Requires: osinfo-db
597681
Requires: osinfo-db-tools
597681
597681
%description
597681
libosinfo is a library that allows virtualization provisioning tools to
597681
determine the optimal device settings for a hypervisor/operating system
597681
combination.
597681
597681
%package devel
597681
Summary: Libraries, includes, etc. to compile with the libosinfo library
597681
Requires: %{name} = %{version}-%{release}
597681
Requires: pkgconfig
597681
Requires: glib2-devel
318f5c
# -vala subpackage removed in F30
318f5c
Obsoletes: libosinfo-vala < 1.3.0-3
318f5c
Provides: libosinfo-vala = %{version}-%{release}
597681
597681
%description devel
597681
libosinfo is a library that allows virtualization provisioning tools to
597681
determine the optimal device settings for a hypervisor/operating system
597681
combination.
597681
597681
Libraries, includes, etc. to compile with the libosinfo library
597681
597681
%prep
f40e4d
%autosetup -S git
597681
597681
%build
318f5c
%meson \
318f5c
    -Denable-gtk-doc=true \
318f5c
    -Denable-tests=true \
318f5c
    -Denable-introspection=enabled \
318f5c
    -Denable-vala=enabled
9dc9b6
%meson_build
597681
597681
%install
318f5c
%meson_install
597681
597681
%find_lang %{name}
597681
597681
%check
318f5c
%meson_test
597681
597681
%ldconfig_scriptlets
597681
597681
%files -f %{name}.lang
597681
%doc AUTHORS ChangeLog COPYING.LIB NEWS README
597681
%{_bindir}/osinfo-detect
597681
%{_bindir}/osinfo-query
597681
%{_bindir}/osinfo-install-script
597681
%{_mandir}/man1/osinfo-detect.1*
597681
%{_mandir}/man1/osinfo-query.1*
597681
%{_mandir}/man1/osinfo-install-script.1*
597681
%{_libdir}/%{name}-1.0.so.*
597681
%{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
597681
597681
%files devel
597681
%{_libdir}/%{name}-1.0.so
597681
%dir %{_includedir}/%{name}-1.0/
597681
%dir %{_includedir}/%{name}-1.0/osinfo/
597681
%{_includedir}/%{name}-1.0/osinfo/*.h
597681
%{_libdir}/pkgconfig/%{name}-1.0.pc
597681
%{_datadir}/gir-1.0/Libosinfo-1.0.gir
597681
%{_datadir}/gtk-doc/html/Libosinfo
597681
318f5c
%dir %{_datadir}/vala
318f5c
%dir %{_datadir}/vala/vapi
318f5c
%{_datadir}/vala/vapi/libosinfo-1.0.deps
597681
%{_datadir}/vala/vapi/libosinfo-1.0.vapi
597681
597681
%changelog
6497cf
* Fri Feb 11 2022 Victor Toso <victortoso@redhat.com> - 1.9.0-3
6497cf
- Resolves: rhbz#2053272
6497cf
6497cf
* Thu Dec 16 2021 Victor Toso <victortoso@redhat.com> - 1.9.0-2
6497cf
- Resolves: rhbz#1902720
6497cf
9dc9b6
* Thu Feb 04 2021 Danilo C. L. de Paula <ddepaula@redhat.com> - 1.9.0-1
9dc9b6
- Resolves: rhbz#1903299 - Rebase to latest Fedora
9dc9b6
318f5c
* Sun May 31 2020 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.8.0-1
318f5c
- Resolves: rhbz#1815158 - Rebase to libosinfo the latest upstream release
318f5c
- Resolves: rhbz#1754394 - Provide information about UEFI support for guests (libosinfo)
318f5c
- Resolves: rhbz#1032520 - WHQL'ed drivers should be made available for Boxes/libosinfo users
318f5c
f40e4d
* Wed Jul 10 2019 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.5.0-3
f40e4d
- Resolves: rhbz#1727843 - CVE-2019-13313 libosinfo: osinfo-install-script
f40e4d
                           option leaks password via command line argument
f40e4d
f40e4d
* Wed May 22 2019 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.5.0-2
f40e4d
- Resolves: rhbz#1712425 - New defects found in libosinfo-1.5.0-1.el8
f40e4d
f40e4d
* Fri May 10 2019 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.5.0-1
f40e4d
- Update to 1.5.0 release
f40e4d
- Resolves: rhbz#1699988 - Rebase to the latest upstream release
f40e4d
597681
* Fri Nov 30 2018 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.2.0-5
597681
- Related: rhbz#1650197 - Fix volume-ids for rhel8.0 entry
597681
597681
* Wed Nov 14 2018 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.2.0-4
597681
- Resolves: rhbz#1649632 - libosinfo test suite should collect+report all
597681
                           failures, not exit on first error
597681
597681
* Mon Oct 08 2018 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.2.0-3
597681
- Related: rhbz#1628027 - Revert ca945cdf04f
597681
597681
* Fri Sep 21 2018 Fabiano FidĂȘncio <fidencio@redhat.com> - 1.2.0-2
597681
- Resolves: rhbz#1628027 - Force anchored patterns when matching regex
597681
597681
* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 1.2.0-1
597681
- Update to 1.2.0 release
597681
597681
* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-2
597681
- Switch to %%ldconfig_scriptlets
597681
597681
* Tue Aug 15 2017 Daniel P. Berrange <berrange@redhat.com> 1.1.0-1
597681
- New upstream release 1.1.0
597681
597681
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
597681
597681
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
597681
597681
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
597681
597681
* Fri Oct  7 2016 Daniel P. Berrange <berrange@redhat.com> 1.0.0-1
597681
- New upstream release 1.0.0
597681
597681
* Fri Jul  1 2016 Daniel P. Berrange <berrange@redhat.com> 0.3.1-1
597681
- New upstream release 0.3.1
597681
597681
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
597681
597681
* Fri Jan  8 2016 Zeeshan Ali <zeenix@redhat.com> 0.3.0-1
597681
- New upstream release 0.3.0
597681
597681
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.12-2
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
597681
597681
* Thu May 28 2015 Zeeshan Ali <zeenix@redhat.com> 0.2.12-1
597681
- New upstream release 0.2.12
597681
597681
* Mon Sep 22 2014 Cole Robinson <crobinso@redhat.com> - 0.2.11-2
597681
- os: Add Fedora 21
597681
597681
* Tue Aug 26 2014 Christophe Fergeau <cfergeau@redhat.com> 0.2.11-1
597681
- New upstream release 0.2.11
597681
597681
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.9-4
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
597681
597681
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.9-3
597681
- Rebuilt for gobject-introspection 1.41.4
597681
597681
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.9-2
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
597681
597681
* Wed Dec 18 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.2.9-1
597681
- New upstream release 0.2.9
597681
597681
* Thu Nov 28 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.8-1
597681
- New upstream release 0.2.8
597681
597681
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
597681
597681
* Tue May 14 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.7-1
597681
- New upstream release 0.2.7
597681
597681
* Thu Mar 21 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.6-1
597681
- New upstream release 0.2.6
597681
597681
* Wed Mar 06 2013 Christophe Fergeau <cfergeau@redhat.com> - 0.2.5-2
597681
- BuildRequires /usr/bin/pod2man as this will automatically pick the right
597681
  package rather than conditionally requiring a package that is only
597681
  available in f19+
597681
- Do not Requires: udev when building libosinfo without its udev rule
597681
  (which is done on f19+)
597681
597681
* Tue Mar 05 2013 Christophe Fergeau <cfergeau@redhat.com> 0.2.5-1
597681
- New upstream release 0.2.5
597681
- Disable udev rule as it's no longer required with newer
597681
  systemd/util-linux
597681
597681
* Tue Feb 12 2013 Cole Robinson <crobinso@redhat.com> - 0.2.3-2
597681
- Fix osinfo-detect crash with non-bootable media (bz #901910)
597681
597681
* Mon Jan 14 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.3-1
597681
- New upstream release 0.2.3
597681
597681
* Thu Dec 20 2012 Christophe Fergeau <cfergeau@redhat.com> - 0.2.2-1
597681
- New upstream release 0.2.2
597681
597681
* Fri Oct 12 2012 Zeeshan Ali <zeenix@redhat.com> - 0.2.1-1
597681
- Fix and simplify udev rule.
597681
- Fedora:
597681
  - Fix minimum RAM requirements for F16 and F17.
597681
- Add data on:
597681
  - Fedora 18
597681
  - GNOME 3.6
597681
  - Ubuntu 12.10
597681
- Fixes to doc build.
597681
- Install script:
597681
  - Add get_config_param method.
597681
  - Differenciate between expected/output script names.
597681
  - Add more utility functions.
597681
- Add 'installer-reboots' parameter to medias.
597681
- osinfo-detect does not die of DB loading errors anymore.
597681
- More type-specific entity value getters/setters.
597681
- Fixe and update RNG file.
597681
- Add 'subsystem' property/attribute to devices.
597681
597681
* Mon Sep 03 2012 Christophe Fergeau <cfergeau@redhat.com> - 0.2.0-1
597681
- Update to 0.2.0 release.
597681
597681
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
597681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
597681
597681
* Tue Jun 12 2012 Zeeshan Ali <zeenix@redhat.com> - 0.1.2-1
597681
- Update to 0.1.2 release.
597681
597681
* Thu Apr 12 2012 Zeeshan Ali <zeenix@redhat.com> - 0.1.1-1
597681
- Update to 0.1.1 release.
597681
597681
* Wed Mar 14 2012 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-2
597681
- Remove obsolete perl based scripts (rhbz #803086)
597681
597681
* Wed Feb 08 2012 Christophe Fergeau <cfergeau@redhat.com> - 0.1.0-1
597681
- Update to 0.1.0 release
597681
597681
* Tue Jan  17 2012 Zeeshan Ali <zeenix@redhat.com> - 0.0.5-1
597681
- Update to 0.0.5 release
597681
597681
* Tue Jan  3 2012 Daniel P. Berrange <berrange@redhat.com> - 0.0.4-2
597681
- Remove pointless gir conditionals
597681
597681
* Wed Dec 21 2011 Daniel P. Berrange <berrange@redhat.com> - 0.0.4-1
597681
- Update to 0.0.4 release
597681
597681
* Thu Nov 24 2011 Daniel P. Berrange <berrange@redhat.com> - 0.0.2-1
597681
- Initial package
597681