forked from pool/osinfo-db
675c8ed6b2
add-opensuse-leap-15.7-support.patch - Add support for SLE-15-SP7 (jsc#PED-8910) add-sle15sp7-support.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/osinfo-db?expand=0&rev=150
69 lines
2.2 KiB
RPMSpec
69 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package osinfo-db
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: osinfo-db
|
|
Version: 20240701
|
|
Release: 0
|
|
Summary: Osinfo database files
|
|
License: LGPL-2.1-or-later AND GPL-2.0-or-later
|
|
Group: System/Management
|
|
URL: https://gitlab.com/libosinfo/osinfo-db
|
|
Source: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
|
|
Patch21: add-oes-support.patch
|
|
Patch22: add-caasp40-support.patch
|
|
Patch23: add-win-2k19-media-info.patch
|
|
Patch24: fix-tumbleweed-order.patch
|
|
Patch25: adjust-tumbleweed-hardware-requirements.patch
|
|
Patch26: add-slem5.5-support.patch
|
|
Patch27: add-sle15sp6-support.patch
|
|
Patch28: add-sle15sp7-support.patch
|
|
Patch29: add-opensuse-leap-15.6-support.patch
|
|
Patch30: add-opensuse-leap-15.7-support.patch
|
|
Patch31: add-slem6.0-support.patch
|
|
BuildRequires: intltool
|
|
BuildRequires: osinfo-db-tools
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
The osinfo database provides information about operating systems and
|
|
hypervisor platforms to facilitate the automated configuration and
|
|
provisioning of new virtual machines
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
cd %{_builddir}
|
|
tar -cJf x.tar.xz osinfo-db-%{version}
|
|
|
|
%install
|
|
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo "%{_builddir}/x.tar.xz"
|
|
|
|
%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
|
|
|
|
%changelog
|