2013-09-04 11:51:55 +00:00
|
|
|
#
|
2013-09-14 15:23:26 +00:00
|
|
|
# spec file for package gnome-software
|
2013-09-04 11:51:55 +00:00
|
|
|
#
|
2023-01-09 11:11:27 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-09-04 11:51:55 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-18 09:55:19 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-09-04 11:51:55 +00:00
|
|
|
#
|
|
|
|
|
2013-09-14 15:23:26 +00:00
|
|
|
|
2022-09-13 07:34:37 +00:00
|
|
|
%define gs_plugin_api 19
|
2021-11-05 08:44:45 +00:00
|
|
|
|
2013-09-04 11:51:55 +00:00
|
|
|
Name: gnome-software
|
2023-01-09 11:11:27 +00:00
|
|
|
Version: 43.3
|
2013-09-04 11:51:55 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: GNOME Software Store
|
2018-03-06 09:29:18 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-09-04 11:51:55 +00:00
|
|
|
Group: System/GUI/GNOME
|
2018-09-20 03:44:49 +00:00
|
|
|
URL: https://wiki.gnome.org/Apps/Software
|
2022-09-13 07:34:37 +00:00
|
|
|
Source0: https://download.gnome.org/sources/gnome-software/43/%{name}-%{version}.tar.xz
|
2019-11-27 14:36:37 +00:00
|
|
|
%if 0%{?sle_version}
|
|
|
|
# PATCH-FIX-OPENSUSE gnome-software-launch-gpk-update-viewer-for-updates.patch bsc#1077332 boo#1090042 sckang@suse.com -- Don't launch gnome-software when clicking the updates notification. Launch gpk-update-viewer instead.
|
|
|
|
Patch0: gnome-software-launch-gpk-update-viewer-for-updates.patch
|
2022-10-31 08:00:28 +00:00
|
|
|
# PATCH-FIX-OPENSUSE gnome-software-disable-offline-update.patch bsc#944832 sckang@suse.com -- Disable offline update in SLE and openSUSE Leap
|
|
|
|
Patch1: gnome-software-disable-offline-update.patch
|
2020-04-17 22:49:29 +00:00
|
|
|
%endif
|
2019-04-18 12:53:34 +00:00
|
|
|
|
2017-08-31 07:44:03 +00:00
|
|
|
BuildRequires: gtk-doc
|
2022-09-13 07:34:37 +00:00
|
|
|
BuildRequires: meson >= 0.58.0
|
2017-08-31 07:44:03 +00:00
|
|
|
BuildRequires: pkgconfig
|
2013-09-15 13:04:25 +00:00
|
|
|
BuildRequires: suse-xsl-stylesheets
|
2021-03-24 16:36:49 +00:00
|
|
|
BuildRequires: pkgconfig(appstream) >= 0.14.0
|
2018-03-09 10:06:03 +00:00
|
|
|
BuildRequires: pkgconfig(flatpak) >= 0.6.12
|
|
|
|
BuildRequires: pkgconfig(fwupd) >= 1.0.3
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
2014-04-03 20:43:40 +00:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.11.5
|
2021-03-24 16:36:49 +00:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.18.0
|
2018-03-09 10:06:03 +00:00
|
|
|
BuildRequires: pkgconfig(gspell-1)
|
2022-03-21 10:15:56 +00:00
|
|
|
BuildRequires: pkgconfig(gtk4)
|
2016-09-14 16:52:50 +00:00
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
2018-03-09 10:06:03 +00:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.0
|
2022-03-21 10:15:56 +00:00
|
|
|
BuildRequires: pkgconfig(libadwaita-1)
|
2021-09-27 06:24:38 +00:00
|
|
|
BuildRequires: pkgconfig(libhandy-1) >= 1.2.0
|
2016-09-08 21:23:08 +00:00
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
2022-09-13 07:34:37 +00:00
|
|
|
BuildRequires: pkgconfig(libsoup-3.0)
|
2020-10-26 08:12:50 +00:00
|
|
|
BuildRequires: pkgconfig(malcontent-0) >= 0.3.0
|
2020-04-17 22:49:29 +00:00
|
|
|
BuildRequires: pkgconfig(ostree-1)
|
2016-02-19 15:00:27 +00:00
|
|
|
BuildRequires: pkgconfig(packagekit-glib2) >= 1.1.0
|
2015-06-15 00:26:55 +00:00
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
2013-09-04 11:51:55 +00:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2020-10-26 08:12:50 +00:00
|
|
|
BuildRequires: pkgconfig(sysprof-4)
|
|
|
|
BuildRequires: pkgconfig(sysprof-capture-4)
|
2019-04-18 12:53:34 +00:00
|
|
|
BuildRequires: pkgconfig(xmlb) >= 0.1.7
|
2018-04-23 09:27:16 +00:00
|
|
|
# boo#1090042
|
|
|
|
Requires: fwupd
|
2018-09-20 03:44:49 +00:00
|
|
|
Requires: iso-codes
|
2022-10-26 10:18:31 +00:00
|
|
|
Recommends: %{name}-plugin-packagekit
|
2019-01-09 13:29:41 +00:00
|
|
|
Recommends: flatpak
|
2020-11-19 11:21:54 +00:00
|
|
|
# bsc#1178768
|
|
|
|
%if 0%{?sle_version}
|
|
|
|
Recommends: gnome-packagekit
|
|
|
|
%endif
|
2013-09-04 11:51:55 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
AppStore like management of Applications for your GNOME Desktop.
|
|
|
|
|
2016-09-08 21:23:08 +00:00
|
|
|
%package devel
|
2017-09-12 06:58:49 +00:00
|
|
|
Summary: Development files for the GNOME software store
|
2016-09-08 21:23:08 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2017-09-12 06:58:49 +00:00
|
|
|
This subpackage contains the header files for developing
|
|
|
|
GNOME software store plugins.
|
2016-09-08 21:23:08 +00:00
|
|
|
|
2022-10-26 10:18:31 +00:00
|
|
|
%package plugin-packagekit
|
|
|
|
Summary: GNOME Software Store - PackageKit plugin
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: PackageKit
|
|
|
|
Requires: (libzypp-plugin-appdata if PackageKit-backend-zypp)
|
|
|
|
|
|
|
|
%description plugin-packagekit
|
|
|
|
This subpackage provides the packagekit plugin used by
|
|
|
|
the GNOME software store.
|
|
|
|
|
2014-10-04 14:43:58 +00:00
|
|
|
%lang_package
|
2014-10-04 11:19:15 +00:00
|
|
|
|
2013-09-04 11:51:55 +00:00
|
|
|
%prep
|
2017-12-05 03:20:22 +00:00
|
|
|
%autosetup -p1
|
2013-09-04 11:51:55 +00:00
|
|
|
|
|
|
|
%build
|
2017-08-31 07:44:03 +00:00
|
|
|
%meson \
|
2022-03-21 10:15:56 +00:00
|
|
|
-D tests=false \
|
|
|
|
-D malcontent=true \
|
2022-09-13 07:34:37 +00:00
|
|
|
-D soup2=false \
|
2017-08-31 07:44:03 +00:00
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2013-09-04 11:51:55 +00:00
|
|
|
|
|
|
|
%install
|
2017-08-31 07:44:03 +00:00
|
|
|
%meson_install
|
2013-09-04 11:51:55 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2018-09-20 03:44:49 +00:00
|
|
|
# Remove any piece of doc that ends up in non-standard locations and use the doc macro instead
|
|
|
|
rm %{buildroot}%{_datadir}/doc/%{name}/README.md
|
2022-03-21 10:15:56 +00:00
|
|
|
# Move autostart file to /usr/etc
|
|
|
|
mkdir -p %{buildroot}%{_distconfdir}/xdg/autostart
|
|
|
|
mv %{buildroot}%{_sysconfdir}/xdg/autostart/org.gnome.Software.desktop %{buildroot}%{_distconfdir}/xdg/autostart/org.gnome.Software.desktop
|
2018-09-20 03:44:49 +00:00
|
|
|
|
2022-09-16 13:30:16 +00:00
|
|
|
cat >> %{buildroot}%{_datadir}/glib-2.0/schemas/20_org.gnome.software-opensuse.gschema.override << FOE
|
2022-06-24 08:09:48 +00:00
|
|
|
[org.gnome.software]
|
|
|
|
official-repos = [ 'repo-oss', 'repo-update', 'repo-non-oss' ]
|
|
|
|
FOE
|
|
|
|
|
2013-09-04 11:51:55 +00:00
|
|
|
%files
|
2018-03-06 09:29:18 +00:00
|
|
|
%license COPYING
|
2018-09-20 03:44:49 +00:00
|
|
|
%doc NEWS README.md
|
2013-09-04 11:51:55 +00:00
|
|
|
%{_bindir}/%{name}
|
2022-09-13 07:34:37 +00:00
|
|
|
%{_datadir}/metainfo/org.gnome.Software.Plugin.Epiphany.metainfo.xml
|
2017-08-31 07:44:03 +00:00
|
|
|
%{_datadir}/metainfo/org.gnome.Software.Plugin.Flatpak.metainfo.xml
|
2017-11-23 14:02:23 +00:00
|
|
|
%{_datadir}/metainfo/org.gnome.Software.Plugin.Fwupd.metainfo.xml
|
2022-09-13 07:34:37 +00:00
|
|
|
%{_datadir}/metainfo/org.gnome.Software.metainfo.xml
|
|
|
|
%{_datadir}/applications/gnome-software-local-file-flatpak.desktop
|
|
|
|
%{_datadir}/applications/gnome-software-local-file-fwupd.desktop
|
|
|
|
%{_datadir}/applications/gnome-software-local-file-packagekit.desktop
|
2014-04-03 20:43:40 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Software.desktop
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Software.service
|
2015-09-04 11:32:52 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service
|
2014-04-03 20:43:40 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
|
2022-09-16 13:30:16 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/20_org.gnome.software-opensuse.gschema.override
|
2014-04-03 20:43:40 +00:00
|
|
|
%dir %{_datadir}/gnome-shell
|
|
|
|
%dir %{_datadir}/gnome-shell/search-providers
|
2016-02-19 15:00:27 +00:00
|
|
|
%{_datadir}/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
|
2019-04-18 12:53:34 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*.svg
|
2021-03-24 16:36:49 +00:00
|
|
|
%dir %{_libdir}/gnome-software
|
2017-02-22 20:41:46 +00:00
|
|
|
%{_libexecdir}/gnome-software-cmd
|
2017-02-28 21:40:34 +00:00
|
|
|
%{_libexecdir}/gnome-software-restarter
|
2013-09-15 13:04:25 +00:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2022-03-21 10:15:56 +00:00
|
|
|
%{_distconfdir}/xdg/autostart/org.gnome.Software.desktop
|
2013-09-04 11:51:55 +00:00
|
|
|
|
2022-09-13 07:34:37 +00:00
|
|
|
%dir %{_libdir}/gnome-software/plugins-%{gs_plugin_api}/
|
2022-10-26 10:18:31 +00:00
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_dpkg.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_dummy.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_epiphany.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_fedora-langpacks.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_fedora-pkgdb-collections.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_flatpak.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_fwupd.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_generic-updates.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_hardcoded-blocklist.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_icons.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_malcontent.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_modalias.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_os-release.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_provenance-license.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_provenance.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_repos.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_rewrite-resource.so
|
2022-09-13 07:34:37 +00:00
|
|
|
%{_libdir}/gnome-software/libgnomesoftware.so.%{gs_plugin_api}
|
2022-05-05 07:50:17 +00:00
|
|
|
%dir %{_datadir}/swcatalog/
|
|
|
|
%dir %{_datadir}/swcatalog/xml/
|
2022-09-13 07:34:37 +00:00
|
|
|
%{_datadir}/swcatalog/xml/gnome-pwa-list-foss.xml
|
|
|
|
%{_datadir}/swcatalog/xml/gnome-pwa-list-proprietary.xml
|
|
|
|
%{_datadir}/swcatalog/xml/org.gnome.Software.Curated.xml
|
2022-05-05 07:50:17 +00:00
|
|
|
%{_datadir}/swcatalog/xml/org.gnome.Software.Featured.xml
|
|
|
|
|
2016-09-08 21:23:08 +00:00
|
|
|
%files devel
|
2021-03-24 16:36:49 +00:00
|
|
|
%doc AUTHORS
|
2016-09-08 21:23:08 +00:00
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}/
|
2017-08-31 07:44:03 +00:00
|
|
|
%dir %{_datadir}/doc/gnome-software
|
2020-08-07 07:39:37 +00:00
|
|
|
%{_includedir}/%{name}/*.h
|
2016-09-08 21:23:08 +00:00
|
|
|
%{_libdir}/pkgconfig/gnome-software.pc
|
2021-09-27 06:24:38 +00:00
|
|
|
%{_libdir}/gnome-software/libgnomesoftware.so
|
2016-09-08 21:23:08 +00:00
|
|
|
|
2022-10-26 10:18:31 +00:00
|
|
|
%files plugin-packagekit
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_packagekit.so
|
|
|
|
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_appstream.so
|
|
|
|
|
2013-09-04 11:51:55 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|