%global _empty_manifest_terminate_build 0 Name: python-steamid-converter Version: 1.0.1 Release: 1 Summary: Package for easy conversion between steamID formats License: MIT License URL: https://github.com/AlexHodgson/steamid-converter Source0: https://mirrors.nju.edu.cn/pypi/web/packages/75/a4/7658d5065eeab7884d26f41c4bc06804c48d82f260baba955bd6d8718a39/steamid-converter-1.0.1.tar.gz BuildArch: noarch %description Format| STEAM_0:X:XXXXXXXX | \[U:1:XXXXXXXX\] | 17 digit int This package provides conversions between these formats.\ For more in-depth information on steamIDs see the [Valve Software Wiki Page](https://developer.valvesoftware.com/wiki/SteamID) ## Functionality All functions currently avaliable are located in ```steamid_converter.Converter```\ Each function can take any of the steamID formats (Including the function's target format) as a string or integer. Then will return that ID converted to the function's target format. ### Avaliable Functions ```python Converter.to_steamID(steamID) """ Convert to steamID A steamID is unique to each steam account, Formatted with digits as x "STEAM_0:x:xxxxxxxx" %package -n python3-steamid-converter Summary: Package for easy conversion between steamID formats Provides: python-steamid-converter BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-steamid-converter Format| STEAM_0:X:XXXXXXXX | \[U:1:XXXXXXXX\] | 17 digit int This package provides conversions between these formats.\ For more in-depth information on steamIDs see the [Valve Software Wiki Page](https://developer.valvesoftware.com/wiki/SteamID) ## Functionality All functions currently avaliable are located in ```steamid_converter.Converter```\ Each function can take any of the steamID formats (Including the function's target format) as a string or integer. Then will return that ID converted to the function's target format. ### Avaliable Functions ```python Converter.to_steamID(steamID) """ Convert to steamID A steamID is unique to each steam account, Formatted with digits as x "STEAM_0:x:xxxxxxxx" %package help Summary: Development documents and examples for steamid-converter Provides: python3-steamid-converter-doc %description help Format| STEAM_0:X:XXXXXXXX | \[U:1:XXXXXXXX\] | 17 digit int This package provides conversions between these formats.\ For more in-depth information on steamIDs see the [Valve Software Wiki Page](https://developer.valvesoftware.com/wiki/SteamID) ## Functionality All functions currently avaliable are located in ```steamid_converter.Converter```\ Each function can take any of the steamID formats (Including the function's target format) as a string or integer. Then will return that ID converted to the function's target format. ### Avaliable Functions ```python Converter.to_steamID(steamID) """ Convert to steamID A steamID is unique to each steam account, Formatted with digits as x "STEAM_0:x:xxxxxxxx" %prep %autosetup -n steamid-converter-1.0.1 %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-steamid-converter -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 Python_Bot - 1.0.1-1 - Package Spec generated