Accepting request 582466 from GNOME:Next
Update to 0.7.6 OBS-URL: https://build.opensuse.org/request/show/582466 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=119
This commit is contained in:
parent
3833b7b728
commit
1e6a6cf2f4
4
_service
4
_service
@ -2,9 +2,9 @@
|
|||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
|
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="versionformat">0.7.5</param>
|
<param name="versionformat">0.7.6</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="revision">appstream_glib_0_7_5</param>
|
<param name="revision">appstream_glib_0_7_6</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
|
<param name="url">https://github.com/hughsie/appstream-glib.git</param>
|
||||||
<param name="changesrevision">92722fe24b0ba165a65efc565aa52a372b440604</param></service></servicedata>
|
<param name="changesrevision">9103913bead336ae43bbc9a0fec1c938b94eb0e4</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:eec264fd1b7acdf78bade15f6edcbfbcb3d1fced0251ecc3bbce8f558b6586d9
|
|
||||||
size 2230288
|
|
3
appstream-glib-0.7.6.tar.xz
Normal file
3
appstream-glib-0.7.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f1c7f66df930c455b9172ffa9fae9bf0d9dd34b19de7a3d007311594447ef93e
|
||||||
|
size 2231388
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:22:56 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 11 03:11:36 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 0.7.6:
|
||||||
|
+ Never include '&' in attribute values.
|
||||||
|
+ Add support for release types.
|
||||||
|
+ Fix an invalid read when using as_app_parse_data() from Python.
|
||||||
|
+ as-app-desktop: don't deference invalid lists.
|
||||||
|
- Use pkgconfig(yaml-0.1) instead of libyaml-devel: it's what meson
|
||||||
|
actually looks for.
|
||||||
|
- Add docbook-xsl-stylesheets and gtk-doc BuildRequires to avoid
|
||||||
|
implicit dependencies.
|
||||||
|
- Drop intltool BuildRequires: it is no longer required since
|
||||||
|
upstream migrated to Gettext long ago, and gthread-2.0 and
|
||||||
|
sqlite3 BuildRequires: both of them are no longer used/needed.
|
||||||
|
- Pass dep11, builder, rpm, man, gtk-doc and introspection meson
|
||||||
|
options as true, and alpm, fonts and stemmer as false, ensuring
|
||||||
|
the desired features are enabled and visa versa.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 25 15:55:23 UTC 2018 - dimstar@opensuse.org
|
Thu Jan 25 15:55:23 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -17,48 +17,47 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _build_from_vcs 1
|
%define _build_from_vcs 0
|
||||||
Name: appstream-glib
|
Name: appstream-glib
|
||||||
Version: 0.7.5
|
Version: 0.7.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: AppStream Abstraction Library
|
Summary: AppStream Abstraction Library
|
||||||
License: LGPL-2.1+ AND GPL-2.0+
|
License: LGPL-2.1+ AND GPL-2.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://people.freedesktop.org/~hughsient/appstream-glib/
|
URL: http://people.freedesktop.org/~hughsient/appstream-glib/
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: openSUSE-appstream-process
|
Source1: openSUSE-appstream-process
|
||||||
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: gcab >= 0.6
|
BuildRequires: gcab >= 0.6
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: gperf
|
BuildRequires: gperf
|
||||||
BuildRequires: intltool >= 0.40.0
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: libyaml-devel
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.31.5
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.45.8
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.16.1
|
BuildRequires: pkgconfig(glib-2.0) >= 2.45.8
|
||||||
BuildRequires: pkgconfig(gmodule-2.0)
|
BuildRequires: pkgconfig(gmodule-2.0) >= 2.45.8
|
||||||
BuildRequires: pkgconfig(gobject-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
BuildRequires: pkgconfig(gthread-2.0)
|
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.2
|
||||||
BuildRequires: pkgconfig(libarchive)
|
BuildRequires: pkgconfig(libarchive)
|
||||||
BuildRequires: pkgconfig(libgcab-1.0)
|
BuildRequires: pkgconfig(libgcab-1.0)
|
||||||
BuildRequires: pkgconfig(libsoup-2.4) >= 2.24
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
|
||||||
BuildRequires: pkgconfig(rpm)
|
BuildRequires: pkgconfig(rpm)
|
||||||
BuildRequires: pkgconfig(sqlite3)
|
|
||||||
BuildRequires: pkgconfig(uuid)
|
BuildRequires: pkgconfig(uuid)
|
||||||
|
BuildRequires: pkgconfig(yaml-0.1)
|
||||||
Requires: gcab
|
Requires: gcab
|
||||||
# Required in order to be able to convert .svg icons
|
# Required in order to be able to convert .svg icons
|
||||||
Requires: gdk-pixbuf-loader-rsvg
|
Requires: gdk-pixbuf-loader-rsvg
|
||||||
|
Requires: pngquant >= 2.8
|
||||||
%if %{_build_from_vcs}
|
%if %{_build_from_vcs}
|
||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
%else
|
%else
|
||||||
# We still need some part to build the man pages
|
# We still need some part to build the man pages
|
||||||
BuildRequires: xsltproc
|
BuildRequires: xsltproc
|
||||||
%endif
|
%endif
|
||||||
Requires: pngquant >= 2.8
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides GObjects and helper methods to read and write
|
This library provides GObjects and helper methods to read and write
|
||||||
@ -75,7 +74,7 @@ This library allows to:
|
|||||||
|
|
||||||
%package -n libappstream-glib8
|
%package -n libappstream-glib8
|
||||||
Summary: AppStream Abstraction Library
|
Summary: AppStream Abstraction Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libappstream-glib8
|
%description -n libappstream-glib8
|
||||||
@ -85,7 +84,7 @@ nodes and convert to and from the standardized XML representation.
|
|||||||
|
|
||||||
%package -n libappstream-builder8
|
%package -n libappstream-builder8
|
||||||
Summary: AppStream Abstraction Library
|
Summary: AppStream Abstraction Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libappstream-builder8
|
%description -n libappstream-builder8
|
||||||
@ -95,7 +94,7 @@ nodes and convert to and from the standardized XML representation.
|
|||||||
|
|
||||||
%package -n typelib-1_0-AppStreamBuilder-1_0
|
%package -n typelib-1_0-AppStreamBuilder-1_0
|
||||||
Summary: Introspection bindings for the AppStream abstraction library
|
Summary: Introspection bindings for the AppStream abstraction library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-AppStreamBuilder-1_0
|
%description -n typelib-1_0-AppStreamBuilder-1_0
|
||||||
@ -105,7 +104,7 @@ nodes and convert to and from the standardized XML representation.
|
|||||||
|
|
||||||
%package -n typelib-1_0-AppStreamGlib-1_0
|
%package -n typelib-1_0-AppStreamGlib-1_0
|
||||||
Summary: Introspection bindings for the AppStream abstraction library
|
Summary: Introspection bindings for the AppStream abstraction library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-AppStreamGlib-1_0
|
%description -n typelib-1_0-AppStreamGlib-1_0
|
||||||
@ -158,18 +157,22 @@ for the repositories to be published
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{meson} \
|
%meson \
|
||||||
-Drpm=true \
|
-Ddep11=true \
|
||||||
-Dgtk-doc=true \
|
-Dbuilder=true \
|
||||||
-Dstemmer=false \
|
-Drpm=true \
|
||||||
%{nil}
|
-Dalpm=false \
|
||||||
%{meson_build}
|
-Dfonts=false \
|
||||||
|
-Dstemmer=false \
|
||||||
|
-Dman=true \
|
||||||
|
-Dgtk-doc=true \
|
||||||
|
-Dintrospection=true
|
||||||
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{meson_install}
|
%meson_install
|
||||||
# We don't care for 'installed tests'; that's used by GNOME Smoke Testing.
|
# We don't care for 'installed tests'; that's used by GNOME Smoke Testing.
|
||||||
rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test
|
rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
|
||||||
|
|
||||||
# install the appstream process script to be used by kiwi
|
# install the appstream process script to be used by kiwi
|
||||||
install -d -m 0755 %{_buildroot}%{_bindir}
|
install -d -m 0755 %{_buildroot}%{_bindir}
|
||||||
@ -193,6 +196,7 @@ fi
|
|||||||
%postun -n libappstream-builder8 -p /sbin/ldconfig
|
%postun -n libappstream-builder8 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%doc AUTHORS NEWS
|
||||||
%{_bindir}/appstream-builder
|
%{_bindir}/appstream-builder
|
||||||
%{_bindir}/appstream-compose
|
%{_bindir}/appstream-compose
|
||||||
%{_bindir}/appstream-util
|
%{_bindir}/appstream-util
|
||||||
@ -204,11 +208,10 @@ fi
|
|||||||
%{_mandir}/man1/appstream-util.1%{?ext_man}
|
%{_mandir}/man1/appstream-util.1%{?ext_man}
|
||||||
|
|
||||||
%files -n libappstream-builder8
|
%files -n libappstream-builder8
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%{_libdir}/libappstream-builder.so.*
|
%{_libdir}/libappstream-builder.so.*
|
||||||
|
|
||||||
%files -n libappstream-glib8
|
%files -n libappstream-glib8
|
||||||
%doc COPYING
|
|
||||||
%{_libdir}/libappstream-glib.so.*
|
%{_libdir}/libappstream-glib.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-AppStreamBuilder-1_0
|
%files -n typelib-1_0-AppStreamBuilder-1_0
|
||||||
@ -218,6 +221,7 @@ fi
|
|||||||
%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
|
%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%doc MAINTAINERS README.md
|
||||||
%{_datadir}/aclocal/appdata-xml.m4
|
%{_datadir}/aclocal/appdata-xml.m4
|
||||||
%{_datadir}/aclocal/appstream-xml.m4
|
%{_datadir}/aclocal/appstream-xml.m4
|
||||||
%dir %{_datadir}/gettext/its
|
%dir %{_datadir}/gettext/its
|
||||||
@ -232,9 +236,9 @@ fi
|
|||||||
%{_libdir}/libappstream-builder.so
|
%{_libdir}/libappstream-builder.so
|
||||||
%{_libdir}/libappstream-glib.so
|
%{_libdir}/libappstream-glib.so
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
|
||||||
|
|
||||||
%files -n openSUSE-appstream-process
|
%files -n openSUSE-appstream-process
|
||||||
%{_bindir}/openSUSE-appstream-process
|
%{_bindir}/openSUSE-appstream-process
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user