libosinfo is a project providing information about operating systems, hypervisors and the (virtual) hardware devices they can support. This package contains a set of tools to assist administrators and developers in managing the database. OBS-URL: https://build.opensuse.org/package/show/Virtualization/osinfo-db-tools?expand=0&rev=1
63 lines
1.8 KiB
RPMSpec
63 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package osinfo-db-tools
|
|
#
|
|
# 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-tools
|
|
Version: 1.0.0
|
|
Release: 0
|
|
Summary: Tools for managing the osinfo database
|
|
License: LGPLv2+
|
|
URL: http://libosinfo.org/
|
|
Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.gz
|
|
BuildRequires: intltool
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: libxml2-devel >= 2.6.0
|
|
BuildRequires: libxslt-devel >= 1.0.0
|
|
BuildRequires: libarchive-devel
|
|
BuildRequires: perl
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
%description
|
|
This package provides tools for managing the osinfo database of
|
|
information about operating systems for use with virtualization
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --prefix=/usr
|
|
%__make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%__make install DESTDIR=%{buildroot}
|
|
|
|
%find_lang %{name}
|
|
|
|
%files -f %{name}.lang
|
|
%doc AUTHORS ChangeLog COPYING.LIB NEWS README
|
|
%{_bindir}/osinfo-db-export
|
|
%{_bindir}/osinfo-db-import
|
|
%{_bindir}/osinfo-db-path
|
|
%{_bindir}/osinfo-db-validate
|
|
%{_mandir}/man1/osinfo-db-export.1*
|
|
%{_mandir}/man1/osinfo-db-import.1*
|
|
%{_mandir}/man1/osinfo-db-path.1*
|
|
%{_mandir}/man1/osinfo-db-validate.1*
|
|
|
|
%changelog
|