Files
fuzzel/fuzzel.spec
Soc Virnyl Estela 180708cb6a - Update to 1.13.1:
* Regression: input not being returned in dmenu mode.
  * Regression: `--password` not working.
  * Regression: Part of the background transparency disappearing after
    typing.
  * Add support for fallback icons in dmenu mode using comma-separated
  values in the icon metadata.
  * `--namespace` command line option.
  * Gamma-correct blending. Disabled by default. Enable with the new
  `--gamma-correct` command line option, or by setting
  `gamma-correct-blending=yes` in `fuzzel.ini`. Note that
  gamma-correct blending **is not supported in cairo enabled builds of
  fuzzel**, due to the lack of 16-bit image buffers in cairo.
  * `scaling-filter` option (and the corresponding `--scaling-filter`
  command line option). This option defines which scaling filter
  fuzzel uses when down scaling PNGs.
  * `--minimal-lines` command line and config option, causing fuzzel to
  adjust the number of displayed lines to the minimum of `--lines` and
  the number of input lines
  * Touchscreen support
  * `{cmd}` placeholder support in the `terminal` option. When `{cmd}` is
  present in the terminal command string, it will be replaced with the
  application command instead of appending the command at the end. Useful
  for setting the title or app_id.
  * `--hide-prompt` command line option to hide the prompt line, reducing
   window size while still accepting input. This cannot be used
  simultaneously with `--prompt-only`.
  * `--auto-select` option. When one entry is left, automatically select
  it.
  * `selection-radius` option and `--selection-radius` flag to set the border

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fuzzel?expand=0&rev=37
2025-08-27 15:38:09 +00:00

116 lines
3.4 KiB
RPMSpec

#
# spec file for package fuzzel
#
# 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: fuzzel
Version: 1.13.1
Release: 0
Summary: A Wayland-native application launcher, similar to rofi's drun mode
License: MIT
Group: System/X11/Utilities
URL: https://codeberg.org/dnkl/fuzzel
Source: https://codeberg.org/dnkl/fuzzel/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: https://codeberg.org/dnkl/fuzzel/releases/download/%{version}/%{name}-%{version}.tar.gz.sig
# https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb19964fbba09664cc81027ed5bbd4992c116573f
Source2: %{name}.keyring
BuildRequires: meson >= 0.58
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: scdoc
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(fcft) < 4.0.0
BuildRequires: pkgconfig(fcft) >= 3.0.0
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(tllist) >= 1.0.1
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(xkbcommon)
%if 0%{?sle_version} >= 150400
BuildRequires: gcc11
%else
BuildRequires: gcc >= 8
%endif
%description
A Wayland-native application launcher, similar to rofi's drun mode.
%prep
%autosetup -p1
%package zsh-completion
Summary: Zsh Completion for %{name}
Group: System/Shells
Supplements: (%{name} and zsh)
Requires: %{name}
Requires: zsh
%description zsh-completion
Zsh command-line completion support for %{name}
%package fish-completion
Summary: Fish Completion for %{name}
Group: System/Shells
Supplements: (%{name} and fish)
Requires: %{name}
Requires: fish
%description fish-completion
Fish command-line completion support for %{name}.
%build
export CFLAGS="%{optflags}"
%meson \
-Denable-cairo=enabled -Dpng-backend=libpng -Dsvg-backend=nanosvg \
%if 0%{?sle_version} == 150400 && 0%{?is_opensuse}
# For whatever reason, meson >= 0.58 should already support the c18 standard.
-Dc_std=c11 \
%endif
-Db_lto=true
%meson_build
%install
%meson_install
%files
%dir %{_datadir}/doc/%{name}
%license %{_datadir}/doc/%{name}/LICENSE
%doc %{_datadir}/doc/%{name}/README.md
%{_datadir}/doc/%{name}/CHANGELOG.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man5/%{name}.ini.5%{?ext_man}
%dir %{_sysconfdir}/xdg/%{name}
%config(noreplace) %{_sysconfdir}/xdg/%{name}/%{name}.ini
%files zsh-completion
%dir %{_datadir}/zsh/
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_%{name}
%files fish-completion
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/fuzzel.fish
%changelog