diff --git a/_service b/_service
index 3bf82a9..f4c1dd1 100644
--- a/_service
+++ b/_service
@@ -2,7 +2,7 @@
https://github.com/hughsie/appstream-glib.git
git
- 0.3.0.git.%cd.%h
+ 0.3.1.git.%cd.%h
*.tar
diff --git a/appstream-glib-0.3.0.git.20141013.6d59429.tar.xz b/appstream-glib-0.3.0.git.20141013.6d59429.tar.xz
deleted file mode 100644
index 3f98e12..0000000
--- a/appstream-glib-0.3.0.git.20141013.6d59429.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:12539ad9be1e425f9809752d00bfc1f32868eb2d769607abe4fc81ddcf01f349
-size 1788424
diff --git a/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz b/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz
new file mode 100644
index 0000000..d3fd7a2
--- /dev/null
+++ b/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:897be1a5ba94c520266ede90337ee5b53876d2728b5679d079a4be756430a048
+size 2111308
diff --git a/appstream-glib.changes b/appstream-glib.changes
index f9253c2..7ec68f7 100644
--- a/appstream-glib.changes
+++ b/appstream-glib.changes
@@ -1,3 +1,28 @@
+-------------------------------------------------------------------
+Thu Oct 23 12:49:18 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 0.3.1.git.20141023.f8bf1b6:
+ + Allow to disable some vetos.
+
+-------------------------------------------------------------------
+Wed Oct 22 06:36:35 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 0.3.1:
+ + Add a kudo for a HiDPI ico.
+ + Add an --enable-hidpi argument to appstream-builder.
+ + New APIs: AS_APP_VALIDATE_FLAG_ALL_APPS,
+ asb_app_set_hidpi_enabled(), asb_context_get_min_icon_size(),
+ asb_context_set_embedded_icons(), as_icon_convert_to_kind(),
+ as_node_add_attribute_as_int(), as_screenshot_set_priority(),
+ as_store_convert_icons(), as_utils_find_icon_filename_full()
+ and as_utils_get_string_overlap().
+ + Add AsIcon as a new abstract icon object.
+ + Add AS_ICON_KIND_EMBEDDED and AS_ICON_KIND_LOCAL.
+ + Alpm backend for appstream-builder.
+ + Support filtering by metadata in status-csv.
+ + Many bugfixes.
+- Disable _build_from_cvs, as this is a released tarball again.
+
-------------------------------------------------------------------
Mon Oct 13 21:08:21 UTC 2014 - dimstar@opensuse.org
@@ -6,8 +31,9 @@ Mon Oct 13 21:08:21 UTC 2014 - dimstar@opensuse.org
OBS, where we generate an appstream with embedded icons.
- Add gobject-introspection-devel BuildRequires: dependency to
bootstrap the tarball.
-- Add gnome-common BuildRequires and call to autogen.sh: needed, as
- we are currently packaging a git snapshot.
+- Add conditional (based on _build_from_vcs defines) gnome-common
+ BuildRequires and call to autogen.sh: needed, as we are currently
+ packaging a git snapshot.
- Add libyaml-devel BuildRequires: new dependency.
- Split new subpackages typelib-1_0-AppstreamBuilder-1_0 and
typelib-1_0-AppstreamGlib-1_0.
diff --git a/appstream-glib.spec b/appstream-glib.spec
index b2b7cff..ac4c5b0 100644
--- a/appstream-glib.spec
+++ b/appstream-glib.spec
@@ -17,17 +17,22 @@
#
+%define _build_from_vcs 1
+
Name: appstream-glib
-Version: 0.3.0.git.20141013.6d59429
+Version: 0.3.1.git.20141023.f8bf1b6
Release: 0
Summary: AppStream Abstraction Library
License: LGPL-2.1+
Group: System/Libraries
Url: http://people.freedesktop.org/~hughsient/appstream-glib/
-# This is a git snapshot, extracted using _service
-Source: %{name}-%{version}.tar.xz
-#Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz
+Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz
+%if %{_build_from_vcs}
BuildRequires: gnome-common
+%else
+# We still need some part to build the man pages
+BuildRequires: xsltproc
+%endif
BuildRequires: gobject-introspection-devel
BuildRequires: intltool >= 0.40.0
BuildRequires: libyaml-devel
@@ -136,9 +141,12 @@ What this library allows you to do:
%setup -q
%build
+%if %{_build_from_vcs}
NOCONFIGURE=1 ./autogen.sh
+%endif
%configure \
--disable-static \
+ --enable-gtk-doc \
--enable-rpm
make %{?_smp_mflags}
@@ -187,15 +195,16 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files devel
%defattr(-,root,root)
+%{_datadir}/aclocal/appstream-xml.m4
+%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
+%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
+%{_datadir}/gtk-doc/html/appstream-glib/
%{_includedir}/libappstream-builder/
%{_includedir}/libappstream-glib/
-%{_datadir}/aclocal/appstream-xml.m4
%{_libdir}/pkgconfig/appstream-builder.pc
%{_libdir}/pkgconfig/appstream-glib.pc
%{_libdir}/libappstream-builder.so
%{_libdir}/libappstream-glib.so
-%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
-%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
%files lang -f %{name}.lang
%defattr(-,root,root)