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