2016-10-10 20:24:00 +02:00
|
|
|
#
|
|
|
|
# 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
|
2016-12-02 00:22:31 +01:00
|
|
|
Version: 20161026
|
2016-10-10 20:24:00 +02:00
|
|
|
Release: 0
|
2016-10-11 17:54:17 +02:00
|
|
|
Summary: Osinfo database files
|
|
|
|
License: LGPL-2.1+ and GPL-2.0+
|
|
|
|
BuildArch: noarch
|
2016-10-10 20:24:00 +02:00
|
|
|
URL: http://libosinfo.org/
|
|
|
|
Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
|
2016-12-07 00:40:57 +01:00
|
|
|
Patch10: fix-opensuse-derives-from.patch
|
|
|
|
Patch11: add-opensuse-device-information.patch
|
|
|
|
Patch12: add-opensuse-leap-42.2-support.patch
|
|
|
|
Patch13: add-opensuse-leap-42.3-support.patch
|
|
|
|
Patch14: add-missing-sle10-distros.patch
|
|
|
|
Patch15: fix-sle-derives-from.patch
|
|
|
|
Patch16: add-sle-device-information.patch
|
|
|
|
Patch17: add-sle12sp2-support.patch
|
|
|
|
Patch18: add-sle12sp3-support.patch
|
2016-10-10 20:24:00 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: osinfo-db-tools
|
|
|
|
|
|
|
|
%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
|
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
|
|
|
%patch13 -p1
|
|
|
|
%patch14 -p1
|
2016-12-01 22:19:43 +01:00
|
|
|
%patch15 -p1
|
|
|
|
%patch16 -p1
|
2016-12-07 00:40:57 +01:00
|
|
|
%patch17 -p1
|
|
|
|
%patch18 -p1
|
2016-10-11 17:54:17 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd %{_builddir}
|
|
|
|
tar cJf %{SOURCE0} osinfo-db-%{version}
|
|
|
|
|
2016-10-10 20:24:00 +02:00
|
|
|
%install
|
|
|
|
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{_datadir}/osinfo/
|
|
|
|
%{_datadir}/osinfo/VERSION
|
2016-12-07 17:43:47 +01:00
|
|
|
%{_datadir}/osinfo/LICENSE
|
2016-10-10 20:24:00 +02:00
|
|
|
%{_datadir}/osinfo/datamap
|
|
|
|
%{_datadir}/osinfo/device
|
|
|
|
%{_datadir}/osinfo/os
|
|
|
|
%{_datadir}/osinfo/platform
|
|
|
|
%{_datadir}/osinfo/install-script
|
|
|
|
%{_datadir}/osinfo/schema
|
|
|
|
|
|
|
|
%changelog
|