summaryrefslogtreecommitdiff
path: root/python-proso-apps.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 03:55:15 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 03:55:15 +0000
commit35797c6db85e600f830fc0948b187843d5a3a5b1 (patch)
treeac8d19959c9fb7d9c91e60e41c74e2acd76b6b70 /python-proso-apps.spec
parente835041cb3da9e24b70a23201356b4e97a6461b5 (diff)
automatic import of python-proso-apps
Diffstat (limited to 'python-proso-apps.spec')
-rw-r--r--python-proso-apps.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-proso-apps.spec b/python-proso-apps.spec
new file mode 100644
index 0000000..b59ae2d
--- /dev/null
+++ b/python-proso-apps.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-proso-apps
+Version: 3.21.1
+Release: 1
+Summary: General library for applications in PROSO projects
+License: MIT
+URL: https://github.com/adaptive-learning/proso-apps
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e9/2e/e1848ad35ff1d51d53c143f634e39ff65c3f5c1533e13396c7b8ad268967/proso-apps-3.21.1.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-proso-apps
+Summary: General library for applications in PROSO projects
+Provides: python-proso-apps
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-proso-apps
+
+
+%package help
+Summary: Development documents and examples for proso-apps
+Provides: python3-proso-apps-doc
+%description help
+
+
+%prep
+%autosetup -n proso-apps-3.21.1
+
+%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-proso-apps -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 3.21.1-1
+- Package Spec generated