SHA256
1
0
forked from pool/osinfo-db
osinfo-db/osinfo-db.spec
Charles Arnold 683e779b7c Rename patches with their upstream commit IDs
99f7e666-fix-opensuse-derives-from-information.patch
  470b7652-add-opensuse-device-information.patch
  3c621fd8-add-opensuse-date-information.patch
  e77abec7-add-opensuse-resource-information.patch
  67c74e5f-add-opensuse-leap-42.2-support.patch
  f0d44d88-add-missing-sle10-distros.patch
  9a35cea7-fix-sle-derives-from-information.patch
  50091807-add-sle-device-information.patch
  9dec2be8-add-sle-date-information.patch
  1a7ce161-add-sle-resource-information.patch
  99ae3d72-add-sle12sp2-support.patch
- Dropped or renamed
  add-opensuse-leap-42.2-support.patch
  add-sle12sp2-support.patch
  add-missing-sle10-distros.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/osinfo-db?expand=0&rev=19
2016-12-13 20:49:20 +00:00

82 lines
2.5 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: 20161026
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
Patch1: 99f7e666-fix-opensuse-derives-from-information.patch
Patch2: 470b7652-add-opensuse-device-information.patch
Patch3: 3c621fd8-add-opensuse-date-information.patch
Patch4: e77abec7-add-opensuse-resource-information.patch
Patch5: 67c74e5f-add-opensuse-leap-42.2-support.patch
Patch6: f0d44d88-add-missing-sle10-distros.patch
Patch7: 9a35cea7-fix-sle-derives-from-information.patch
Patch8: 50091807-add-sle-device-information.patch
Patch9: 9dec2be8-add-sle-date-information.patch
Patch10: 1a7ce161-add-sle-resource-information.patch
Patch11: 99ae3d72-add-sle12sp2-support.patch
Patch20: add-opensuse-leap-42.3-support.patch
Patch21: add-sle12sp3-support.patch
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
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch20 -p1
%patch21 -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/LICENSE
%{_datadir}/osinfo/datamap
%{_datadir}/osinfo/device
%{_datadir}/osinfo/os
%{_datadir}/osinfo/platform
%{_datadir}/osinfo/install-script
%{_datadir}/osinfo/schema
%changelog