2016-10-10 20:26:33 +02:00
|
|
|
#
|
|
|
|
# spec file for package osinfo-db-tools
|
|
|
|
#
|
2017-06-06 22:08:45 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-10-10 20:26:33 +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-01-24 22:54:45 +01:00
|
|
|
Name: osinfo-db-tools
|
|
|
|
Version: 1.1.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Tools for managing the osinfo database
|
2017-06-06 22:08:45 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Databases/Tools
|
|
|
|
Url: https://libosinfo.org/
|
2017-01-24 22:54:45 +01:00
|
|
|
Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: intltool
|
2017-06-06 22:08:45 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(libarchive)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxslt)
|
|
|
|
Recommends: %{name}-lang
|
2016-10-10 20:26:33 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2017-06-06 22:08:45 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
%lang_package
|
2016-10-10 20:26:33 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2017-06-06 22:08:45 +02:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
2016-10-10 20:26:33 +02:00
|
|
|
|
|
|
|
%install
|
2017-06-06 22:08:45 +02:00
|
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog NEWS README COPYING
|
|
|
|
%{_bindir}/osinfo-db*
|
|
|
|
%{_mandir}/man1/osinfo-db*.1%{ext_man}
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2016-10-10 20:26:33 +02:00
|
|
|
|
|
|
|
%changelog
|