3f6fe9
# -*- rpm-spec -*-
3f6fe9
cc481f
%define PatchedSource ../%{name}-%{version}-patched.tar.xz
cc481f
%define ExtractedSource %{name}-%{version}
cc481f
3f6fe9
Summary: osinfo database files
3f6fe9
Name: osinfo-db
9e13b0
Version: 20221130
9e13b0
Release: 1%{?dist}
3f6fe9
License: LGPLv2+
3f6fe9
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
3f6fe9
Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc
3f6fe9
URL: http://libosinfo.org/
9e13b0
Patch0001: 0001-Add-prereleases-rhel-8.8-and-rhel-9.2.patch
3f6fe9
BuildRequires: intltool
cc481f
BuildRequires: git-core
3f6fe9
BuildRequires: osinfo-db-tools
3f6fe9
BuildArch: noarch
3f6fe9
Requires: hwdata
3f6fe9
3f6fe9
%description
3f6fe9
The osinfo database provides information about operating systems and
3f6fe9
hypervisor platforms to facilitate the automated configuration and
3f6fe9
provisioning of new virtual machines
3f6fe9
cc481f
%prep
cc481f
%autosetup -S git_am
cc481f
cc481f
%build
cc481f
rm -rf ../%{ExtractedSource}/.git
cc481f
tar -cvJf %{PatchedSource} ../%{ExtractedSource}/
cc481f
3f6fe9
%install
cc481f
osinfo-db-import  --root %{buildroot} --dir %{_datadir}/osinfo %{PatchedSource}
3f6fe9
%if 0%{?rhel}
3f6fe9
# Remove the upstream virtio-win / spice-guest-tools drivers
3f6fe9
find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} +
3f6fe9
%endif
3f6fe9
3f6fe9
%files
3f6fe9
%dir %{_datadir}/osinfo/
3f6fe9
%{_datadir}/osinfo/VERSION
3f6fe9
%{_datadir}/osinfo/LICENSE
3f6fe9
%{_datadir}/osinfo/datamap
3f6fe9
%{_datadir}/osinfo/device
3f6fe9
%{_datadir}/osinfo/os
3f6fe9
%{_datadir}/osinfo/platform
3f6fe9
%{_datadir}/osinfo/install-script
3f6fe9
%{_datadir}/osinfo/schema
3f6fe9
3f6fe9
%changelog
9e13b0
* Wed Nov 30 2022 Victor Toso <victortoso@redhat.com> - 20221130-1
9e13b0
- Update for new release (v20221130)
9e13b0
  Resolves: rhbz#2135751
9e13b0
- Add rhel-8.8 and rhel-9.2 prereleases
9e13b0
  Related: rhbz#2135751
cc481f
cc481f
* Tue Aug 02 2022 Victor Toso <victortoso@redhat.com> - 20220727-2
cc481f
- Add prereleases: rhel-8.7 and rhel-9.1
cc481f
  Resolves: rhbz#2112406
