Accepting request 520640 from GNOME:Next
- Update License to "LGPL-2.1+ AND GPL-2.0+": the client tools (builder, compose and util) are licenses GPL-2.0+, the library is LGPL-2.1+. - Update to version 0.7.2: + Allow remote icon types for desktop AppData files. + Do not check the suffix of <id> tags. + Prefer /usr/share/metainfo as default path for metainfo files. + build: Enable C99 support in meson.build. + build: Define _XOPEN_SOURCE in order to expose realpath() in headers. + libappstream-glib: Use g_ascii_strcasecmp() instead of strcasecmp(). + libappstream-builder/utils: Drop an unreachable branch. + libappstream-glib/self-test: Add some additional checks. - Update to version 0.7.1: + Validate the <id> format according to the spec. + Add <id> kinds for application provides. + Skip loading desktop data from Snap directory. + Update the SPDX license list to 2.6. + Support CompulsoryForDesktops in YAML. + Have plugins link with asglib along with asbuilder. + meson: avoid unnecessary gdk dependency. + meson: introspection optional. + meson: Install appdata-xml.m4. + build: Make gperf dependency fully required. + Fail to validate if AppData screenshots are duplicated. OBS-URL: https://build.opensuse.org/request/show/520640 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=103
This commit is contained in:
parent
48f68d23a4
commit
22ade53e3c
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.0</param>
|
<param name="versionformat">0.7.2</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="revision">refs/tags/appstream_glib_0_7_0</param>
|
<param name="revision">refs/tags/appstream_glib_0_7_2</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">9ca9447929d8b15703c91946026534585826ab13</param></service></servicedata>
|
<param name="changesrevision">6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4a58f7e8de9f89d51e45e80098b47e858ef8d7fd850ff47013994edff2dc6510
|
|
||||||
size 2228112
|
|
3
appstream-glib-0.7.2.tar.xz
Normal file
3
appstream-glib-0.7.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea
|
||||||
|
size 2227404
|
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 4 10:52:58 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update License to "LGPL-2.1+ AND GPL-2.0+": the client tools
|
||||||
|
(builder, compose and util) are licenses GPL-2.0+, the library
|
||||||
|
is LGPL-2.1+.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 01 18:48:53 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.7.2:
|
||||||
|
+ Allow remote icon types for desktop AppData files.
|
||||||
|
+ Do not check the suffix of <id> tags.
|
||||||
|
+ Prefer /usr/share/metainfo as default path for metainfo files.
|
||||||
|
+ build: Enable C99 support in meson.build.
|
||||||
|
+ build: Define _XOPEN_SOURCE in order to expose realpath() in
|
||||||
|
headers.
|
||||||
|
+ libappstream-glib: Use g_ascii_strcasecmp() instead of
|
||||||
|
strcasecmp().
|
||||||
|
+ libappstream-builder/utils: Drop an unreachable branch.
|
||||||
|
+ libappstream-glib/self-test: Add some additional checks.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 01 18:48:41 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.7.1:
|
||||||
|
+ Validate the <id> format according to the spec.
|
||||||
|
+ Add <id> kinds for application provides.
|
||||||
|
+ Skip loading desktop data from Snap directory.
|
||||||
|
+ Update the SPDX license list to 2.6.
|
||||||
|
+ Support CompulsoryForDesktops in YAML.
|
||||||
|
+ Have plugins link with asglib along with asbuilder.
|
||||||
|
+ meson: avoid unnecessary gdk dependency.
|
||||||
|
+ meson: introspection optional.
|
||||||
|
+ meson: Install appdata-xml.m4.
|
||||||
|
+ build: Make gperf dependency fully required.
|
||||||
|
+ Fail to validate if AppData screenshots are duplicated.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 26 06:56:38 UTC 2017 - zaitor@opensuse.org
|
Mon Jun 26 06:56:38 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -18,12 +18,11 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _build_from_vcs 1
|
%define _build_from_vcs 1
|
||||||
|
|
||||||
Name: appstream-glib
|
Name: appstream-glib
|
||||||
Version: 0.7.0
|
Version: 0.7.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: AppStream Abstraction Library
|
Summary: AppStream Abstraction Library
|
||||||
License: LGPL-2.1+
|
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
|
||||||
@ -58,7 +57,6 @@ BuildRequires: pkgconfig(uuid)
|
|||||||
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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
|
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
|
||||||
@ -75,6 +73,7 @@ What this library allows you to do:
|
|||||||
|
|
||||||
%package -n libappstream-glib8
|
%package -n libappstream-glib8
|
||||||
Summary: AppStream Abstraction Library
|
Summary: AppStream Abstraction Library
|
||||||
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libappstream-glib8
|
%description -n libappstream-glib8
|
||||||
@ -92,6 +91,7 @@ What this library allows you to do:
|
|||||||
|
|
||||||
%package -n libappstream-builder8
|
%package -n libappstream-builder8
|
||||||
Summary: AppStream Abstraction Library
|
Summary: AppStream Abstraction Library
|
||||||
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libappstream-builder8
|
%description -n libappstream-builder8
|
||||||
@ -109,6 +109,7 @@ What this library allows you to do:
|
|||||||
|
|
||||||
%package -n typelib-1_0-AppStreamBuilder-1_0
|
%package -n typelib-1_0-AppStreamBuilder-1_0
|
||||||
Summary: AppStream Abstraction Library -- Introspection bindings
|
Summary: AppStream Abstraction Library -- Introspection bindings
|
||||||
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-AppStreamBuilder-1_0
|
%description -n typelib-1_0-AppStreamBuilder-1_0
|
||||||
@ -118,6 +119,7 @@ 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: AppStream Abstraction Library -- Introspection bindings
|
Summary: AppStream Abstraction Library -- Introspection bindings
|
||||||
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-AppStreamGlib-1_0
|
%description -n typelib-1_0-AppStreamGlib-1_0
|
||||||
@ -127,6 +129,7 @@ convert to and from the standardized XML representation.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: AppStream Abstraction Library -- Development files
|
Summary: AppStream Abstraction Library -- Development files
|
||||||
|
License: LGPL-2.1+ AND GPL-2.0+
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: libappstream-builder8 = %{version}
|
Requires: libappstream-builder8 = %{version}
|
||||||
@ -154,6 +157,8 @@ What this library allows you to do:
|
|||||||
|
|
||||||
%package -n openSUSE-appstream-process
|
%package -n openSUSE-appstream-process
|
||||||
Summary: Appstream processor employed by kiwi
|
Summary: Appstream processor employed by kiwi
|
||||||
|
License: LGPL-2.1+ AND GPL-2.0+
|
||||||
|
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
||||||
Group: System
|
Group: System
|
||||||
Requires: appstream-glib >= %{version}
|
Requires: appstream-glib >= %{version}
|
||||||
Requires: openSUSE-appdata-extra
|
Requires: openSUSE-appdata-extra
|
||||||
@ -168,27 +173,27 @@ for the repositories to be published
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson \
|
%{meson} \
|
||||||
-Denable-rpm=true \
|
-Denable-rpm=true \
|
||||||
-Denable-gtk-doc=true \
|
-Denable-gtk-doc=true \
|
||||||
-Denable-stemmer=false \
|
-Denable-stemmer=false \
|
||||||
%{nil}
|
%{nil}
|
||||||
%meson_build
|
%{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
|
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}
|
||||||
install -m 0755 -D %{S:1} %{buildroot}%{_bindir}/$(basename %{S:1})
|
install -m 0755 -D %{SOURCE1} %{buildroot}%{_bindir}/$(basename %{SOURCE1})
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if make check; then
|
if make %{?_smp_mflags} check; then
|
||||||
echo CHECKS passed
|
echo CHECKS passed
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
@ -198,15 +203,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n libappstream-glib8 -p /sbin/ldconfig
|
%post -n libappstream-glib8 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libappstream-glib8 -p /sbin/ldconfig
|
%postun -n libappstream-glib8 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libappstream-builder8 -p /sbin/ldconfig
|
%post -n libappstream-builder8 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libappstream-builder8 -p /sbin/ldconfig
|
%postun -n libappstream-builder8 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/appstream-builder
|
%{_bindir}/appstream-builder
|
||||||
%{_bindir}/appstream-compose
|
%{_bindir}/appstream-compose
|
||||||
%{_bindir}/appstream-util
|
%{_bindir}/appstream-util
|
||||||
@ -218,25 +219,21 @@ fi
|
|||||||
%{_mandir}/man1/appstream-util.1%{?ext_man}
|
%{_mandir}/man1/appstream-util.1%{?ext_man}
|
||||||
|
|
||||||
%files -n libappstream-builder8
|
%files -n libappstream-builder8
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_libdir}/libappstream-builder.so.*
|
%{_libdir}/libappstream-builder.so.*
|
||||||
|
|
||||||
%files -n libappstream-glib8
|
%files -n libappstream-glib8
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%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
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib
|
%{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib
|
||||||
|
|
||||||
%files -n typelib-1_0-AppStreamGlib-1_0
|
%files -n typelib-1_0-AppStreamGlib-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
|
%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%{_datadir}/aclocal/appdata-xml.m4
|
||||||
%{_datadir}/aclocal/appstream-xml.m4
|
%{_datadir}/aclocal/appstream-xml.m4
|
||||||
%dir %{_datadir}/gettext/its
|
%dir %{_datadir}/gettext/its
|
||||||
%{_datadir}/gettext/its/appdata.*
|
%{_datadir}/gettext/its/appdata.*
|
||||||
@ -251,10 +248,8 @@ fi
|
|||||||
%{_libdir}/libappstream-glib.so
|
%{_libdir}/libappstream-glib.so
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%files -n openSUSE-appstream-process
|
%files -n openSUSE-appstream-process
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/openSUSE-appstream-process
|
%{_bindir}/openSUSE-appstream-process
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user