1
0

Accepting request 253902 from GNOME:Next

- Split InstallAppdata.sh in an own package libzypp-plugin-appdata:
  other software centers might have to rely on this as well in the
  future.
- Add appstream-glib Requires and minimum version for libzypp to
  libzypp-plugin-appdata.

OBS-URL: https://build.opensuse.org/request/show/253902
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=28
This commit is contained in:
Bjørn Lie 2014-10-04 11:19:15 +00:00 committed by Git OBS Bridge
parent 1efcf42181
commit 0deb09462c
2 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Oct 4 11:09:19 UTC 2014 - dimstar@opensuse.org
- Split InstallAppdata.sh in an own package libzypp-plugin-appdata:
other software centers might have to rely on this as well in the
future.
- Add appstream-glib Requires and minimum version for libzypp to
libzypp-plugin-appdata.
-------------------------------------------------------------------
Thu Oct 2 14:37:21 UTC 2014 - dimstar@opensuse.org

View File

@ -41,11 +41,28 @@ BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(packagekit-glib2) >= 1.0.0
BuildRequires: pkgconfig(sqlite3)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libzypp-plugin-appdata
%glib2_gsettings_schema_requires
%description
AppStore like management of Applications for your GNOME Desktop.
%package -n libzypp-plugin-appdata
Version: 1.0
Release: 0
Summary: Extend libzypp to handle AppStream metadata
Group: System/Libraries
Requires: appstream-glib >= 0.2.4
# appdata hook was introduced in libzypp 14.29.4
Requires: libzypp >= 14.29.4
%description -n libzypp-plugin-appdata
This plugin extends libzypp to install AppStream metadata, as extracted from the
repository metadata, onto the file system in order to be picked up by
software centers.
At this moment, gnome-software is the only known implementation making use of it.
%lang_package
%prep
%setup -q
@ -102,6 +119,9 @@ install -Dm 0755 %{S:1} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basena
%dir %{_prefix}/lib/zypp
%dir %{_prefix}/lib/zypp/plugins
%dir %{_prefix}/lib/zypp/plugins/appdata/
%files -n libzypp-plugin-appdata
%defattr(-,root,root)
%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh
%files lang -f %{name}.lang