diff --git a/libosinfo-0.2.1.tar.gz b/libosinfo-0.2.1.tar.gz deleted file mode 100644 index fe088e7..0000000 --- a/libosinfo-0.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:37a5ae12b01a3367220ba44d4ace7065dc40972e82eb2439059c5f11724ecda5 -size 1019526 diff --git a/libosinfo-0.2.2.tar.gz b/libosinfo-0.2.2.tar.gz new file mode 100644 index 0000000..daf318b --- /dev/null +++ b/libosinfo-0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e2c6a32fe2deea84c6b74613a88eed6cb3bf913ad47fd1177be149b90b3d3e8 +size 1162812 diff --git a/libosinfo.changes b/libosinfo.changes index 09001ea..2e8a58e 100644 --- a/libosinfo.changes +++ b/libosinfo.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Dec 11 09:11:41 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.2.2: + + Loads of improvements and fixes to installer APIs and scripts. + + Add API for information on downloadable device drivers. + + Add/improve data on: RHEL, Windows 7, Windows 8, Windows XP. + + Enable translations for many (potential) user-visible strings. + + Correct default value for OsinfoMedia::installer-reboots. + + Register enum types with gobject type system. + + Add enum param getter/setter helpers. + + OsinfoList is now instantiable and all its subclasses has been + deprecated. + + Various other fixes and improvements. +- Add intltool BuildRequires: needed for changes in the build + system for translations. +- Add translation-related packaging machinery (lang subpackage, and + Recommends for it in the main subpackage), but keep it disabled + with a %{with_lang} macro for now as there is no translation yet. + ------------------------------------------------------------------- Sat Oct 13 10:45:55 UTC 2012 - dimstar@opensuse.org diff --git a/libosinfo.spec b/libosinfo.spec index 9880dc4..9f1ed2e 100644 --- a/libosinfo.spec +++ b/libosinfo.spec @@ -17,14 +17,17 @@ # +%define with_lang 0 + Name: libosinfo -Version: 0.2.1 +Version: 0.2.2 Release: 0 Summary: Manage information about operating systems and hypervisors 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: intltool BuildRequires: libtool BuildRequires: vala BuildRequires: pkgconfig(check) @@ -35,6 +38,9 @@ BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libsoup-gnome-2.4) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) >= 1.0.0 +%if %{with_lang} +Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -80,6 +86,9 @@ 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. +%if %{with_lang} +%lang_package +%endif %prep %setup -q @@ -90,6 +99,9 @@ make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print +%if %{with_lang} +%find_lang %{name} %{?no_lang_C} +%endif %post -n libosinfo-1_0-0 -p /sbin/ldconfig @@ -127,4 +139,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %dir %{_datadir}/vala/vapi/ %{_datadir}/vala/vapi/libosinfo-1.0.vapi +%if %{with_lang} +%files lang -f %{name}.lang +%endif + %changelog