%define commit0 1438d048bbe4477ac6383c29a8f520300bacdafc %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 1 Name: rofimoji Version: 6.5.0 Release: %{bumpver}.git%{shortcommit0} Summary: Emoji, unicode and general character picker for rofi and rofi-likes License: MIT URL: https://github.com/fdw/rofimoji Source0: %{url}/archive/%{commit0}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: sed %py_provides python3-picker Requires: rofi-wayland Requires: wl-clipboard Requires: wtype %description How often did you want to insert one of those Unicode emoji only to learn that there is no nice picker for Linux? Fear no more, this script uses the power of rofi (and other dmenu-derivatives like wofi) to present exactly the picker you always wanted. Insert the selected emoji directly, or copy it to the clipboard. And you can use it to pick any weird character someone got into Unicode, too. %prep %autosetup -n %{name}-%{commit0} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files picker %files -n %{name} -f %{pyproject_files} %license LICENSE %doc README.md %{_bindir}/rofimoji %changelog %autochangelog