osinfo-db-tools/osinfo-db-tools.spec
Charles Arnold 01b854fae1 - Use more appropriate RPM group
- Drop unnecessary %__ macro indirections

- Update to version 1.1.0
  Changes in this release include
  * Add –license option to osinfo-db-export
  * Fix license file to refer to GPL, not LGPL
  * Fix typos in help output
  * List libarchive as pre-req in README
 

- Version 1.0.0
  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=14
2017-06-13 20:51:35 +00:00

63 lines
1.9 KiB
RPMSpec

#
# spec file for package osinfo-db-tools
#
# Copyright (c) 2017 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.1.0
Release: 0
Summary: Tools for managing the osinfo database
License: LGPL-2.1+ and GPL-2.0+
Group: System/Management
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 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