%global py_name Screenkey Name: screenkey Version: 1.4 Release: 3%{?dist} Summary: A screencast tool to display your keys License: GPLv3+ URL: https://www.thregr.org/~wavexx/software/screenkey Source0: https://gitlab.com/screenkey/screenkey/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 Patch0: %{name}-fix-161.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-babel BuildRequires: desktop-file-utils Requires: python3-gobject Requires: python3-cairo Requires: slop Recommends: fontawesome-fonts Recommends: libappindicator-gtk3 %description A screencast tool to display your keys, featuring: * Several keyboard translation methods * Key composition/input method support * Configurable font/size/position * Highlighting of recent keystrokes * Improved backspace processing * Normal/Emacs/Mac caps modes * Multi-monitor support * Dynamic recording control etc. %prep %setup -q -n %{name}-v%{version} %patch0 -p1 # Remove bundled egg-info rm -rf %{src_name}.egg-info %build %py3_build %install %py3_install %find_lang %{name} %check desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files -f %{name}.lang %doc README.rst NEWS.rst %license COPYING.txt %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/metainfo/org.thregr.%{name}.metainfo.xml %{python3_sitelib}/%{py_name}/ %{python3_sitelib}/%{name}-%{version}-*.egg-info %changelog * Sun Nov 14 2021 Rajeesh K V - 1.4-3 - Fix RHBZ#2020184 * Thu Oct 14 2021 Rajeesh K V - 1.4-2 - Remove appstreamcli validation (koji doesn't have internet connection to verify) * Thu Oct 14 2021 Rajeesh K V - 1.4-1 - Cleanup build requirements * Thu Oct 14 2021 Rajeesh K V - 1.4-0 - New version 1.4 - Switches to babel for i18n * Fri Jul 23 2021 Fedora Release Engineering - 1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.2-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Sep 17 2020 Rajeesh K V - 1.2-3 - Address Fedora review comments, v2. - Fix BR typo of python3-gobject - Add missing BR for intltool and gettext - Add missing runtime dependency on slop - Add fontawesome and appindicator recommendation - Install locale files * Fri Sep 11 2020 Rajeesh K V - 1.2-2 - Address Fedora review comments * Fri Sep 11 2020 Rajeesh K V - 1.2-1 - Initial packaging