2016-10-10 20:26:33 +02:00
|
|
|
#
|
|
|
|
# spec file for package osinfo-db-tools
|
|
|
|
#
|
2018-06-20 23:57:10 +02:00
|
|
|
# Copyright (c) 2018 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
|
2018-06-20 19:48:55 +02:00
|
|
|
Version: 1.2.0
|
2017-01-24 22:54:45 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Tools for managing the osinfo database
|
2017-06-13 22:51:35 +02:00
|
|
|
License: LGPL-2.1+ and GPL-2.0+
|
|
|
|
Group: System/Management
|
2018-06-20 19:48:55 +02:00
|
|
|
Url: https://releases.pagure.org/libosinfo/
|
|
|
|
Source: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.gz
|
2017-01-24 22:54:45 +01:00
|
|
|
BuildRequires: intltool
|
2017-06-13 22:51:35 +02:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libxml2-devel >= 2.6.0
|
|
|
|
BuildRequires: libxslt-devel >= 1.0.0
|
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
BuildRequires: perl
|
2016-10-10 20:26:33 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2017-06-13 22:51:35 +02:00
|
|
|
This package provides tools for managing the osinfo database of
|
|
|
|
information about operating systems for use with virtualization
|
2016-10-10 20:26:33 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2017-06-13 22:51:35 +02:00
|
|
|
%configure --prefix=/usr
|
|
|
|
make %{?_smp_mflags} V=1
|
2016-10-10 20:26:33 +02:00
|
|
|
|
|
|
|
%install
|
2017-06-13 22:51:35 +02:00
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc AUTHORS ChangeLog 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*
|
2016-10-10 20:26:33 +02:00
|
|
|
|
|
|
|
%changelog
|