summaryrefslogtreecommitdiff
path: root/packaging/ggaze.spec
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-07-14 14:55:24 +0300
committerPaul Buetow <paul@buetow.org>2026-07-14 14:55:24 +0300
commit0b9dc4eec752d6d48aab696d06b33f4782e9db4f (patch)
tree28271308c6280a6d0bb87ed31ebe8a1a01837b67 /packaging/ggaze.spec
parentde1d108d97bc55a6f047c47bb56667068aac71ff (diff)
polish: AppStream, man page, RPM spec, full lifecycle test (yt0)
M10 (task yt0): polish & packaging. - data/org.buetow.ggaze.metainfo.xml: AppStream metainfo. - data/ggaze.1: man page with keybindings reference. - packaging/ggaze.spec: Fedora RPM spec. - data/meson.build: installs desktop+metainfo+gschema+man; gnome.post_install. - tests/test_full_lifecycle.c: scripted elevator-pitch session (open→walk→ info→trash→undo→grid toggle→quit). 21/21 green, ASan clean. - Coverage gate flip, quality audit, window-geometry persistence, and full GSettings wiring deferred to a follow-up (not blocking v0.1 release).
Diffstat (limited to 'packaging/ggaze.spec')
-rw-r--r--packaging/ggaze.spec49
1 files changed, 49 insertions, 0 deletions
diff --git a/packaging/ggaze.spec b/packaging/ggaze.spec
new file mode 100644
index 0000000..e67336e
--- /dev/null
+++ b/packaging/ggaze.spec
@@ -0,0 +1,49 @@
+Name: ggaze
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Fast native image viewer for culling camera shoots
+
+License: GPL-3.0-or-later
+URL: https://codeberg.org/snonux/ggaze
+Source0: %{url}/archive/%{version}.tar.gz
+
+BuildRequires: meson ninja-build gcc
+BuildRequires: gtk4-devel glib2-devel libadwaita-devel gdk-pixbuf2-devel
+BuildRequires: libexif-devel libjpeg-turbo-devel
+# Optional (built if available):
+BuildRequires: gegl04-devel babl-devel
+BuildRequires: libjxl-devel libheif-devel
+# BuildRequires: libavif-devel # uncomment when available
+
+Requires: gtk4 glib2 libadwaita gdk-pixbuf2 libexif libjpeg-turbo
+
+%description
+ggaze (GNOME Gaze) is a small, fast, native image viewer for Fedora Linux.
+It opens a folder of pictures, shows a thumbnail grid, and lets you flip
+through the shoot with vi-style keys, check EXIF, trash rejects, and move
+on. No library, no database, no sidecars.
+
+%prep
+%setup -q
+
+%build
+%meson -Dgegl=auto -Djxl=auto -Davif=auto -Dheif=auto
+%meson_build
+
+%install
+%meson_install
+
+%check
+%meson_test
+
+%files
+%{_bindir}/ggaze
+%{_datadir}/applications/org.buetow.ggaze.desktop
+%{_datadir}/glib-2.0/schemas/org.buetow.ggaze.gschema.xml
+%{_datadir}/metainfo/org.buetow.ggaze.metainfo.xml
+%{_mandir}/man1/ggaze.1*
+%license LICENSE
+
+%changelog
+* Sat Jul 12 2026 ggaze contributors <paul@buetow.org> - 0.1.0-1
+- Initial RPM package \ No newline at end of file