cc481f
cc481f
* Thu Jul 28 2022 Victor Toso <victortoso@redhat.com> - 20220727-1
cc481f
- Update for new release (v20220727)
cc481f
- Resolves: bz#2083660
cc481f
cc481f
* Tue May 17 2022 Victor Toso <victortoso@redhat.com> - 20220516-1
cc481f
- Update for new release (v20220516)
cc481f
- Resolves: bz#2083660
cc481f
3f6fe9
* Thu Dec 16 2021 Victor Toso <victortoso@redhat.com> - 20211216-1
3f6fe9
- Update for new release (v20211216)
3f6fe9
- Resolves: bz#2003156
3f6fe9
3f6fe9
* Thu Aug 19 2021 Miroslav Rezanina <mrezanin@redhat.com> - 20210809-1
3f6fe9
- Update for new release (v20210809) [bz#1970881]
3f6fe9
- Resolves: bz#1970881
3f6fe9
  ([RHEL-9] virt-install --location fails with Could not find an installable distribution at URL '/var/lib/libvirt/images/boot.iso')
3f6fe9
3f6fe9
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20210312-3
3f6fe9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
3f6fe9
  Related: rhbz#1991688
3f6fe9
3f6fe9
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20210312-2
3f6fe9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
3f6fe9
3f6fe9
* Fri Mar 12 2021 Fabiano Fidêncio <fidencio@redhat.com> - 20210312-1
3f6fe9
- Update to new release (v20210312)
3f6fe9
3f6fe9
* Mon Feb 15 2021 Fabiano Fidêncio <fidencio@redhat.com> - 20210215-1
3f6fe9
- Don't distribute upstream virtio-win drivers on RHEL
3f6fe9
- Update to new release (v20210215)
3f6fe9
3f6fe9
* Tue Feb 02 2021 Fabiano Fidêncio <fidencio@redhat.com> - 20210202-1
3f6fe9
- Update to new release (v20210202)
3f6fe9
3f6fe9
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20201218-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3f6fe9
3f6fe9
* Fri Dec 18 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20201218-1
3f6fe9
- Update to new release (v20201218)
3f6fe9
3f6fe9
* Thu Nov 19 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20201119-1
3f6fe9
- Update to new release (v20201119)
3f6fe9
3f6fe9
* Thu Oct 15 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20201015-1
3f6fe9
- Update to new release (v20201015)
3f6fe9
3f6fe9
* Sun Oct 11 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20201011-1
3f6fe9
- Update to new release (v20201011)
3f6fe9
3f6fe9
* Thu Aug 13 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200813-1
3f6fe9
- Update to new release (v20200813)
3f6fe9
3f6fe9
* Tue Aug 04 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200804-1
3f6fe9
- Update to new release (V20200804)
3f6fe9
3f6fe9
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200529-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3f6fe9
3f6fe9
* Sat May 30 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200529-1
3f6fe9
- Update to new release (v20200529)
3f6fe9
3f6fe9
* Fri May 15 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200515-1
3f6fe9
- Update to new release (v20200515)
3f6fe9
3f6fe9
* Wed Mar 25 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200325-1
3f6fe9
- Update to new release (v20200325)
3f6fe9
3f6fe9
* Mon Feb 03 2020 Fabiano Fidêncio <fidencio@redhat.com> - 20200203-1
3f6fe9
- Update to new release (v20200203)
3f6fe9
3f6fe9
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20191125-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3f6fe9
3f6fe9
* Mon Nov 25 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20191125-1
3f6fe9
- Update to new release (v20191125)
3f6fe9
3f6fe9
* Fri Nov 08 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20191108-1
3f6fe9
- Update to new release (v20191108)
3f6fe9
3f6fe9
* Fri Sep 20 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190920-1
3f6fe9
- Update to new release (v20190920)
3f6fe9
3f6fe9
* Thu Sep 05 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190905-1
3f6fe9
- Update to new release
3f6fe9
- Resolves: rhbz#1746028 - libosinfo missing rhel7.7 in database
3f6fe9
3f6fe9
* Mon Aug 05 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190805-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Fri Jul 26 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190627-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190611-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3f6fe9
3f6fe9
* Tue Jun 11 2019 Fabiano Fidêncio <fidencio@redhat.com> - 20190611-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sat May 04 2019 Fabiano Fidêncio <fidencio@redhat.org> - 20190504-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Tue Mar 19 2019 Fabiano Fidêncio <fidencio@redhat.org> - 20190319-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Mon Mar 04 2019 Fabiano Fidêncio <fidencio@redhat.org> - 20190304-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Fri Mar 01 2019 Fabiano Fidêncio <fidencio@redhat.org> - 20190301-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Mon Feb 18 2019 Fabiano Fidêncio <fidencio@redhat.org> - 20190218-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190120-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3f6fe9
3f6fe9
* Sun Jan 20 2019 Fabiano Fidêncio <fidencio@redhat.org> - 20190120-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Fri Dec 14 2018 Fabiano Fidêncio <fidencio@redhat.org> - 20181214-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Mon Dec 03 2018 Fabiano Fidêncio <fidencio@redhat.org> - 20181203-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Mon Nov 19 2018 Fabiano Fidêncio <fidencio@redhat.org> - 20181116-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Thu Nov 01 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20181101-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Thu Oct 11 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20181011-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Thu Sep 20 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180920-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Mon Sep 03 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180903-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Fri Jul 20 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180720-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180612-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3f6fe9
3f6fe9
* Tue Jun 12 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180612-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Thu May 31 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180531-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Mon May 14 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180514-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Wed May 02 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180502-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Mon Apr 16 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180416-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sun Mar 25 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180325-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sun Mar 18 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180318-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sun Mar 11 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 20180311-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170813-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3f6fe9
3f6fe9
* Sun Aug 13 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170813-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170423-2
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3f6fe9
3f6fe9
* Sun Apr 23 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170423-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sun Mar 26 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170326-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sat Feb 25 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170225-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sat Feb 11 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170211-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170121-3
3f6fe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3f6fe9
3f6fe9
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-2
3f6fe9
- 20170121-1 used an incorrect tarball
3f6fe9
3f6fe9
* Sat Jan 21 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170121-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sat Jan 14 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170114-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Sat Jan 07 2017 Fabiano Fidêncio <fabiano@fidencio.org> - 20170107-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Wed Oct 26 2016 Daniel P. Berrange <berrange@redhat.com> - 20161026-1
3f6fe9
- Update to new release
3f6fe9
3f6fe9
* Fri Jul 29 2016 Daniel P. Berrange <berrange@redhat.com> - 20160728-1
3f6fe9
- Initial package after split from libosinfo (rhbz #1361596)