summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-metacity.spec120
-rw-r--r--sources1
3 files changed, 122 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..574f285 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/metacity-0.6.2.tar.gz
diff --git a/python-metacity.spec b/python-metacity.spec
new file mode 100644
index 0000000..9a3f7a5
--- /dev/null
+++ b/python-metacity.spec
@@ -0,0 +1,120 @@
+%global _empty_manifest_terminate_build 0
+Name: python-metacity
+Version: 0.6.2
+Release: 1
+Summary: Python toolkit for Urban Data processing
+License: MIT
+URL: https://github.com/MetacitySuite/Metacity
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/a6/498df46362087b228a61cdb102509fe12e0f8985ce31ca53a0508cb548c8/metacity-0.6.2.tar.gz
+
+Requires: python3-orjson
+Requires: python3-colored
+Requires: python3-six
+Requires: python3-protobuf
+
+%description
+# Metacity
+
+[![Build Status](https://github.com/MetacitySuite/Metacity/workflows/Metacity%20CI/badge.svg)](https://github.com/MetacitySuite/Metacity/actions?query=workflow%3A%22Metacity+CI%22)
+[![Coverage Status](https://coveralls.io/repos/github/MetacitySuite/Metacity/badge.svg?branch=release)](https://coveralls.io/github/MetacitySuite/Metacity?branch=release)
+[![Pypi version](https://badge.fury.io/py/metacity.svg)](https://pypi.org/project/metacity/)
+
+Toolkit for Urban Data Preprocessing
+
+### Documentation
+
+Please see out [GitBook](https://docs.metacity.cc/metacity/tools/metacity)!
+
+
+
+
+
+%package -n python3-metacity
+Summary: Python toolkit for Urban Data processing
+Provides: python-metacity
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-metacity
+# Metacity
+
+[![Build Status](https://github.com/MetacitySuite/Metacity/workflows/Metacity%20CI/badge.svg)](https://github.com/MetacitySuite/Metacity/actions?query=workflow%3A%22Metacity+CI%22)
+[![Coverage Status](https://coveralls.io/repos/github/MetacitySuite/Metacity/badge.svg?branch=release)](https://coveralls.io/github/MetacitySuite/Metacity?branch=release)
+[![Pypi version](https://badge.fury.io/py/metacity.svg)](https://pypi.org/project/metacity/)
+
+Toolkit for Urban Data Preprocessing
+
+### Documentation
+
+Please see out [GitBook](https://docs.metacity.cc/metacity/tools/metacity)!
+
+
+
+
+
+%package help
+Summary: Development documents and examples for metacity
+Provides: python3-metacity-doc
+%description help
+# Metacity
+
+[![Build Status](https://github.com/MetacitySuite/Metacity/workflows/Metacity%20CI/badge.svg)](https://github.com/MetacitySuite/Metacity/actions?query=workflow%3A%22Metacity+CI%22)
+[![Coverage Status](https://coveralls.io/repos/github/MetacitySuite/Metacity/badge.svg?branch=release)](https://coveralls.io/github/MetacitySuite/Metacity?branch=release)
+[![Pypi version](https://badge.fury.io/py/metacity.svg)](https://pypi.org/project/metacity/)
+
+Toolkit for Urban Data Preprocessing
+
+### Documentation
+
+Please see out [GitBook](https://docs.metacity.cc/metacity/tools/metacity)!
+
+
+
+
+
+%prep
+%autosetup -n metacity-0.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-metacity -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..11e26a0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+09e023dbd265be687bddb1e619bfcc53 metacity-0.6.2.tar.gz