Accepting request 102137 from home:dimstar:gnome-boxes
Update to 0.0.5 OBS-URL: https://build.opensuse.org/request/show/102137 OBS-URL: https://build.opensuse.org/package/show/hardware/libosinfo?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
fa3310c7b4
commit
8cff9dd64f
@@ -1,6 +1,7 @@
|
||||
#
|
||||
# spec file for package
|
||||
# spec file for package libosinfo
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -15,14 +16,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libosinfo
|
||||
Version: 0.0.2
|
||||
Release: 1
|
||||
License: LGPL-2.1+
|
||||
Version: 0.0.5
|
||||
Release: 0
|
||||
Summary: Manage information about operating systems and hypervisors
|
||||
Url: https://fedorahosted.org/libosinfo/
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Url: https://fedorahosted.org/libosinfo/
|
||||
Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.gz
|
||||
BuildRequires: libtool
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(check)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
@@ -49,10 +52,22 @@ containing device metadata and provides APIs to match/identify optimal devices f
|
||||
deploying an operating system on a hypervisor. Via the magic of GObject Introspection,
|
||||
the API is available in all common programming languages.
|
||||
|
||||
%package -n typelib-1_0-Libosinfo-1_0
|
||||
Summary: Manage information about operating systems and hypervisors
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-Libosinfo-1_0
|
||||
libosinfo is a GObject based library API for managing information about operating systems,
|
||||
hypervisors and the (virtual) hardware devices they can support. It includes a database
|
||||
containing device metadata and provides APIs to match/identify optimal devices for
|
||||
deploying an operating system on a hypervisor. Via the magic of GObject Introspection,
|
||||
the API is available in all common programming languages.
|
||||
|
||||
%package devel
|
||||
Summary: Manage information about operating systems and hypervisors - Development Files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libosinfo-1_0-0 = %{version}
|
||||
Requires: typelib-1_0-Libosinfo-1_0 = %{version}
|
||||
|
||||
%description devel
|
||||
libosinfo is a GObject based library API for managing information about operating systems,
|
||||
@@ -72,6 +87,10 @@ make %{?_smp_mflags}
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libosinfo-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libosinfo-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README COPYING
|
||||
@@ -83,6 +102,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%files -n libosinfo-1_0-0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libosinfo-1.0.so.*
|
||||
|
||||
%files -n typelib-1_0-Libosinfo-1_0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
|
||||
|
||||
%files devel
|
||||
|
Reference in New Issue
Block a user