summaryrefslogtreecommitdiff
path: root/python-sqlalchemy-wrapper.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 03:19:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 03:19:53 +0000
commit7ddcf5b477105e6369ad9c4afa35502db0ef0939 (patch)
tree9c7bd0f130a383f96072ebdf9f486b5af7eeb72a /python-sqlalchemy-wrapper.spec
parent2ab469d8ab945ba2557d8aa7a99a3e98af226654 (diff)
automatic import of python-sqlalchemy-wrapper
Diffstat (limited to 'python-sqlalchemy-wrapper.spec')
-rw-r--r--python-sqlalchemy-wrapper.spec74
1 files changed, 74 insertions, 0 deletions
diff --git a/python-sqlalchemy-wrapper.spec b/python-sqlalchemy-wrapper.spec
new file mode 100644
index 0000000..cce42f0
--- /dev/null
+++ b/python-sqlalchemy-wrapper.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-SQLAlchemy-Wrapper
+Version: 1.9.1
+Release: 1
+Summary: A framework-independent wrapper for SQLAlchemy that makes it really easy to use
+License: BSD (see LICENSE)
+URL: http://github.com/jpscaletti/sqlalchemy-wrapper
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ee/58/f7bb6140bd714cd1ce6c2d039d6507bb0cab322264594779d4cb2fabe584/SQLAlchemy-Wrapper-1.9.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-inflection
+Requires: python3-SQLAlchemy
+
+%description
+
+
+%package -n python3-SQLAlchemy-Wrapper
+Summary: A framework-independent wrapper for SQLAlchemy that makes it really easy to use
+Provides: python-SQLAlchemy-Wrapper
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-SQLAlchemy-Wrapper
+
+
+%package help
+Summary: Development documents and examples for SQLAlchemy-Wrapper
+Provides: python3-SQLAlchemy-Wrapper-doc
+%description help
+
+
+%prep
+%autosetup -n SQLAlchemy-Wrapper-1.9.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-SQLAlchemy-Wrapper -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 1.9.1-1
+- Package Spec generated