From ae09f07e2c27b7e85c185ca11ccccba871b68d11 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 28 Jan 2026 15:55:12 -0800 Subject: [PATCH] bazzite-portal (#9521) (#9523) * initial commit * fix: correct file path for portal.svg and add missing %prep section * fix: define debug_package in bazzite-portal.spec * fix: update dependencies and add missing metainfo file in bazzite-portal.spec * fix: reorder %prep section and add desktop file edit command in bazzite-portal.spec * fix: reorder %prep section and update desktop file edit command in bazzite-portal.spec * fix: remove redundant flag from desktop file edit command in bazzite-portal.spec * fix: update version to 0.1.5 and remove unnecessary dependency in bazzite-portal.spec * fix: update version to 0.1.6 and remove unused desktop file edit command in bazzite-portal.spec * fix: remove unnecessary BuildRequires and tidy up %files section in bazzite-portal.spec --------- (cherry picked from commit e4fbaeb2b4075268989c5669a47f493dcca5b5c5) Co-authored-by: Xarishark Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/apps/bazzite-portal/anda.hcl | 5 +++ anda/apps/bazzite-portal/bazzite-portal.spec | 39 ++++++++++++++++++++ anda/apps/bazzite-portal/update.rhai | 1 + 3 files changed, 45 insertions(+) create mode 100644 anda/apps/bazzite-portal/anda.hcl create mode 100644 anda/apps/bazzite-portal/bazzite-portal.spec create mode 100644 anda/apps/bazzite-portal/update.rhai diff --git a/anda/apps/bazzite-portal/anda.hcl b/anda/apps/bazzite-portal/anda.hcl new file mode 100644 index 0000000000..bc4ff25e90 --- /dev/null +++ b/anda/apps/bazzite-portal/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "bazzite-portal.spec" + } +} \ No newline at end of file diff --git a/anda/apps/bazzite-portal/bazzite-portal.spec b/anda/apps/bazzite-portal/bazzite-portal.spec new file mode 100644 index 0000000000..4a4aca59e1 --- /dev/null +++ b/anda/apps/bazzite-portal/bazzite-portal.spec @@ -0,0 +1,39 @@ +%define debug_package %{nil} +Name: bazzite-portal +Version: 0.1.6 +Release: 1%?dist +Summary: Bazzite Portal is a tabbed frontend for curated script execution, with a focus on distro specific QOL shortcuts +URL: https://github.com/ublue-os/yafti-gtk +Source0: https://github.com/ublue-os/yafti-gtk/archive/refs/tags/v%{version}.tar.gz +License: GPL-3.0-only +Requires: python3-gobject +Requires: python3-PyYAML +Requires: gtk3 +Provides: Bazzite-Portal +Packager: Zacharias Xenakis + +%description +%{summary}. + +%prep +%autosetup -n yafti-gtk-%{version} + +%build + +%install +install -Dm 755 yafti_gtk.py %{buildroot}%{_bindir}/yafti_gtk.py +install -Dm 644 io.github.ublue_os.yafti_gtk.desktop %{buildroot}%{_appsdir}/io.github.ublue_os.yafti_gtk.desktop +install -Dm 644 portal.svg %{buildroot}%{_scalableiconsdir}/io.github.ublue_os.yafti_gtk.svg +install -Dm 644 io.github.ublue_os.yafti_gtk.metainfo.xml %{buildroot}%{_metainfodir}/io.github.ublue_os.yafti_gtk.metainfo.xml + +%files +%doc README.md +%license LICENSE +%{_bindir}/yafti_gtk.py +%{_appsdir}/io.github.ublue_os.yafti_gtk.desktop +%{_scalableiconsdir}/io.github.ublue_os.yafti_gtk.svg +%{_metainfodir}/io.github.ublue_os.yafti_gtk.metainfo.xml + +%changelog +* Wed Jan 28 2026 Xarishark +- Initial commit \ No newline at end of file diff --git a/anda/apps/bazzite-portal/update.rhai b/anda/apps/bazzite-portal/update.rhai new file mode 100644 index 0000000000..22f4c05b3c --- /dev/null +++ b/anda/apps/bazzite-portal/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("ublue-os/yafti-gtk")); \ No newline at end of file