Blob Blame History Raw
%global py_name Screenkey
Name:		screenkey
Version:	1.2
Release:	4%{?dist}
Summary:	A screencast tool to display your keys
License:	GPLv3+

BuildArch:	noarch

BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-distutils-extra
BuildRequires:	desktop-file-utils
BuildRequires:	intltool
BuildRequires:	gettext

Requires:   python3-gobject
Requires:   python3-cairo
Requires:   slop

Recommends: fontawesome-fonts
Recommends: libappindicator-gtk3

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.

%setup -q -n %{name}-%{version}
# Remove bundled egg-info
rm -rf %{src_name}.egg-info


#Manually install locale files
install -d -m 0755 %{buildroot}/%{_datadir}/locale
cp -r build/mo/* %{buildroot}/%{_datadir}/locale/
%find_lang %{name}

desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop

%files -f %{name}.lang
%doc README.rst NEWS.rst
%license COPYING.txt

* Wed Jan 27 2021 Fedora Release Engineering <> - 1.2-4
- Rebuilt for

* 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