Accepting request 581413 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581413 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=38
This commit is contained in:
parent
6a0c378682
commit
eaacfb67b6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:36:57 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 4 09:39:20 UTC 2017 - dleuenberger@suse.com
|
Wed Oct 4 09:39:20 UTC 2017 - dleuenberger@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libzypp-plugin-appdata
|
# spec file for package libzypp-plugin-appdata
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,20 +22,20 @@ Release: 0
|
|||||||
Summary: Extend libzypp to handle AppStream metadata
|
Summary: Extend libzypp to handle AppStream metadata
|
||||||
License: MIT AND CC0-1.0
|
License: MIT AND CC0-1.0
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: https://wiki.gnome.org/Design/Apps/Software
|
URL: https://wiki.gnome.org/Design/Apps/Software
|
||||||
Source0: openSUSE-appstream-%{version}.tar.xz
|
Source0: openSUSE-appstream-%{version}.tar.xz
|
||||||
Source2: InstallAppdata.sh
|
Source2: InstallAppdata.sh
|
||||||
BuildArch: noarch
|
|
||||||
# appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache
|
|
||||||
Requires: appstream-glib >= 0.3.6
|
|
||||||
# appdata hook was introduced in libzypp 14.29.4
|
|
||||||
Requires: libzypp >= 14.29.4
|
|
||||||
# appstreamcli is provided by the AppStream package
|
# appstreamcli is provided by the AppStream package
|
||||||
Requires: AppStream
|
Requires: AppStream
|
||||||
|
# appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache
|
||||||
|
Requires: appstream-glib >= 0.3.6
|
||||||
# The script uses awk to find the right filename for the appdata.xml.gz file
|
# The script uses awk to find the right filename for the appdata.xml.gz file
|
||||||
Requires: awk
|
Requires: awk
|
||||||
|
# appdata hook was introduced in libzypp 14.29.4
|
||||||
|
Requires: libzypp >= 14.29.4
|
||||||
# This is one way of providing valid appstream metadata to applications (currently the only implemented one)
|
# This is one way of providing valid appstream metadata to applications (currently the only implemented one)
|
||||||
Provides: appstream-provider
|
Provides: appstream-provider
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This plugin extends libzypp to install AppStream metadata, as extracted from the
|
This plugin extends libzypp to install AppStream metadata, as extracted from the
|
||||||
@ -45,7 +45,7 @@ software centers.
|
|||||||
%package -n openSUSE-appdata-extra
|
%package -n openSUSE-appdata-extra
|
||||||
Summary: Additional Appstream Metadata
|
Summary: Additional Appstream Metadata
|
||||||
License: CC0-1.0
|
License: CC0-1.0
|
||||||
Group: System
|
Group: Metapackages
|
||||||
|
|
||||||
%description -n openSUSE-appdata-extra
|
%description -n openSUSE-appdata-extra
|
||||||
This package contains extra appstream metadata to be used by appstream-builder
|
This package contains extra appstream metadata to be used by appstream-builder
|
||||||
@ -61,10 +61,9 @@ install -m 0755 -d %{buildroot}%{_datadir}/appdata-extra
|
|||||||
cp appdata-extra/*/* %{buildroot}%{_datadir}/appdata-extra/
|
cp appdata-extra/*/* %{buildroot}%{_datadir}/appdata-extra/
|
||||||
|
|
||||||
# Install AppData zypp plugin - temporarily disabled in favor of static AppStream metadata
|
# Install AppData zypp plugin - temporarily disabled in favor of static AppStream metadata
|
||||||
install -Dm 0755 %{S:2} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basename %{S:2})
|
install -Dm 0755 %{SOURCE2} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basename %{SOURCE2})
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
# zypp plugin triggering AppData update on repo refresh
|
# zypp plugin triggering AppData update on repo refresh
|
||||||
%dir %{_prefix}/lib/zypp
|
%dir %{_prefix}/lib/zypp
|
||||||
%dir %{_prefix}/lib/zypp/plugins
|
%dir %{_prefix}/lib/zypp/plugins
|
||||||
@ -72,7 +71,6 @@ install -Dm 0755 %{S:2} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basena
|
|||||||
%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh
|
%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh
|
||||||
|
|
||||||
%files -n openSUSE-appdata-extra
|
%files -n openSUSE-appdata-extra
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_datadir}/appdata-extra/
|
%{_datadir}/appdata-extra/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user