diff --git a/_service b/_service index ef5cd3a..2103081 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.5 + 0.7.6 enable - appstream_glib_0_7_5 + appstream_glib_0_7_6 *.tar diff --git a/_servicedata b/_servicedata index 0766db0..d48455c 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 92722fe24b0ba165a65efc565aa52a372b440604 \ No newline at end of file + 9103913bead336ae43bbc9a0fec1c938b94eb0e4 \ No newline at end of file diff --git a/appstream-glib-0.7.5.tar.xz b/appstream-glib-0.7.5.tar.xz deleted file mode 100644 index a5d4b03..0000000 --- a/appstream-glib-0.7.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eec264fd1b7acdf78bade15f6edcbfbcb3d1fced0251ecc3bbce8f558b6586d9 -size 2230288 diff --git a/appstream-glib-0.7.6.tar.xz b/appstream-glib-0.7.6.tar.xz new file mode 100644 index 0000000..d7d2b5f --- /dev/null +++ b/appstream-glib-0.7.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1c7f66df930c455b9172ffa9fae9bf0d9dd34b19de7a3d007311594447ef93e +size 2231388 diff --git a/appstream-glib.changes b/appstream-glib.changes index 997a539..7ea828c 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -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 diff --git a/appstream-glib.spec b/appstream-glib.spec index 1bf5750..9900cfd 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -17,48 +17,47 @@ # -%define _build_from_vcs 1 +%define _build_from_vcs 0 Name: appstream-glib -Version: 0.7.5 +Version: 0.7.6 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ Group: System/Libraries -Url: http://people.freedesktop.org/~hughsient/appstream-glib/ +URL: http://people.freedesktop.org/~hughsient/appstream-glib/ Source0: %{name}-%{version}.tar.xz Source1: openSUSE-appstream-process +BuildRequires: docbook-xsl-stylesheets BuildRequires: gcab >= 0.6 BuildRequires: gobject-introspection-devel BuildRequires: gperf -BuildRequires: intltool >= 0.40.0 -BuildRequires: libyaml-devel +BuildRequires: gtk-doc BuildRequires: meson 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-unix-2.0) -BuildRequires: pkgconfig(glib-2.0) >= 2.16.1 -BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.45.8 +BuildRequires: pkgconfig(glib-2.0) >= 2.45.8 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.45.8 BuildRequires: pkgconfig(gobject-2.0) -BuildRequires: pkgconfig(gthread-2.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(libgcab-1.0) -BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 +BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92 BuildRequires: pkgconfig(rpm) -BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(yaml-0.1) Requires: gcab # Required in order to be able to convert .svg icons Requires: gdk-pixbuf-loader-rsvg +Requires: pngquant >= 2.8 %if %{_build_from_vcs} BuildRequires: gnome-common %else # We still need some part to build the man pages BuildRequires: xsltproc %endif -Requires: pngquant >= 2.8 %description This library provides GObjects and helper methods to read and write @@ -75,7 +74,7 @@ This library allows to: %package -n libappstream-glib8 Summary: AppStream Abstraction Library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries %description -n libappstream-glib8 @@ -85,7 +84,7 @@ nodes and convert to and from the standardized XML representation. %package -n libappstream-builder8 Summary: AppStream Abstraction Library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries %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 Summary: Introspection bindings for the AppStream abstraction library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries %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 Summary: Introspection bindings for the AppStream abstraction library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries %description -n typelib-1_0-AppStreamGlib-1_0 @@ -158,18 +157,22 @@ for the repositories to be published %setup -q %build -%{meson} \ - -Drpm=true \ - -Dgtk-doc=true \ - -Dstemmer=false \ - %{nil} -%{meson_build} +%meson \ + -Ddep11=true \ + -Dbuilder=true \ + -Drpm=true \ + -Dalpm=false \ + -Dfonts=false \ + -Dstemmer=false \ + -Dman=true \ + -Dgtk-doc=true \ + -Dintrospection=true +%meson_build %install -%{meson_install} +%meson_install # We don't care for 'installed tests'; that's used by GNOME Smoke Testing. 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 -d -m 0755 %{_buildroot}%{_bindir} @@ -193,6 +196,7 @@ fi %postun -n libappstream-builder8 -p /sbin/ldconfig %files +%doc AUTHORS NEWS %{_bindir}/appstream-builder %{_bindir}/appstream-compose %{_bindir}/appstream-util @@ -204,11 +208,10 @@ fi %{_mandir}/man1/appstream-util.1%{?ext_man} %files -n libappstream-builder8 -%doc COPYING +%license COPYING %{_libdir}/libappstream-builder.so.* %files -n libappstream-glib8 -%doc COPYING %{_libdir}/libappstream-glib.so.* %files -n typelib-1_0-AppStreamBuilder-1_0 @@ -218,6 +221,7 @@ fi %{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib %files devel +%doc MAINTAINERS README.md %{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 %dir %{_datadir}/gettext/its @@ -232,9 +236,9 @@ fi %{_libdir}/libappstream-builder.so %{_libdir}/libappstream-glib.so -%files lang -f %{name}.lang - %files -n openSUSE-appstream-process %{_bindir}/openSUSE-appstream-process +%files lang -f %{name}.lang + %changelog