## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: stevia Version: 0.48.0 Release: %autorelease Summary: Alternative keyboard for Phosh License: GPL-3.0-or-later URL: https://gitlab.gnome.org/guidog/stevia Source: https://gitlab.gnome.org/guidog/stevia/-/archive/v%{version_no_tilde _}/%{name}-v%{version_no_tilde _}.tar.gz ExcludeArch: i686 BuildRequires: gcc BuildRequires: meson BuildRequires: pkgconfig(glib-2.0) >= 2.80 BuildRequires: pkgconfig(gio-2.0) >= 2.80 BuildRequires: pkgconfig(gobject-2.0) >= 2.80 BuildRequires: pkgconfig(gmobile) >= 0.2.0 BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.26 BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 47 BuildRequires: pkgconfig(gtk+-3.0) >= 3.22 BuildRequires: pkgconfig(gtk+-wayland-3.0) >= 3.22 BuildRequires: pkgconfig(gdk-3.0) >= 3.22 BuildRequires: pkgconfig(gdk-wayland-3.0) >= 3.22 BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libfeedback-0.0) BuildRequires: pkgconfig(libhandy-1) >= 1.8.0 BuildRequires: pkgconfig(libsystemd) >= 241 BuildRequires: pkgconfig(wayland-client) >= 1.14 BuildRequires: pkgconfig(wayland-protocols) >= 1.12 BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(hunspell) BuildRequires: /usr/bin/fzf BuildRequires: /usr/bin/rst2man BuildRequires: /usr/bin/xvfb-run BuildRequires: gettext BuildRequires: systemd-rpm-macros BuildRequires: libappstream-glib BuildRequires: desktop-file-utils BuildRequires: words Conflicts: squeekboard %description Stevia is an alternative keyboard for Phosh. The purpose of Stevia is: * to make typing pleasant and fast on touch screens * be helpful when debugging input-method related issues * be quick and easy to (cross)compile * to be easy to extend (hence the API documentation) %package phosh-osk-provider Summary: Use Stevia as Phosh's default OSK BuildArch: noarch Requires: %{name} Provides: phosh-osk = 1.0 Conflicts: phosh-osk %description phosh-osk-provider %{summary}. %prep %setup -q -n %{name}-v%{version_no_tilde _} %build %meson -Dman=true %meson_build %install %meson_install %find_lang phosh-osk-%{name} --with-man %check desktop-file-validate %{buildroot}%{_datadir}/applications/sm.puri.OSK0.desktop LC_ALL=C.UTF-8 xvfb-run sh <<'SH' %meson_test SH %files -f phosh-osk-%{name}.lang %doc README.md %license COPYING %{_bindir}/phosh-osk-stevia %{_datadir}/glib-2.0/schemas/mobi.phosh.osk.enums.xml %{_datadir}/glib-2.0/schemas/mobi.phosh.osk.gschema.xml %{_datadir}/metainfo/mobi.phosh.Stevia.metainfo.xml %{_datadir}/phosh-osk-stevia/ %{_mandir}/man1/phosh-osk-stevia.1.gz %files phosh-osk-provider %{_datadir}/applications/sm.puri.OSK0.desktop %changelog ## START: Generated by rpmautospec * Thu Aug 14 2025 Tomi Lähteenmäki - 0.48.0-1 - Upstream release 0.48.0 ## END: Generated by rpmautospec