Accepting request 102541 from hardware

- Require libosinfo from the shared library package: the library
  does require the os identifier data. (forwarded request 102538 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/102541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libosinfo?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2012-02-04 10:12:48 +00:00 committed by Git OBS Bridge
commit c6316f62b3
4 changed files with 78 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acb3dccb64cac7332ed54aecae266b46453e30428ed93047552dd42c1ee5e989
size 849021

3
libosinfo-0.0.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae5577f45e9d9af59c3fa5b50f20b26e62990b2fffa14cb66e3f684857570ac3
size 852471

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Thu Feb 2 20:14:45 UTC 2012 - dimstar@opensuse.org
- Require libosinfo from the shared library package: the library
does require the os identifier data.
-------------------------------------------------------------------
Tue Jan 31 13:46:04 UTC 2012 - cfarrell@suse.com
- license update: LGPL-2.1+ and GPL-2.0+
tools/osinfo-detect.c is GPL-2.0+ licensed
-------------------------------------------------------------------
Tue Jan 31 08:48:28 UTC 2012 - dimstar@opensuse.org
- Update to version 0.0.5:
+ Add QXL to supported devices of windows and Fedora.
+ Distribute and install forgotten device XML files.
+ Add all metadata from default path, not just OS.
+ List supported audio devices for Windows and Fedora.
+ Specify 'derives-from' relationship for Fedora OSs.
+ Add API to retreive all supported devices for an OS.
+ Fix some potential issues related to memory allocation/
alignment.
- Changes from version 0.0.4:
+ Fix silly mistakes in udev rules file.
- Changes from version 0.0.3:
+ Add lots of more data on various different OSs out there. Now
we also support some Apple OSs.
+ On successful OS detection, inform the application which known
media of the OS the given media matched against. osinfo-detect
tool and udev rule updated to make use of this.
+ Support applications' right to not be interested in error
details.
+ Minor fixes/improvements to OS detection logic.
+ API to indicate media is live and/or installer.
+ Don't match non-live Fedora ISOs against live ones.
+ Fixes to Python demo to make it work.
+ Fix some potential crashes.
+ Fixes to RPM spec file.
+ Distribute RPM spec file.
+ Complement some getters with corresponding gobject properties.
+ Few other random minor fixes.
- Add libtool BuildRequires
- Split typelib file in typelib-1_0-Libosinfo-1_0
- Add typelib-1_0-Libosinfo-1_0 Requires to -devel package.
-------------------------------------------------------------------
Wed Nov 23 16:43:35 UTC 2011 - dimstar@opensuse.org

View File

@ -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+ and GPL-2.0+
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)
@ -41,6 +44,7 @@ the API is available in all common programming languages.
%package -n libosinfo-1_0-0
Summary: Manage information about operating systems and hypervisors
Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libosinfo-1_0-0
libosinfo is a GObject based library API for managing information about operating systems,
@ -49,10 +53,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 +88,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 +103,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