summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 04:51:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 04:51:46 +0000
commited9e1ea2ced18d7fec4e789edb6319b865b7a8df (patch)
tree07fd1388988cd54b87b475257cecb66c2c4cd9a8
parent82cb1e2149dd1d6d9964dea8d91ea588557d3198 (diff)
automatic import of python-opensitua-databaseopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-opensitua-database.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b002cb4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/opensitua_database-0.0.120.tar.gz
diff --git a/python-opensitua-database.spec b/python-opensitua-database.spec
new file mode 100644
index 0000000..1794646
--- /dev/null
+++ b/python-opensitua-database.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-opensitua-database
+Version: 0.0.120
+Release: 1
+Summary: A core database functions package
+License: MIT License
+URL: https://github.com/valluzzi/opensitua_database.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/50/be/24de78de3cb484c4d6c2ee22ce851caa08c072df30668dafa4301330050f/opensitua_database-0.0.120.tar.gz
+BuildArch: noarch
+
+Requires: python3-opensitua-core
+Requires: python3-psycopg2
+
+%description
+A core database functions package
+
+
+
+
+%package -n python3-opensitua-database
+Summary: A core database functions package
+Provides: python-opensitua-database
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-opensitua-database
+A core database functions package
+
+
+
+
+%package help
+Summary: Development documents and examples for opensitua-database
+Provides: python3-opensitua-database-doc
+%description help
+A core database functions package
+
+
+
+
+%prep
+%autosetup -n opensitua-database-0.0.120
+
+%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-opensitua-database -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.120-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4c7fc6a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ff71a54f8f04c6726cf4ce93da75837e opensitua_database-0.0.120.tar.gz