07b3224
%global py_name Screenkey
07b3224
Name:		screenkey
5f3d5f3
Version:	1.5
5f3d5f3
Release:	1%{?dist}
07b3224
Summary:	A screencast tool to display your keys
07b3224
License:	GPLv3+
2fa6ae0
URL:		https://www.thregr.org/~wavexx/software/%{name}
2fa6ae0
Source0:	%{URL}/releases/%{name}-%{version}.tar.gz
2fa6ae0
Source1:        %{URL}/releases/%{name}-%{version}.tar.gz.asc
2fa6ae0
Source2:        https://www.thregr.org/~wavexx/files/wavexx.asc
07b3224
07b3224
BuildArch:	noarch
07b3224
07b3224
BuildRequires:	python3-devel
07b3224
BuildRequires:	python3-setuptools
d5d2b01
BuildRequires:	python3-babel
07b3224
BuildRequires:	desktop-file-utils
07b3224
2fa6ae0
BuildRequires: gnupg2
2fa6ae0
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:
d9e9e14
* 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
2fa6ae0
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
2fa6ae0
%autosetup
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
5f3d5f3
* Sun Jan 30 2022 Dan Čermák <dan.cermak@cgc-instruments.com> - 1.5-1
5f3d5f3
- New upstream release 1.5
5f3d5f3
a602a3e
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
a602a3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a602a3e
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