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