2016-10-10 20:24:00 +02:00
|
|
|
#
|
|
|
|
# spec file for package osinfo-db
|
|
|
|
#
|
2021-03-02 18:28:10 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-10-10 20:24:00 +02:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2017-03-03 18:19:07 +01:00
|
|
|
|
2017-01-24 22:53:04 +01:00
|
|
|
Name: osinfo-db
|
2021-06-21 17:50:17 +02:00
|
|
|
Version: 20210621
|
2017-01-24 22:53:04 +01:00
|
|
|
Release: 0
|
2017-06-13 22:44:30 +02:00
|
|
|
Summary: Osinfo database files
|
|
|
|
License: LGPL-2.1+ and GPL-2.0+
|
|
|
|
Group: System/Management
|
2017-06-06 22:07:02 +02:00
|
|
|
BuildArch: noarch
|
2020-07-06 18:51:39 +02:00
|
|
|
Url: https://gitlab.com/libosinfo/osinfo-db
|
2017-06-13 22:44:30 +02:00
|
|
|
Source: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
|
2018-07-20 19:59:29 +02:00
|
|
|
Patch21: add-oes-support.patch
|
2019-07-26 22:22:46 +02:00
|
|
|
Patch22: add-caasp40-support.patch
|
2021-06-21 17:50:17 +02:00
|
|
|
Patch23: add-win-2k19-media-info.patch
|
|
|
|
Patch24: fix-tumbleweed-order.patch
|
2021-07-26 18:24:27 +02:00
|
|
|
Patch25: add-opensuse-leap-15.4-support.patch
|
|
|
|
Patch26: add-sle15sp4-support.patch
|
|
|
|
Patch27: add-slem5.1-support.patch
|
2021-07-27 20:47:47 +02:00
|
|
|
Patch28: opensuse-autoyast-desktop.patch
|
2020-08-14 19:30:53 +02:00
|
|
|
|
2017-06-13 22:44:30 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: osinfo-db-tools
|
2016-10-10 20:24:00 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The osinfo database provides information about operating systems and
|
|
|
|
hypervisor platforms to facilitate the automated configuration and
|
|
|
|
provisioning of new virtual machines
|
|
|
|
|
2016-10-11 17:54:17 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2018-07-20 19:59:29 +02:00
|
|
|
%patch21 -p1
|
|
|
|
%patch22 -p1
|
2021-06-21 17:50:17 +02:00
|
|
|
%patch23 -p1
|
2019-09-18 18:18:25 +02:00
|
|
|
%patch24 -p1
|
2021-07-26 18:24:27 +02:00
|
|
|
%patch25 -p1
|
|
|
|
%patch26 -p1
|
|
|
|
%patch27 -p1
|
2021-07-27 20:47:47 +02:00
|
|
|
%patch28 -p1
|
2016-10-11 17:54:17 +02:00
|
|
|
|
|
|
|
%build
|
2017-06-13 22:44:30 +02:00
|
|
|
cd %{_builddir}
|
|
|
|
tar -cJf x.tar.xz osinfo-db-%{version}
|
2016-10-11 17:54:17 +02:00
|
|
|
|
2016-10-10 20:24:00 +02:00
|
|
|
%install
|
2017-06-13 22:44:30 +02:00
|
|
|
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo "%{_builddir}/x.tar.xz"
|
2016-10-10 20:24:00 +02:00
|
|
|
|
|
|
|
%files
|
2017-06-13 22:44:30 +02:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%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
|
2016-10-10 20:24:00 +02:00
|
|
|
|
|
|
|
%changelog
|