Accepting request 258576 from GNOME:Factory

- Update to version 0.3.1.git.20141023.f8bf1b6:
  + Allow to disable some vetos.

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

- Update to version 0.3.0.git.20141013.6d59429:
  + Allow to merge icons into appstream xml. Comes in handy for
    OBS, where we generate an appstream with embedded icons.
- Add gobject-introspection-devel BuildRequires: dependency to
  bootstrap the tarball.
- 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.

OBS-URL: https://build.opensuse.org/request/show/258576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-10-31 08:39:21 +00:00 committed by Git OBS Bridge
commit 609e2804a4
5 changed files with 121 additions and 19 deletions

12
_service Normal file
View File

@ -0,0 +1,12 @@
<services>
<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.1.git.%cd.%h</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

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

View File

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

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
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
- Update to version 0.3.0.git.20141013.6d59429:
+ Allow to merge icons into appstream xml. Comes in handy for
OBS, where we generate an appstream with embedded icons.
- Add gobject-introspection-devel BuildRequires: dependency to
bootstrap the tarball.
- 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.
- Rename libappstream-builder1 to libappstream-builder7 and
libappstream-glib1 to libappstream-glib7, following upstreams
soname change.
-------------------------------------------------------------------
Wed Oct 8 15:16:28 UTC 2014 - dimstar@opensuse.org

View File

@ -17,15 +17,26 @@
#
%define _build_from_vcs 1
Name: appstream-glib
Version: 0.2.6
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/
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
Source: %{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
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
@ -53,11 +64,11 @@ What this library allows you to do:
* Easily retrieve the best application data for the current locale
* Efficiently interface with more heavy-weight parsers like expat
%package -n libappstream-glib1
%package -n libappstream-glib7
Summary: AppStream Abstraction Library
Group: System/Libraries
%description -n libappstream-glib1
%description -n libappstream-glib7
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
It also provides a simple DOM implementation that makes it easy to edit nodes and
convert to and from the standardized XML representation.
@ -70,11 +81,11 @@ What this library allows you to do:
* Easily retrieve the best application data for the current locale
* Efficiently interface with more heavy-weight parsers like expat
%package -n libappstream-builder1
%package -n libappstream-builder7
Summary: AppStream Abstraction Library
Group: System/Libraries
%description -n libappstream-builder1
%description -n libappstream-builder7
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
It also provides a simple DOM implementation that makes it easy to edit nodes and
convert to and from the standardized XML representation.
@ -87,11 +98,31 @@ What this library allows you to do:
* Easily retrieve the best application data for the current locale
* Efficiently interface with more heavy-weight parsers like expat
%package -n typelib-1_0-AppStreamBuilder-1_0
Summary: AppStream Abstraction Library -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-AppStreamBuilder-1_0
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
It also provides a simple DOM implementation that makes it easy to edit nodes and
convert to and from the standardized XML representation.
%package -n typelib-1_0-AppStreamGlib-1_0
Summary: AppStream Abstraction Library -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-AppStreamGlib-1_0
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
It also provides a simple DOM implementation that makes it easy to edit nodes and
convert to and from the standardized XML representation.
%package devel
Summary: AppStream Abstraction Library -- Development files
Group: Development/Languages/C and C++
Requires: libappstream-builder1 = %{version}
Requires: libappstream-glib1 = %{version}
Requires: libappstream-builder7 = %{version}
Requires: libappstream-glib7 = %{version}
Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version}
Requires: typelib-1_0-AppStreamGlib-1_0 = %{version}
%description devel
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
@ -111,8 +142,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}
@ -123,13 +158,13 @@ rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
%post -n libappstream-glib1 -p /sbin/ldconfig
%post -n libappstream-glib7 -p /sbin/ldconfig
%postun -n libappstream-glib1 -p /sbin/ldconfig
%postun -n libappstream-glib7 -p /sbin/ldconfig
%post -n libappstream-builder1 -p /sbin/ldconfig
%post -n libappstream-builder7 -p /sbin/ldconfig
%postun -n libappstream-builder1 -p /sbin/ldconfig
%postun -n libappstream-builder7 -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -138,23 +173,35 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_datadir}/bash-completion/completions/appstream-builder
%{_datadir}/bash-completion/completions/appstream-util
%{_libdir}/asb-plugins/
%{_mandir}/man1/appstream-builder.1%{?ext_man}
%{_mandir}/man1/appstream-util.1%{?ext_man}
%files -n libappstream-builder1
%files -n libappstream-builder7
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libappstream-builder.so.*
%files -n libappstream-glib1
%files -n libappstream-glib7
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libappstream-glib.so.*
%files -n typelib-1_0-AppStreamBuilder-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib
%files -n typelib-1_0-AppStreamGlib-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
%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
%{_datadir}/gtk-doc/html/appstream-glib/
%{_libdir}/pkgconfig/appstream-builder.pc
%{_libdir}/pkgconfig/appstream-glib.pc
%{_libdir}/libappstream-builder.so