diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:10:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:10:56 +0000 |
commit | 8690b690279d24775ddb856ebd0a70647525844c (patch) | |
tree | f7183e83ded495e8362cf070c1e902a341f9593a | |
parent | 27829e539a987e8963733dde3b5770160e370d5d (diff) |
automatic import of python-altoshift
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-altoshift.spec | 141 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 143 insertions, 0 deletions
@@ -0,0 +1 @@ +/altoshift-1.0.79.tar.gz diff --git a/python-altoshift.spec b/python-altoshift.spec new file mode 100644 index 0000000..a90dd42 --- /dev/null +++ b/python-altoshift.spec @@ -0,0 +1,141 @@ +%global _empty_manifest_terminate_build 0 +Name: python-altoshift +Version: 1.0.79 +Release: 1 +Summary: learning today make you better tomorrow +License: MIT +URL: https://altoshift.com +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/50/cb/1f7e54dcbe98275fbaa3d62747dbb86cc5c1373ebbd945bcb96af1d1301d/altoshift-1.0.79.tar.gz +BuildArch: noarch + + +%description +#Altoshift Module Python# + +Altoshift.com - Search engine as a service. + +we provide easy setup for integration. + +## Installing + +``` +pip install altoshift --user +``` + +## Upgrade + +``` +pip install altoshift --upgrade --user +``` + + + +Author : +Eko Aprili Trisno + +eaprilitrisno@gmail.com + +%package -n python3-altoshift +Summary: learning today make you better tomorrow +Provides: python-altoshift +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-altoshift +#Altoshift Module Python# + +Altoshift.com - Search engine as a service. + +we provide easy setup for integration. + +## Installing + +``` +pip install altoshift --user +``` + +## Upgrade + +``` +pip install altoshift --upgrade --user +``` + + + +Author : +Eko Aprili Trisno + +eaprilitrisno@gmail.com + +%package help +Summary: Development documents and examples for altoshift +Provides: python3-altoshift-doc +%description help +#Altoshift Module Python# + +Altoshift.com - Search engine as a service. + +we provide easy setup for integration. + +## Installing + +``` +pip install altoshift --user +``` + +## Upgrade + +``` +pip install altoshift --upgrade --user +``` + + + +Author : +Eko Aprili Trisno + +eaprilitrisno@gmail.com + +%prep +%autosetup -n altoshift-1.0.79 + +%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-altoshift -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.79-1 +- Package Spec generated @@ -0,0 +1 @@ +c0c0813aba62ce47bf83523bd8db2fbe altoshift-1.0.79.tar.gz |