diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:02:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:02:46 +0000 |
commit | c549eccd8a030350cb87c85c31fd0d0a4e41d05a (patch) | |
tree | b6a951f594dfbedbc8f59f2dea27880a2f924d67 | |
parent | 2b0f215b5e66a2c6e72f672be69ed8dc5473fef4 (diff) |
automatic import of python-miupload
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-miupload.spec | 93 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 95 insertions, 0 deletions
@@ -0,0 +1 @@ +/miupload-1.6.2.tar.gz diff --git a/python-miupload.spec b/python-miupload.spec new file mode 100644 index 0000000..2222765 --- /dev/null +++ b/python-miupload.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-miupload +Version: 1.6.2 +Release: 1 +Summary: Small lighweight library for collecting and distribution of jupyter notebooks during SSS on MSaKGI. +License: MIT +URL: https://github.com/pypa/sampleproject +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d3/d9/4c72c871169ecd8b645255f6c7425578eed29b325e301281d9635c5ac9b1/miupload-1.6.2.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-ipykernel +Requires: python3-ipython + +%description +# MiUpload Library +MiUpload library is small lighweight library for collecting and distribution of jupyter notebooks during Structured Study Sessions on Minerva Schools at KGI. + +Learn more about Minerva on <https://minerva.kgi.edu> + + + + +%package -n python3-miupload +Summary: Small lighweight library for collecting and distribution of jupyter notebooks during SSS on MSaKGI. +Provides: python-miupload +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-miupload +# MiUpload Library +MiUpload library is small lighweight library for collecting and distribution of jupyter notebooks during Structured Study Sessions on Minerva Schools at KGI. + +Learn more about Minerva on <https://minerva.kgi.edu> + + + + +%package help +Summary: Development documents and examples for miupload +Provides: python3-miupload-doc +%description help +# MiUpload Library +MiUpload library is small lighweight library for collecting and distribution of jupyter notebooks during Structured Study Sessions on Minerva Schools at KGI. + +Learn more about Minerva on <https://minerva.kgi.edu> + + + + +%prep +%autosetup -n miupload-1.6.2 + +%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-miupload -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 1.6.2-1 +- Package Spec generated @@ -0,0 +1 @@ +81b7af33e6b55a405363852e02824d9d miupload-1.6.2.tar.gz |