diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:06:35 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:06:35 +0000 |
commit | f7447cbcd673e0c0879d36675dce996765c609f8 (patch) | |
tree | 3ab08e7b1715282ee66492d739ebab1d971e54f2 | |
parent | c0120484156bb8f7679177e472d14583e232fc72 (diff) |
automatic import of python-minitage.recipe.eggopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-minitage-recipe-egg.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/minitage.recipe.egg-1.107.zip diff --git a/python-minitage-recipe-egg.spec b/python-minitage-recipe-egg.spec new file mode 100644 index 0000000..4bdfa02 --- /dev/null +++ b/python-minitage-recipe-egg.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-minitage.recipe.egg +Version: 1.107 +Release: 1 +Summary: zc.buildout recipes to compile and install software or python packages and generate scripts or configuration files sponsored by Makina Corpus. +License: BSD +URL: http://cheeseshop.python.org/pypi/minitage.recipe.egg +Source0: https://mirrors.aliyun.com/pypi/web/packages/98/26/4d29be49250823a39db777a6f351f05f67b8f1bc440b5f06020df322f2b9/minitage.recipe.egg-1.107.zip +BuildArch: noarch + + +%description + + +%package -n python3-minitage.recipe.egg +Summary: zc.buildout recipes to compile and install software or python packages and generate scripts or configuration files sponsored by Makina Corpus. +Provides: python-minitage.recipe.egg +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-minitage.recipe.egg + + +%package help +Summary: Development documents and examples for minitage.recipe.egg +Provides: python3-minitage.recipe.egg-doc +%description help + + +%prep +%autosetup -n minitage.recipe.egg-1.107 + +%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-minitage.recipe.egg -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.107-1 +- Package Spec generated @@ -0,0 +1 @@ +c9f1d07dcba73bfb41521df46607465d minitage.recipe.egg-1.107.zip |