forked from pool/osinfo-db
b4b70c0849
add-opensuse-leap-42.2-support.patch - bsc#1000188 - virt-install on aarch64 does not detect installation iso add-sle12sp2-support-for-arch.patch - bsc#986731 - libosinfo: Add support for openSUSE Leap 42.2 add-opensuse-leap-42.2-support.patch - bsc#979369 - libosinfo: Missing sle10 distro versions add-missing-sle10-distros.patch - bsc#946157 - The mouse cursor doesn't work during Guest OS installation in KVM Mode Fix_derives-from_and_add_tablet_item.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/osinfo-db?expand=0&rev=2
66 lines
1.9 KiB
RPMSpec
66 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package osinfo-db
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
Name: osinfo-db
|
|
Version: 20160728
|
|
Release: 0
|
|
Summary: Osinfo database files
|
|
License: LGPL-2.1+ and GPL-2.0+
|
|
BuildArch: noarch
|
|
URL: http://libosinfo.org/
|
|
Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
|
|
Patch10: Fix_derives-from_and_add_tablet_item.patch
|
|
Patch11: add-sle12sp2-support.patch
|
|
Patch12: add-missing-sle10-distros.patch
|
|
Patch13: add-opensuse-leap-42.2-support.patch
|
|
Patch14: add-sle12sp2-support-for-arch.patch
|
|
BuildRequires: intltool
|
|
BuildRequires: osinfo-db-tools
|
|
Requires: hwdata
|
|
|
|
%description
|
|
The osinfo database provides information about operating systems and
|
|
hypervisor platforms to facilitate the automated configuration and
|
|
provisioning of new virtual machines
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch10 -p1
|
|
%patch11 -p1
|
|
%patch12 -p1
|
|
%patch13 -p1
|
|
%patch14 -p1
|
|
|
|
%build
|
|
cd %{_builddir}
|
|
tar cJf %{SOURCE0} osinfo-db-%{version}
|
|
|
|
%install
|
|
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
|
|
|
|
%files
|
|
%dir %{_datadir}/osinfo/
|
|
%{_datadir}/osinfo/VERSION
|
|
%{_datadir}/osinfo/datamap
|
|
%{_datadir}/osinfo/device
|
|
%{_datadir}/osinfo/os
|
|
%{_datadir}/osinfo/platform
|
|
%{_datadir}/osinfo/install-script
|
|
%{_datadir}/osinfo/schema
|
|
|
|
%changelog
|