%global _empty_manifest_terminate_build 0 Name: python-wajig Version: 4.0.12 Release: 1 Summary: Ubunut admin managemetn tool License: GNU General Public License v3 (GPLv3) URL: https://wajig.togaware.com Source0: https://mirrors.aliyun.com/pypi/web/packages/53/23/512ad1798b6f1a71ff366d816984d8f8dee551b29de53a1bc6647cc66b45/wajig-4.0.12.tar.gz BuildArch: noarch %description Wajig is available in the Debian and Ubuntu repositories. On Ubuntu, where sudo is set up by default ```consoles $ sudo apt install wajig ``` It is also available on [PyPI](https://pypi.org/project/wajig/) from where it can be installed with: ```console $ pip3 install wajig ``` If sudo is not set up (see instructions below) then as root: ```console # apt-get install wajig ``` %package -n python3-wajig Summary: Ubunut admin managemetn tool Provides: python-wajig BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-wajig Wajig is available in the Debian and Ubuntu repositories. On Ubuntu, where sudo is set up by default ```consoles $ sudo apt install wajig ``` It is also available on [PyPI](https://pypi.org/project/wajig/) from where it can be installed with: ```console $ pip3 install wajig ``` If sudo is not set up (see instructions below) then as root: ```console # apt-get install wajig ``` %package help Summary: Development documents and examples for wajig Provides: python3-wajig-doc %description help Wajig is available in the Debian and Ubuntu repositories. On Ubuntu, where sudo is set up by default ```consoles $ sudo apt install wajig ``` It is also available on [PyPI](https://pypi.org/project/wajig/) from where it can be installed with: ```console $ pip3 install wajig ``` If sudo is not set up (see instructions below) then as root: ```console # apt-get install wajig ``` %prep %autosetup -n wajig-4.0.12 %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-wajig -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 4.0.12-1 - Package Spec generated