2014-07-14 09:06:58 +02:00
|
|
|
#
|
|
|
|
# spec file for package appstream-glib
|
|
|
|
#
|
2017-01-15 11:08:49 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-07-14 09:06:58 +02:00
|
|
|
# Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%define _build_from_vcs 1
|
|
|
|
|
2014-07-14 09:06:58 +02:00
|
|
|
Name: appstream-glib
|
2017-09-08 13:33:07 +02:00
|
|
|
Version: 0.6.12
|
2014-07-14 09:06:58 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: AppStream Abstraction Library
|
2014-07-20 10:49:45 +02:00
|
|
|
License: LGPL-2.1+
|
2014-07-14 09:06:58 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Url: http://people.freedesktop.org/~hughsient/appstream-glib/
|
2015-04-10 09:47:11 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
Source1: openSUSE-appstream-process
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%if %{_build_from_vcs}
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
%else
|
|
|
|
# We still need some part to build the man pages
|
|
|
|
BuildRequires: xsltproc
|
|
|
|
%endif
|
2015-04-03 14:34:03 +02:00
|
|
|
BuildRequires: gcab >= 0.6
|
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
2014-10-31 09:39:21 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2017-02-10 09:48:43 +01:00
|
|
|
BuildRequires: gperf
|
2014-07-14 09:06:58 +02:00
|
|
|
BuildRequires: intltool >= 0.40.0
|
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
2014-10-31 09:39:21 +01:00
|
|
|
BuildRequires: libyaml-devel
|
2014-07-14 09:06:58 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.16.1
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2016-03-29 14:30:14 +02:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
|
2014-07-14 09:06:58 +02:00
|
|
|
BuildRequires: pkgconfig(libarchive)
|
2015-11-23 07:30:03 +01:00
|
|
|
BuildRequires: pkgconfig(libgcab-1.0)
|
2014-07-14 09:06:58 +02:00
|
|
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.24
|
2014-09-30 19:36:31 +02:00
|
|
|
BuildRequires: pkgconfig(rpm)
|
2014-07-14 09:06:58 +02:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2015-12-09 20:35:09 +01:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
2015-03-18 13:02:45 +01:00
|
|
|
Requires: gcab
|
|
|
|
# Required in order to be able to convert .svg icons
|
|
|
|
Requires: gdk-pixbuf-loader-rsvg
|
2014-07-20 10:49:45 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-07-14 09:06:58 +02:00
|
|
|
|
|
|
|
%description
|
2014-07-20 10:49:45 +02:00
|
|
|
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.
|
2014-07-14 09:06:58 +02:00
|
|
|
|
2014-07-20 10:49:45 +02:00
|
|
|
What this library allows you to do:
|
2014-07-14 09:06:58 +02:00
|
|
|
|
|
|
|
* Read and write compressed AppStream XML files
|
|
|
|
* Add and search for applications in an application store
|
|
|
|
* Get screenshot image data and release announcements
|
|
|
|
* Easily retrieve the best application data for the current locale
|
|
|
|
* Efficiently interface with more heavy-weight parsers like expat
|
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%package -n libappstream-glib8
|
2014-07-14 09:06:58 +02:00
|
|
|
Summary: AppStream Abstraction Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%description -n libappstream-glib8
|
2014-07-20 10:49:45 +02:00
|
|
|
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.
|
2014-07-14 09:06:58 +02:00
|
|
|
|
2014-07-20 10:49:45 +02:00
|
|
|
What this library allows you to do:
|
2014-07-14 09:06:58 +02:00
|
|
|
|
2014-07-20 10:49:45 +02:00
|
|
|
* Read and write compressed AppStream XML files
|
|
|
|
* Add and search for applications in an application store
|
|
|
|
* Get screenshot image data and release announcements
|
|
|
|
* Easily retrieve the best application data for the current locale
|
|
|
|
* Efficiently interface with more heavy-weight parsers like expat
|
2014-07-14 09:06:58 +02:00
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%package -n libappstream-builder8
|
2014-07-20 10:49:45 +02:00
|
|
|
Summary: AppStream Abstraction Library
|
2014-10-14 11:27:52 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%description -n libappstream-builder8
|
2014-07-20 10:49:45 +02:00
|
|
|
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.
|
2014-10-14 11:27:52 +02:00
|
|
|
|
2014-07-20 10:49:45 +02:00
|
|
|
What this library allows you to do:
|
2014-10-14 11:27:52 +02:00
|
|
|
|
2014-07-20 10:49:45 +02:00
|
|
|
* Read and write compressed AppStream XML files
|
|
|
|
* Add and search for applications in an application store
|
|
|
|
* Get screenshot image data and release announcements
|
|
|
|
* Easily retrieve the best application data for the current locale
|
|
|
|
* Efficiently interface with more heavy-weight parsers like expat
|
2014-10-14 11:27:52 +02:00
|
|
|
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%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.
|
|
|
|
|
2014-07-14 09:06:58 +02:00
|
|
|
%package devel
|
2014-07-20 10:49:45 +02:00
|
|
|
Summary: AppStream Abstraction Library -- Development files
|
2014-07-14 09:06:58 +02:00
|
|
|
Group: Development/Languages/C and C++
|
2016-05-05 12:10:28 +02:00
|
|
|
Requires: %{name} = %{version}
|
2015-10-06 16:11:28 +02:00
|
|
|
Requires: libappstream-builder8 = %{version}
|
|
|
|
Requires: libappstream-glib8 = %{version}
|
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
2014-10-31 09:39:21 +01:00
|
|
|
Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version}
|
|
|
|
Requires: typelib-1_0-AppStreamGlib-1_0 = %{version}
|
2014-11-18 22:45:54 +01:00
|
|
|
# appdata-tools was consumed into appstream-glib and is no longer maintained upstream
|
|
|
|
Obsoletes: appdata-tools < 0.1.9
|
|
|
|
Provides: appdata-tools = 0.1.9
|
2014-12-29 00:31:52 +01:00
|
|
|
# Also obsolete the -lang package; or we end up with strange conflicts
|
|
|
|
Obsoletes: appdata-tools-lang < 0.1.9
|
2014-07-14 09:06:58 +02:00
|
|
|
|
|
|
|
%description devel
|
2014-07-20 10:49:45 +02:00
|
|
|
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.
|
2014-07-14 09:06:58 +02:00
|
|
|
|
2014-07-20 10:49:45 +02:00
|
|
|
What this library allows you to do:
|
2014-07-14 09:06:58 +02:00
|
|
|
|
|
|
|
* Read and write compressed AppStream XML files
|
|
|
|
* Add and search for applications in an application store
|
|
|
|
* Get screenshot image data and release announcements
|
|
|
|
* Easily retrieve the best application data for the current locale
|
|
|
|
* Efficiently interface with more heavy-weight parsers like expat
|
2015-04-10 09:47:11 +02:00
|
|
|
|
|
|
|
%package -n openSUSE-appstream-process
|
|
|
|
Summary: Appstream processor employed by kiwi
|
|
|
|
Group: System
|
|
|
|
Requires: appstream-glib >= %{version}
|
|
|
|
Requires: openSUSE-appdata-extra
|
|
|
|
|
|
|
|
%description -n openSUSE-appstream-process
|
|
|
|
A wrapper around appstream-builder, called by kiwi in order to produce AppStream metadata
|
|
|
|
for the repositories to be published
|
|
|
|
|
2014-07-14 09:06:58 +02:00
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2017-09-08 13:33:07 +02:00
|
|
|
%if %{_build_from_vcs}
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%endif
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--enable-rpm
|
|
|
|
make %{?_smp_mflags}
|
2014-07-14 09:06:58 +02:00
|
|
|
|
|
|
|
%install
|
2017-09-08 13:33:07 +02:00
|
|
|
%make_install
|
2014-09-30 19:36:31 +02:00
|
|
|
# We don't care for 'installed tests'; that's used by GNOME Smoke Testing.
|
2014-10-15 21:58:43 +02:00
|
|
|
rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test
|
2014-07-14 09:06:58 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2015-04-10 09:47:11 +02:00
|
|
|
|
|
|
|
# install the appstream process script to be used by kiwi
|
|
|
|
install -d -m 0755 %{_buildroot}%{_bindir}
|
|
|
|
install -m 0755 -D %{S:1} %{buildroot}%{_bindir}/$(basename %{S:1})
|
|
|
|
|
2014-07-20 10:49:45 +02:00
|
|
|
%find_lang %{name}
|
2015-04-07 14:57:45 +02:00
|
|
|
|
2014-11-18 22:45:54 +01:00
|
|
|
%check
|
2015-03-18 13:02:45 +01:00
|
|
|
if make check; then
|
|
|
|
echo CHECKS passed
|
|
|
|
exit 0
|
|
|
|
else
|
|
|
|
echo CHECKS failed... dumping log file
|
2016-03-29 14:30:14 +02:00
|
|
|
find -name test-suite.log -exec cat {} \;
|
2015-07-16 17:15:00 +02:00
|
|
|
exit 0
|
2015-03-18 13:02:45 +01:00
|
|
|
fi
|
2014-11-18 22:45:54 +01:00
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%post -n libappstream-glib8 -p /sbin/ldconfig
|
2015-04-07 14:57:45 +02:00
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%postun -n libappstream-glib8 -p /sbin/ldconfig
|
2014-07-20 10:49:45 +02:00
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%post -n libappstream-builder8 -p /sbin/ldconfig
|
2014-07-14 09:06:58 +02:00
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%postun -n libappstream-builder8 -p /sbin/ldconfig
|
2014-07-14 09:06:58 +02:00
|
|
|
|
|
|
|
%files
|
2014-07-20 10:49:45 +02:00
|
|
|
%defattr(-,root,root)
|
2014-07-14 09:06:58 +02:00
|
|
|
%{_bindir}/appstream-builder
|
2016-02-05 00:30:34 +01:00
|
|
|
%{_bindir}/appstream-compose
|
2014-07-14 09:06:58 +02:00
|
|
|
%{_bindir}/appstream-util
|
|
|
|
%{_datadir}/bash-completion/completions/appstream-builder
|
|
|
|
%{_datadir}/bash-completion/completions/appstream-util
|
2016-02-05 00:30:34 +01:00
|
|
|
%{_libdir}/asb-plugins-5/
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%{_mandir}/man1/appstream-builder.1%{?ext_man}
|
2016-02-05 00:30:34 +01:00
|
|
|
%{_mandir}/man1/appstream-compose.1%{?ext_man}
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%{_mandir}/man1/appstream-util.1%{?ext_man}
|
2014-07-14 09:06:58 +02:00
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%files -n libappstream-builder8
|
2014-07-20 10:49:45 +02:00
|
|
|
%defattr(-,root,root)
|
2014-07-14 09:06:58 +02:00
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libappstream-builder.so.*
|
|
|
|
|
2015-10-06 16:11:28 +02:00
|
|
|
%files -n libappstream-glib8
|
2014-07-20 10:49:45 +02:00
|
|
|
%defattr(-,root,root)
|
2014-07-14 09:06:58 +02:00
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libappstream-glib.so.*
|
|
|
|
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%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
|
|
|
|
|
2014-07-14 09:06:58 +02:00
|
|
|
%files devel
|
2014-07-20 10:49:45 +02:00
|
|
|
%defattr(-,root,root)
|
2017-09-08 13:33:07 +02:00
|
|
|
%{_datadir}/aclocal/appdata-xml.m4
|
2014-07-20 10:49:45 +02:00
|
|
|
%{_datadir}/aclocal/appstream-xml.m4
|
2016-02-05 00:30:34 +01:00
|
|
|
%dir %{_datadir}/gettext/its
|
|
|
|
%{_datadir}/gettext/its/appdata.*
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
|
|
|
|
%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
|
2014-07-20 10:49:45 +02:00
|
|
|
%{_datadir}/gtk-doc/html/appstream-glib/
|
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
2014-10-31 09:39:21 +01:00
|
|
|
%{_includedir}/libappstream-builder/
|
|
|
|
%{_includedir}/libappstream-glib/
|
2014-07-14 09:06:58 +02:00
|
|
|
%{_libdir}/pkgconfig/appstream-builder.pc
|
|
|
|
%{_libdir}/pkgconfig/appstream-glib.pc
|
|
|
|
%{_libdir}/libappstream-builder.so
|
|
|
|
%{_libdir}/libappstream-glib.so
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2014-07-20 10:49:45 +02:00
|
|
|
%defattr(-,root,root)
|
2015-04-07 14:57:45 +02:00
|
|
|
|
2015-04-10 09:47:11 +02:00
|
|
|
%files -n openSUSE-appstream-process
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/openSUSE-appstream-process
|
|
|
|
|
2014-07-14 09:06:58 +02:00
|
|
|
%changelog
|