4c2918
# -*- rpm-spec -*-
4c2918
0ea6a9
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
0ea6a9
%define ExtractedSource %{name}-%{version}
0ea6a9
4c2918
Summary: osinfo database files
4c2918
Name: osinfo-db
f3d26f
Version: 20220727
0ea6a9
Release: 2%{?dist}
4c2918
License: LGPLv2+
4c2918
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
4c2918
Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc
4c2918
URL: http://libosinfo.org/
0ea6a9
Patch0001: 0001-rhel-Add-RHEL-8.7-prerelease.patch
0ea6a9
Patch0002: 0002-rhel-Add-RHEL-9.1-prerelease.patch
4c2918
BuildRequires: intltool
0ea6a9
BuildRequires: git-core
4c2918
BuildRequires: osinfo-db-tools
4c2918
BuildArch: noarch
4c2918
Requires: hwdata
4c2918
4c2918
%description
4c2918
The osinfo database provides information about operating systems and
4c2918
hypervisor platforms to facilitate the automated configuration and
4c2918
provisioning of new virtual machines
4c2918
0ea6a9
%prep
0ea6a9
%autosetup -S git_am
0ea6a9
0ea6a9
%build
0ea6a9
rm -rf ../%{ExtractedSource}/.git
0ea6a9
tar -cvJf %{PatchedSource} ../%{ExtractedSource}/
0ea6a9
4c2918
%install
0ea6a9
osinfo-db-import  --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
8a4997
%if 0%{?rhel}
8a4997
# Remove the upstream virtio-win / spice-guest-tools drivers
8a4997
find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} +
8a4997
%endif
4c2918
4c2918
%files
4c2918
%dir %{_datadir}/osinfo/
4c2918
%{_datadir}/osinfo/VERSION
4c2918
%{_datadir}/osinfo/LICENSE
4c2918
%{_datadir}/osinfo/datamap
4c2918
%{_datadir}/osinfo/device
4c2918
%{_datadir}/osinfo/os
4c2918
%{_datadir}/osinfo/platform
4c2918
%{_datadir}/osinfo/install-script
4c2918
%{_datadir}/osinfo/schema
4c2918
4c2918
%changelog
0ea6a9
* Tue Aug 02 2022 Victor Toso <victortoso@redhat.com> - 20220727-2
0ea6a9
- Add prereleases: rhel-8.7 and rhel-9.1
0ea6a9
  Resolves: rhbz#2103908
0ea6a9
f3d26f
* Thu Jul 28 2022 Victor Toso <victortoso@redhat.com> - 20220727-1
f3d26f
- Update to new release (v20220727)
f3d26f
  Resolves: rhbz#2083663
f3d26f
d58e32
* Tue May 17 2022 Victor Toso <victortoso@redhat.com> - 20220516-1
d58e32
- Update to new release (v20220516)
d58e32
  Resolves: rhbz#2083663
d58e32
5d0d05
* Thu Dec 16 2021 Victor Toso <victortoso@redhat.com> - 20211216-1
5d0d05
- Update to new release (v20211216)
5d0d05
  Resolves: rhbz#1976818
af7df0
e8e2e3
* Mon Aug 09 2021 Fabiano Fidêncio <fidencio@redhat.com> - 20210809-1
e8e2e3
- Update to new release (v20210806)
e8e2e3
8a4997
* Mon Feb 15 2021 Fabiano Fidêncio <fidencio@redhat.com> - 20210215-1
5d0d05
- Resolves: rhbz#1903300 - rebase osinfo-db to latest fedora
8a4997
5d0d05
* Thu Feb 04 2021 Danilo C. L. de Paula <ddepaula@redhat.com> - 20201218-3
5d0d05
- Resolves: rhbz#1903300 - rebase osinfo-db to latest fedora
c46cb6
af7df0
* Thu Aug 13 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200813-1
5d0d05
- Update to v20200813 release
5d0d05
- Related: rhbz#1837756 - osinfo-db is out of date
5d0d05
- Resolves: rhbz#1868030 - 'osinfo-query os' is missing latest version of Ubuntu and Oracle Linux
af7df0
5d0d05
* Tue Aug 04 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200804-2
5d0d05
- Remove duplicated virtio1.0-fs device
5d0d05
- Related: rhbz#1837756 - osinfo-db is out of date
af7df0
5d0d05
* Tue Aug 04 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200804-1
5d0d05
- Update to v20200804 release
5d0d05
- Related: rhbz#1837756 - osinfo-db is out of date
b74e99
5d0d05
* Sun May 31 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200529-1
5d0d05
- Update to v20200529 release
5d0d05
- Resolves: rhbz#1837756 - osinfo-db is out of date
5d0d05
- Resolves: rhbz#1707119 - Provide information about UEFI support for guests (osinfo-db)
f4426b
4c2918
* Mon Feb 03 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200203-1
5d0d05
- Update to v20200203 release
5d0d05
- Resolves: rhbz#1780529 - Update to the latest upstream release
af7df0
5d0d05
* Tue Dec 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20191125-1
5d0d05
- Updated to v20191125 release
5d0d05
- Resolves: rhbz#1780529 - Update to the latest upstream release
5d0d05
- Add rhel8.2 & rhel7.8 entries
5d0d05
- Remove upstream virtio-win / spice-guest-tools drivers
af7df0
5d0d05
* Wed Jun 12 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190611-1
5d0d05
- Update to v20190611 release
5d0d05
- Resolves: rhbz#1699990 - Rebase to the latest upstream release
af7df0
5d0d05
* Thu May 23 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190504-2
5d0d05
- Add rhel-8.1 & rhel-7.7 entry
5d0d05
- Resolves: rhbz#1713245 - Add rhel-8.1 and rhel-7.7 entries
af7df0
5d0d05
* Fri May 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190504-1
5d0d05
- Update to v20190504 release
5d0d05
- Resolves: rhbz#1699990 - Rebase to the latest upstream release
5d0d05
- Resolves: rhbz#1689817 - virt-manager cannot detect operating system name
5d0d05
                           for rhel8.0.0 tree automatically
