%global _empty_manifest_terminate_build 0 Name: python-fkeycapture Version: 1.2.3 Release: 1 Summary: A way to capture keystrokes License: MIT License URL: https://github.com/F1repup650/fkeycapture Source0: https://mirrors.nju.edu.cn/pypi/web/packages/17/73/6feca66123f1c26d47b42cd32111817277e7adb194b3ef15099de63395df/fkeycapture-1.2.3.tar.gz BuildArch: noarch %description # fkeycapture This is a simple and easy to use package that allows you to capture individual keystrokes from the user. #### Forms: 1. (Default) Recive key as a string 2. Recive key as bytes (get only) 3. Recive key as ints (getnum only) #### How to Use: 1. from fkeycapture import get, getnum, getchars 2. Use get like this: `get(keycount = any int, bytes = True or False)` 3. Use getnum like this: `getnum(keycount = any int, ints = True or False)` 4. Use getchars like this: `getchars(keycount = any int, chars = list of chars, bytes = True or False)` #### Change log: ###### v.1.2.3: Project links updated ###### v.1.2.2: Internal improvements, Changelog improved ###### v.1.2.1: Changelog issue fixed, removed the help command from 1.0.10 ###### v.1.2.0 Type hinting, docstrings, and int support for getnum! ###### v.1.0.10 ~~Now includes a help command! Use fkeycapture.help() to recive help.~~ See v.1.2.1 ###### v.1.0.9 Fixed README issues in 1.0.8 ###### v.1.0.8 Added getchars method ###### v.1.0.7 Added the getnum method ###### v.1.0.6 Finally made the package usable. ###### v.1.0.5 Repaired an issue in 1.0.4 which caused the module to cause a recusion error. ###### v.1.0.4 Repaired an issue in 1.0.3 which caused the module to be unusable. ###### v.1.0.3 Repaired an issue in 1.0.0, 1.0.1, and 1.0.2 which caused the module to be unusable. ###### v.1.0.2 (Missing) Unknown ###### v.1.0.1 Corrected incorrect text in certain files ###### v.0.0.6 (v.1.0.0 on PyPI) Removed unnecessary code ###### v.0.0.5 Replit support? %package -n python3-fkeycapture Summary: A way to capture keystrokes Provides: python-fkeycapture BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-fkeycapture # fkeycapture This is a simple and easy to use package that allows you to capture individual keystrokes from the user. #### Forms: 1. (Default) Recive key as a string 2. Recive key as bytes (get only) 3. Recive key as ints (getnum only) #### How to Use: 1. from fkeycapture import get, getnum, getchars 2. Use get like this: `get(keycount = any int, bytes = True or False)` 3. Use getnum like this: `getnum(keycount = any int, ints = True or False)` 4. Use getchars like this: `getchars(keycount = any int, chars = list of chars, bytes = True or False)` #### Change log: ###### v.1.2.3: Project links updated ###### v.1.2.2: Internal improvements, Changelog improved ###### v.1.2.1: Changelog issue fixed, removed the help command from 1.0.10 ###### v.1.2.0 Type hinting, docstrings, and int support for getnum! ###### v.1.0.10 ~~Now includes a help command! Use fkeycapture.help() to recive help.~~ See v.1.2.1 ###### v.1.0.9 Fixed README issues in 1.0.8 ###### v.1.0.8 Added getchars method ###### v.1.0.7 Added the getnum method ###### v.1.0.6 Finally made the package usable. ###### v.1.0.5 Repaired an issue in 1.0.4 which caused the module to cause a recusion error. ###### v.1.0.4 Repaired an issue in 1.0.3 which caused the module to be unusable. ###### v.1.0.3 Repaired an issue in 1.0.0, 1.0.1, and 1.0.2 which caused the module to be unusable. ###### v.1.0.2 (Missing) Unknown ###### v.1.0.1 Corrected incorrect text in certain files ###### v.0.0.6 (v.1.0.0 on PyPI) Removed unnecessary code ###### v.0.0.5 Replit support? %package help Summary: Development documents and examples for fkeycapture Provides: python3-fkeycapture-doc %description help # fkeycapture This is a simple and easy to use package that allows you to capture individual keystrokes from the user. #### Forms: 1. (Default) Recive key as a string 2. Recive key as bytes (get only) 3. Recive key as ints (getnum only) #### How to Use: 1. from fkeycapture import get, getnum, getchars 2. Use get like this: `get(keycount = any int, bytes = True or False)` 3. Use getnum like this: `getnum(keycount = any int, ints = True or False)` 4. Use getchars like this: `getchars(keycount = any int, chars = list of chars, bytes = True or False)` #### Change log: ###### v.1.2.3: Project links updated ###### v.1.2.2: Internal improvements, Changelog improved ###### v.1.2.1: Changelog issue fixed, removed the help command from 1.0.10 ###### v.1.2.0 Type hinting, docstrings, and int support for getnum! ###### v.1.0.10 ~~Now includes a help command! Use fkeycapture.help() to recive help.~~ See v.1.2.1 ###### v.1.0.9 Fixed README issues in 1.0.8 ###### v.1.0.8 Added getchars method ###### v.1.0.7 Added the getnum method ###### v.1.0.6 Finally made the package usable. ###### v.1.0.5 Repaired an issue in 1.0.4 which caused the module to cause a recusion error. ###### v.1.0.4 Repaired an issue in 1.0.3 which caused the module to be unusable. ###### v.1.0.3 Repaired an issue in 1.0.0, 1.0.1, and 1.0.2 which caused the module to be unusable. ###### v.1.0.2 (Missing) Unknown ###### v.1.0.1 Corrected incorrect text in certain files ###### v.0.0.6 (v.1.0.0 on PyPI) Removed unnecessary code ###### v.0.0.5 Replit support? %prep %autosetup -n fkeycapture-1.2.3 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-fkeycapture -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 15 2023 Python_Bot - 1.2.3-1 - Package Spec generated