From 125b87494d365165f4fb0a9f842c4da4b9221b10 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 29 May 2023 10:31:28 +0000 Subject: automatic import of python-openlabs-nereid-webshop --- .gitignore | 1 + python-openlabs-nereid-webshop.spec | 72 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+) create mode 100644 python-openlabs-nereid-webshop.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..43bfae6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/openlabs_nereid_webshop-3.4.4.6.tar.gz diff --git a/python-openlabs-nereid-webshop.spec b/python-openlabs-nereid-webshop.spec new file mode 100644 index 0000000..b54fe67 --- /dev/null +++ b/python-openlabs-nereid-webshop.spec @@ -0,0 +1,72 @@ +%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 +* Mon May 29 2023 Python_Bot - 3.4.4.6-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..d26639f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d7b5a6c02fb5796fa475a60c677ec739 openlabs_nereid_webshop-3.4.4.6.tar.gz -- cgit v1.2.3