5d0d05
- Resolves: rhbz#1703480 - rhel8.0.x is not detected as rhel8.0
5d0d05
- Resolves: rhbz#1685364 - Add win2019 to libosinfo
af7df0
5d0d05
* Fri Dec 07 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-8
5d0d05
- Resolves: rhbz#1656917 - backport change to support Fedora 29 Silverblue
af7df0
5d0d05
* Fri Nov 16 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-7
5d0d05
- Resolves: rhbz#1650197 - Fix the volume-ids of rhel8.0 entry
5d0d05
- Resolves: rhbz#1650459 - test-mediauris is failing because of ubuntu change
5d0d05
- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
af7df0
5d0d05
* Wed Nov 14 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-6
5d0d05
- Related: rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
af7df0
5d0d05
* Sat Nov 03 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-5
5d0d05
- Related:  rhbz#1580232 - Add support to RHEL7.6 and RHEL8.0
af7df0
5d0d05
* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-4
5d0d05
- Related: rhbz#1644738 - Fix a typo in the Fedora 29 XML
4c2918
5d0d05
* Thu Nov 01 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-3
5d0d05
- Resolves: rhbz#1644738 - Latest released Fedora 29 support in RHEL8 instead
5d0d05
                           of Fedora 29 Beta
af7df0
5d0d05
* Mon Oct 22 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-2
5d0d05
- Resolves: rhbz#1640458 - Debian Testing should derive-from/upgrade Debian 9
af7df0
5d0d05
* Thu Oct 11 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20181011-1
5d0d05
- Related: rhbz#1627271 - Update to 20181011 release
af7df0
5d0d05
* Fri Sep 21 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180920-1
5d0d05
- Related: rhbz#1627271 - Update to 20180920 release
af7df0
5d0d05
* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180903-1
5d0d05
- Related: rhbz#1627271 - Update to 20180903 release
4c2918
5d0d05
* Mon Sep 10 2018 Fabiano Fidêncio <fidencio@redhat.com> - 20180612-2
5d0d05
- Resolves: rhbz#1580232 - Add support to RHEL-7.6 and RHEL-8.0
4c2918
5d0d05
* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 20180612-1
5d0d05
- Update to 20180612 release
4c2918
4c2918
* Mon Apr 16 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180416-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 25 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180325-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 18 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180318-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 11 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180311-1
4c2918
- Update to new release
4c2918
4c2918
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170813-2
4c2918
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4c2918
4c2918
* Sun Aug 13 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170813-1
4c2918
- Update to new release
4c2918
4c2918
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170423-2
4c2918
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4c2918
4c2918
* Sun Apr 23 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170423-1
4c2918
- Update to new release
4c2918
4c2918
* Sun Mar 26 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170326-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Feb 25 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170225-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Feb 11 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170211-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170121-3
4c2918
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4c2918
4c2918
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-2
4c2918
- 20170121-1 used an incorrect tarball
4c2918
4c2918
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Jan 14 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170114-1
4c2918
- Update to new release
4c2918
4c2918
* Sat Jan 07 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170107-1
4c2918
- Update to new release
4c2918
4c2918
* Wed Oct 26 2016 Daniel P. Berrange <berrange@redhat.com> - 20161026-1
4c2918
- Update to new release
4c2918
4c2918
* Fri Jul 29 2016 Daniel P. Berrange <berrange@redhat.com> - 20160728-1
4c2918
- Initial package after split from libosinfo (rhbz #1361596)