%global _empty_manifest_terminate_build 0 Name: python-AMcomandPack Version: 0.0.0.2.2.2 Release: 1 Summary: clean implementation of functions from AM class at fgz License: wtfpl URL: https://github.com/JulianWww/AMCommandPack2 Source0: https://mirrors.aliyun.com/pypi/web/packages/6d/a9/c5d041f2010227a64affb8f5b9aca68c0c871abfc2bb09c8dadaf7ccb493/AMcomandPack-0.0.0.2.2.2.tar.gz BuildArch: noarch %description geo -= rendering =- - cleaner tkinter Canvas - add a clean implementation of the Canvas addons to stuff - cleaner tkinter Tk - nothing as of yet same a tkinter.Tk - extensions scripting utils - Xmas egsample with falling snow flakes latest update: canvas tk now takes lists update: added render axis to goeCanvas %package -n python3-AMcomandPack Summary: clean implementation of functions from AM class at fgz Provides: python-AMcomandPack BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-AMcomandPack geo -= rendering =- - cleaner tkinter Canvas - add a clean implementation of the Canvas addons to stuff - cleaner tkinter Tk - nothing as of yet same a tkinter.Tk - extensions scripting utils - Xmas egsample with falling snow flakes latest update: canvas tk now takes lists update: added render axis to goeCanvas %package help Summary: Development documents and examples for AMcomandPack Provides: python3-AMcomandPack-doc %description help geo -= rendering =- - cleaner tkinter Canvas - add a clean implementation of the Canvas addons to stuff - cleaner tkinter Tk - nothing as of yet same a tkinter.Tk - extensions scripting utils - Xmas egsample with falling snow flakes latest update: canvas tk now takes lists update: added render axis to goeCanvas %prep %autosetup -n AMcomandPack-0.0.0.2.2.2 %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-AMcomandPack -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 0.0.0.2.2.2-1 - Package Spec generated