## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; 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: squeekboard Version: 1.43.1 Release: %autorelease Summary: a Wayland virtual keyboard # The entire source is GPL-3.0-or-later, except: # # GPL-2.0-or-later: # - eek/*, except eek/layersurface.{c,h} which are still GPL-3.0-or-later # HPND-sell-variant: # - protocols/text-input-unstable-v3.xml # - protocols/wlr-layer-shell-unstable-v1.xml # LGPL-2.0-or-later: # - src/style.rs # MIT: # - protocols/input-method-unstable-v2.xml # - protocols/virtual-keyboard-unstable-v1.xml # MIT OR Apache-2.0: # - src/assert_matches.rs # - src/float_ord.rs SourceLicense: %{shrink: GPL-3.0-or-later AND HPND-sell-variant AND LGPL-2.0-or-later AND MIT AND (MIT OR Apache-2.0) } # This includes everything from SourceLicense, plus the licenses of Rust # libraries statically linked into the executable. To obtain the following # list of licenses, build the package and note the output of # %%{cargo_license_summary}. A full breakdown is in LICENSES.dependencies. # # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # Unlicense OR MIT License: %{shrink: GPL-3.0-or-later AND HPND-sell-variant AND LGPL-2.0-or-later AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) } URL: https://gitlab.gnome.org/World/Phosh/squeekboard Source0: https://gitlab.gnome.org/World/Phosh/squeekboard/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 Source1: squeekboard.desktop # treewide: Upgrade zbus to 4.x # https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/709 Patch: %{url}/-/merge_requests/709.patch BuildRequires: gcc BuildRequires: meson BuildRequires: rust-packaging BuildRequires: pkgconfig(gio-2.0) >= 2.26 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0 BuildRequires: pkgconfig(wayland-client) >= 1.14 BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(wayland-protocols) >= 1.12 BuildRequires: pkgconfig(libfeedback-0.0) BuildRequires: pkgconfig(libbsd) BuildRequires: desktop-file-utils # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} %description Squeekboard is a virtual keyboard supporting Wayland, built primarily for the Librem 5 phone. It squeaks because some Rust got inside. %package phosh-osk-provider Summary: Use squeekboard as Phosh's default OSK BuildArch: noarch Requires: %{name} Provides: phosh-osk = 1.0 Conflicts: phosh-osk %description phosh-osk-provider %{summary}. %prep %autosetup -p1 -n %{name}-v%{version} %cargo_prep rm -f Cargo.lock %generate_buildrequires %cargo_generate_buildrequires -a %build # ensure standard Rust compiler flags are set export RUSTFLAGS="%build_rustflags" %meson %meson_build %cargo_license_summary %{cargo_license} > LICENSE.dependencies %install %meson_install chmod +x %{buildroot}%{_bindir}/squeekboard-entry cp tools/squeekboard-restyled %{buildroot}%{_bindir} chmod +x %{buildroot}%{_bindir}/squeekboard-restyled ln -s sm.puri.Squeekboard.desktop \ %{buildroot}%{_datadir}/applications/sm.puri.OSK0.desktop %find_lang %{name} %check # ensure standard Rust compiler flags are set export RUSTFLAGS="%build_rustflags" %meson_test # TODO: re-enable when desktop-file-utils 0.28-1 is available # desktop-file-validate %{buildroot}/%{_datadir}/applications/sm.puri.Squeekboard.desktop %files -f %{name}.lang %{_bindir}/squeekboard %{_bindir}/squeekboard-entry %{_bindir}/squeekboard-test-layout %{_bindir}/squeekboard-restyled %{_datadir}/applications/sm.puri.Squeekboard.desktop %{_datadir}/glib-2.0/schemas/sm.puri.Squeekboard.gschema.xml %doc README.md %license COPYING LICENSE.dependencies %files phosh-osk-provider %{_datadir}/applications/sm.puri.OSK0.desktop %changelog ## START: Generated by rpmautospec * Sun Mar 23 2025 Sam Day - 1.43.1-8 - Drop xdg-autostart usage * Sun Mar 23 2025 Sam Day - 1.43.1-7 - Add phosh-osk-provider subpackage * Sun Mar 23 2025 Sam Day - 1.43.1-6 - Remove X-Phosh hacks in .desktop file * Fri Feb 14 2025 Benjamin A. Beasley - 1.43.1-2 - Stop patching for xkbcommon 0.7 (rebuild with xkbcommon 0.8) - Properly document licenses of the source and of Rust dependencies * Sun Feb 02 2025 Sam Day - 1.43.1-1 - Update to 1.43.1 - Patch zbus dependency from 1.9 to to 4.x - Patch xkbkeyboard dependency from 0.8 to 0.7 * Wed Jan 22 2025 David Bold - 1.42.0-2 - Disable building for i686 * Sun Jan 19 2025 Fedora Release Engineering - 1.42.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Oct 01 2024 David Bold - 1.42.0-1 - Update to 1.42.0 * Tue Aug 20 2024 David Bold - 1.41.0-1 - Update to 1.41.0 * Thu Jul 25 2024 Miroslav Suchý - 1.39.0-3 - convert license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 1.39.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 18 2024 David Bold - 1.39.0-1 - Update to 1.39.0 * Mon Apr 15 2024 David Bold - 1.38.0-1 - Update to 1.38.0 ; Thanks to Sam Day for the xkb patch * Sat Jan 27 2024 Fedora Release Engineering - 1.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 1.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Feb 05 2023 Fabio Valentini - 1.20.0-3 - Ensure standard Rust compiler flags are set. * Sat Jan 21 2023 Fedora Release Engineering - 1.20.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Sep 11 2022 Torrey Sorensen - 1.20.0-1 - Update to 1.20.0 * Sat Jul 23 2022 Fedora Release Engineering - 1.19.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Kalev Lember - 1.19.0-2 - Rebuilt for libgnome-desktop soname bump * Mon Jul 18 2022 Torrey Sorensen - 1.19.0-1 - Update to 1.19.0 * Thu Jun 02 2022 Torrey Sorensen - 1.18.0-1 - Update to 1.18.0 * Fri Jan 28 2022 Torrey Sorensen - 1.16.0-2 - Patch not starting bug * Tue Jan 25 2022 Torrey Sorensen - 1.16.0-1 - Update to 1.16.0 * Sat Jan 22 2022 Fedora Release Engineering - 1.14.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Torrey Sorensen - 1.14.0-1 - Update to 1.14.0 * Thu Apr 15 2021 Torrey Sorensen - 1.13.0-1 - Update to 1.13.0 * Thu Feb 18 2021 Torrey Sorensen - 1.12.0-3 - Bump version for rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 20 2021 Torrey Sorensen - 1.12.0-1 - Update to 1.12.0 * Mon Nov 23 2020 Torrey Sorensen - 1.11.1-1 - Update to 1.11.1 * Sat Nov 14 2020 Torrey Sorensen - 1.11.0-1 - Update to 1.11.0 * Fri Oct 23 2020 Torrey Sorensen - 1.10.0-1 - Update to 1.10.0 * Sun Aug 09 2020 Torrey Sorensen - 1.9.3-1 - Update to 1.9.3 including new dependencies and new patch file and Cargo.toml * Wed Jul 29 2020 Fedora Release Engineering - 1.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 20 2020 Josh Stone - 1.9.2-2 - Bump to cairo 0.9 and gtk 0.9 * Fri Jun 19 2020 Torrey Sorensen - 1.9.2-1 - Update to 1.9.2, including updated patch file. - Remove unused libcroco - Temporarily excluding ppc64le architecture * Tue Mar 24 2020 Nikhil Jha - 1.9.1-1 - Update to 1.9.1 * Tue Mar 24 2020 Nikhil Jha - 1.9.0-2 - Validate desktop file * Thu Feb 27 2020 Nikhil Jha - 1.9.0-1 - Initial packaging ## END: Generated by rpmautospec