Accepting request 258374 from GNOME:Next

Let's move that one slowly to Factory - so we can get proper AppStream metadata

OBS-URL: https://build.opensuse.org/request/show/258374
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2014-10-27 16:08:27 +00:00 committed by Git OBS Bridge
parent f4d1972311
commit 8a63bcd5bb
5 changed files with 48 additions and 13 deletions

View File

@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
<param name="scm">git</param>
<param name="versionformat">0.3.0.git.%cd.%h</param>
<param name="versionformat">0.3.1.git.%cd.%h</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

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

View File

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

View File

@ -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.

View File

@ -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)