File bazaar.spec of Package bazaar
#
# spec file for package bazaar
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: bazaar
Version: 0.5.10
Release: 0
Summary: New App Store for GNOME
License: GPL-3.0+
URL: https://github.com/kolunmi/bazaar
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libdex-1)
BuildRequires: pkgconfig(glycin-2)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(flatpak)
BuildRequires: pkgconfig(xmlb)
BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: pkgconfig(glycin-gtk4-2)
BuildRequires: pkgconfig(blueprint-compiler)
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(md4c)
%description
Bazaar is a new app store for GNOME with a focus on discovering and installing applications and add-ons from Flatpak remotes,
particularly Flathub. It emphasizes supporting the developers who make the Linux desktop possible.
Bazaar features a "curated" tab that can be configured by distributors to allow for a more localized experience.
Bazaar is fast and highly multi-threaded, guaranteeing a smooth experience in the user interface.
You can queue as many downloads as you wish and run them while perusing Flathub's latest releases.
This is due to the UI being completely decoupled from all backend operations.
It runs as a service, meaning state will be maintained even if you close all windows,
and implements the gnome-shell search provider dbus interface.
A krunner plugin is available for use on the KDE Plasma desktop.
%package -n gnome-shell-search-provider-%{name}
Summary: Shell search provider for GNOME %{name}
License: LGPL-2.0-or-later
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: gnome-shell
Supplements: (%{name} and gnome-shell)
BuildArch: noarch
%description -n gnome-shell-search-provider-%{name}
This package contains a search provider to enable GNOME Shell to get
search results from %{name}.
%lang_package
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%check
%meson_test
%files
%license COPYING
%doc README.md README-PL.md
%{_bindir}/%{name}
%{_bindir}/%{name}-dl-worker
%{_userunitdir}/io.github.kolunmi.Bazaar.service
%{_datadir}/applications/io.github.kolunmi.Bazaar.desktop
%{_datadir}/dbus-1/services/io.github.kolunmi.Bazaar.service
%{_datadir}/glib-2.0/schemas/io.github.kolunmi.Bazaar.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/io.github.kolunmi.Bazaar.svg
%{_datadir}/icons/hicolor/symbolic/apps/io.github.kolunmi.Bazaar-symbolic.svg
%{_datadir}/metainfo/io.github.kolunmi.Bazaar.metainfo.xml
%files -n gnome-shell-search-provider-%{name}
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/io.github.kolunmi.Bazaar.search-provider.ini
%files lang -f %{name}.lang
%changelog