%global _empty_manifest_terminate_build 0 Name: python-openlabs_nereid_webshop Version: 3.4.4.6 Release: 1 Summary: Nereid Webshop License: GPL-3 URL: http://www.openlabs.co.in Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c4/9e/278a2e7f73d0527ae42e52bfe3c42123b79d8e5beab2b9c5b3a839cd740f/openlabs_nereid_webshop-3.4.4.6.tar.gz BuildArch: noarch %description Full Webshop based on Tryton Nereid %package -n python3-openlabs_nereid_webshop Summary: Nereid Webshop Provides: python-openlabs_nereid_webshop BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-openlabs_nereid_webshop Full Webshop based on Tryton Nereid %package help Summary: Development documents and examples for openlabs_nereid_webshop Provides: python3-openlabs_nereid_webshop-doc %description help Full Webshop based on Tryton Nereid %prep %autosetup -n openlabs_nereid_webshop-3.4.4.6 %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-openlabs_nereid_webshop -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 3.4.4.6-1 - Package Spec generated