From ac8d6f86e9e4c2d6c1b2b5cb55646957ae779ba5 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 17:43:58 +0300 Subject: [PATCH] import osinfo-db-20240701-1.el10 --- .gitignore | 1 + .osinfo-db.metadata | 1 + SOURCES/osinfo-db-20240701.tar.xz.asc | 16 ++ SPECS/osinfo-db.spec | 214 ++++++++++++++++++++++++++ 4 files changed, 232 insertions(+) create mode 100644 .gitignore create mode 100644 .osinfo-db.metadata create mode 100644 SOURCES/osinfo-db-20240701.tar.xz.asc create mode 100644 SPECS/osinfo-db.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e94c36f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/osinfo-db-20240701.tar.xz diff --git a/.osinfo-db.metadata b/.osinfo-db.metadata new file mode 100644 index 0000000..821cc46 --- /dev/null +++ b/.osinfo-db.metadata @@ -0,0 +1 @@ +43b0f08a371095c22285e4cbe550cafaa5decd2e SOURCES/osinfo-db-20240701.tar.xz diff --git a/SOURCES/osinfo-db-20240701.tar.xz.asc b/SOURCES/osinfo-db-20240701.tar.xz.asc new file mode 100644 index 0000000..79bcf5c --- /dev/null +++ b/SOURCES/osinfo-db-20240701.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEIG07NS9WbzsOZXLpl9kSPeN6SE8FAmaCy9kACgkQl9kSPeN6 +SE9RBQ//fvv3bA8iSnzOivi63lf+xsJlR2E+aMYxQrcXbtUHHLRvViVB4BUoqID9 +rD/+I0uhf9KCG50TQlsfUsRJ9SiCZJ4UQODBzigsaZStuMvC/9nBGfajDA+sH66A +03P0ERO7wiWXorYISCu18TrJ85mdat/04C8317PMYLuaQUkmEaBAEnGeMBqVAKxK +172OhizLB6NSZA4ATOx2qIk2IvH7v0dA8ugfEd5Ou3BWyIWJfPD0nmVJUgjmX0mO +LbUAxeWilH7ROls/EPoJjED8Ne6xfw4u+vFKZo1Jp45h1F2obCtsre1xmXr5uiNV +eh5pQnc45xFI/KLpZLMwcrGT5f8EJzvErtod1ypeRcSGFFD4dsWS0+KH9FLZv7ei +iXAQTqs9OmP98V6LRI6PXiiURApzA4YF8cBLeSNk6Uzyft2vt1+C2UOXE6K+zu8n +dwszQI+pu/AVBjir5Cp9YtNP0OS5J3+hYJ7Oz8UJkmt9WNU1VTIXTemzHDB4Nuxa +srZ+M6RVRtDYMHMM9nM/cYDSMUgrUDKcxAwMdWAMMT2wk1lkPU/45pi3KiiziGrj +nrnPDVXkY1vBaKXBaYGt0XHN0DYofcDauIvdlk1VG5XL3Lsek5WgWj64ltXnAyJM +ls9t5GKESjrH13+qDdE4c2yNmWuz4uzRWzH8QuKOpr/79YZCMW4= +=oWKM +-----END PGP SIGNATURE----- diff --git a/SPECS/osinfo-db.spec b/SPECS/osinfo-db.spec new file mode 100644 index 0000000..30c286b --- /dev/null +++ b/SPECS/osinfo-db.spec @@ -0,0 +1,214 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# -*- rpm-spec -*- + +%define with_mingw 0 +%if 0%{?fedora} + %define with_mingw 0%{!?_without_mingw:1} +%endif + +Summary: osinfo database files +Name: osinfo-db +Version: 20240701 +Release: %autorelease +License: GPL-2.0-or-later +Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz +Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc +URL: http://libosinfo.org/ +BuildRequires: intltool +BuildRequires: osinfo-db-tools +BuildArch: noarch +Requires: hwdata + +%if %{with_mingw} +BuildRequires: mingw32-filesystem >= 95 +BuildRequires: mingw64-filesystem >= 95 +%endif + +%description +The osinfo database provides information about operating systems and +hypervisor platforms to facilitate the automated configuration and +provisioning of new virtual machines + +%if %{with_mingw} +%package -n mingw32-osinfo-db +Summary: %{summary} + +%description -n mingw32-osinfo-db +This package provides the osinfo database of information about +operating systems for use with virtualization provisioning tools + +%package -n mingw64-osinfo-db +Summary: %{summary} + +%description -n mingw64-osinfo-db +This package provides the osinfo database of information about +operating systems for use with virtualization provisioning tools + +%endif + +%install +osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} +%if 0%{?rhel} +# Remove the upstream virtio-win / spice-guest-tools drivers +find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} + +%endif + +%if %{with_mingw} +osinfo-db-import --root %{buildroot} --dir %{mingw32_datadir}/osinfo %{SOURCE0} +osinfo-db-import --root %{buildroot} --dir %{mingw64_datadir}/osinfo %{SOURCE0} +%endif + +%files +%dir %{_datadir}/osinfo/ +%{_datadir}/osinfo/VERSION +%{_datadir}/osinfo/LICENSE +%{_datadir}/osinfo/datamap +%{_datadir}/osinfo/device +%{_datadir}/osinfo/os +%{_datadir}/osinfo/platform +%{_datadir}/osinfo/install-script +%{_datadir}/osinfo/schema + +%if %{with_mingw} +%files -n mingw32-osinfo-db +%dir %{mingw32_datadir}/osinfo +%doc %{mingw32_datadir}/osinfo/LICENSE +%{mingw32_datadir}/osinfo/VERSION +%{mingw32_datadir}/osinfo/datamap +%{mingw32_datadir}/osinfo/device +%{mingw32_datadir}/osinfo/os +%{mingw32_datadir}/osinfo/platform +%{mingw32_datadir}/osinfo/install-script +%{mingw32_datadir}/osinfo/schema + +%files -n mingw64-osinfo-db +%dir %{mingw64_datadir}/osinfo +%doc %{mingw64_datadir}/osinfo/LICENSE +%{mingw64_datadir}/osinfo/VERSION +%{mingw64_datadir}/osinfo/datamap +%{mingw64_datadir}/osinfo/device +%{mingw64_datadir}/osinfo/os +%{mingw64_datadir}/osinfo/platform +%{mingw64_datadir}/osinfo/install-script +%{mingw64_datadir}/osinfo/schema +%endif + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 20240701-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Aug 02 2024 Victor Toso - 20240701-1 +- Update to v20240701 + +* Mon Jun 24 2024 Troy Dawson - 20231215-4 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 20231215-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 20231215-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Dec 15 2023 Victor Toso - 20231215-1 +- Update to v20231215 + +* Fri Oct 27 2023 Victor Toso - 20231027-1 +- Update to release v20231027 + +* Thu Jul 20 2023 Fedora Release Engineering - 20230719-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jul 19 2023 Victor Toso - 20230719-1 +- Update to v20230719 + +* Thu May 18 2023 Victor Toso - 20230518-1 +- Update to release v20230518 + +* Wed Mar 08 2023 Victor Toso - 20230308-1 +- Update to new release (v20230308) + +* Thu Jan 19 2023 Fedora Release Engineering - 20221130-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 30 2022 Victor Toso - 20221130-1 +- Update to new release (v20221130) + +* Tue Oct 18 2022 Victor Toso - 20221018-1 +- Update to new release (v20221018) + +* Tue Aug 30 2022 Victor Toso - 20220830-1 +- Update to new release (v20220830) + +* Fri Aug 26 2022 Victor Toso - 20220727-3 +- Switch images/pxeboot in Fedora + https://bugzilla.redhat.com/show_bug.cgi?id=2103835 + +* Tue Aug 23 2022 Daniel P. Berrangé - 20220727-2 +- Pull in mingw sub-packages + +* Wed Jul 27 2022 Victor Toso - 20220727-1 +- Update to new release (v20220727) + +* Fri Jul 22 2022 Fedora Release Engineering - 20220516-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 16 2022 Victor Toso - 20220516-1 +- Update to new release (v20220516) + +* Mon Feb 14 2022 Victor Toso - 20220214-1 +- Update to new release (v20220214) + +* Thu Jan 20 2022 Fedora Release Engineering - 20211216-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Dec 16 2021 Victor Toso - 20211216-1 +- Update to new release (v20211216) + +* Wed Oct 13 2021 Victor Toso - 20211013-1 +- Update to new release (v20211013) + +* Fri Sep 03 2021 Fabiano Fidêncio - 20210903-1 +- Update to new release (v20210903) + +* Mon Aug 09 2021 Fabiano Fidêncio - 20210809-1 +- Update to new release (v20210806) + +* Fri Aug 06 2021 Fabiano Fidêncio - 20210806-1 +- Update to new release (v20210806) + +* Thu Jul 22 2021 Fedora Release Engineering - 20210621-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 21 2021 Fabiano Fidêncio - 20210621-1 +- Update to new release (v20210621) + +* Mon May 31 2021 Fabiano Fidêncio - 20210531-1 +- Update to new release (v20210531) + +* Mon Apr 26 2021 Fabiano Fidêncio - 20210426-1 +- Update to new release (v20210426) + +* Fri Mar 12 2021 Fabiano Fidêncio - 20210312-1 +- Update to new release (v20210312) + +* Mon Feb 15 2021 Fabiano Fidêncio - 20210215-1 +- Don't distribute upstream virtio-win drivers on RHEL +- Update to new release (v20210215) + +* Tue Feb 02 2021 Fabiano Fidêncio - 20210202-1 +- Update to new release (v20210202) + +* Tue Jan 26 2021 Fedora Release Engineering - 20201218-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +## END: Generated by rpmautospec