summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:17:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:17:00 +0000
commitd10a2dfadfb277571611d4d788c394eece5396da (patch)
treedc2ad784edb9948b4fa9560c04a74161a497daf2
parenta22872b2427f1dc7cbfb7dc317e98215391797f8 (diff)
automatic import of python-calculation-mapilio
-rw-r--r--.gitignore1
-rw-r--r--python-calculation-mapilio.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..145c08c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/calculation-mapilio-0.1.33.tar.gz
diff --git a/python-calculation-mapilio.spec b/python-calculation-mapilio.spec
new file mode 100644
index 0000000..5d10b0c
--- /dev/null
+++ b/python-calculation-mapilio.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-calculation-mapilio
+Version: 0.1.33
+Release: 1
+Summary: Mapilio Calculation Library
+License: MIT
+URL: https://github.com/mapilio/calculation.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/d7/123cba17ff9c5eeffbee387039841592ba61e9d010c30b3d5a6776a3db6d/calculation-mapilio-0.1.33.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-requests
+Requires: python3-trianglesolver
+Requires: python3-ExifRead
+Requires: python3-addict
+
+%description
+# Mapilio Calculation Library
+
+
+%package -n python3-calculation-mapilio
+Summary: Mapilio Calculation Library
+Provides: python-calculation-mapilio
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-calculation-mapilio
+# Mapilio Calculation Library
+
+
+%package help
+Summary: Development documents and examples for calculation-mapilio
+Provides: python3-calculation-mapilio-doc
+%description help
+# Mapilio Calculation Library
+
+
+%prep
+%autosetup -n calculation-mapilio-0.1.33
+
+%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-calculation-mapilio -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.33-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..657549f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5d720f1430b31911c07ec09ebc9ed4bc calculation-mapilio-0.1.33.tar.gz