diff --git a/libosinfo-0.0.2.tar.gz b/libosinfo-0.0.2.tar.gz deleted file mode 100644 index fbb6191..0000000 --- a/libosinfo-0.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acb3dccb64cac7332ed54aecae266b46453e30428ed93047552dd42c1ee5e989 -size 849021 diff --git a/libosinfo-0.0.5.tar.gz b/libosinfo-0.0.5.tar.gz new file mode 100644 index 0000000..f6e6981 --- /dev/null +++ b/libosinfo-0.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae5577f45e9d9af59c3fa5b50f20b26e62990b2fffa14cb66e3f684857570ac3 +size 852471 diff --git a/libosinfo.changes b/libosinfo.changes index bb0184c..6b2e7cb 100644 --- a/libosinfo.changes +++ b/libosinfo.changes @@ -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 diff --git a/libosinfo.spec b/libosinfo.spec index 9f972cc..248e960 100644 --- a/libosinfo.spec +++ b/libosinfo.spec @@ -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