summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pyramid-oereb.spec117
-rw-r--r--sources1
3 files changed, 119 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..fe33bf5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyramid_oereb-2.4.2.tar.gz
diff --git a/python-pyramid-oereb.spec b/python-pyramid-oereb.spec
new file mode 100644
index 0000000..dc835c7
--- /dev/null
+++ b/python-pyramid-oereb.spec
@@ -0,0 +1,117 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyramid-oereb
+Version: 2.4.2
+Release: 1
+Summary: pyramid_oereb, extension for pyramid web frame work to provide a basic server part for the oereb project
+License: BSD 2
+URL: https://github.com/openoereb/pyramid_oereb
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6b/fb/5c74620019d21fbfc8b60c86bd369996e11ad4bab458df598c3416523090/pyramid_oereb-2.4.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-pypdf
+Requires: python3-filetype
+Requires: python3-geoalchemy2
+Requires: python3-pyramid
+Requires: python3-pyramid-debugtoolbar
+Requires: python3-qrcode
+Requires: python3-image
+Requires: python3-shapely
+Requires: python3-SQLAlchemy
+Requires: python3-pyaml-env
+Requires: python3-urllib3
+Requires: python3-waitress
+Requires: python3-pyreproj
+Requires: python3-mako-render
+Requires: python3-requests
+Requires: python3-geolink-formatter
+Requires: python3-pyconizer
+Requires: python3-c2cwsgiutils[standard]
+Requires: python3-pypdf
+Requires: python3-filetype
+Requires: python3-geoalchemy2
+Requires: python3-pyramid
+Requires: python3-pyramid-debugtoolbar
+Requires: python3-qrcode
+Requires: python3-image
+Requires: python3-shapely
+Requires: python3-SQLAlchemy
+Requires: python3-pyaml-env
+Requires: python3-urllib3
+Requires: python3-waitress
+Requires: python3-pyreproj
+Requires: python3-mako-render
+Requires: python3-requests
+Requires: python3-geolink-formatter
+Requires: python3-pyconizer
+Requires: python3-c2cwsgiutils[standard]
+Requires: python3-jsonschema
+Requires: python3-lxml
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-ordering
+Requires: python3-requests-mock
+Requires: python3-responses
+Requires: python3-webtest
+Requires: python3-pillow
+
+%description
+
+
+%package -n python3-pyramid-oereb
+Summary: pyramid_oereb, extension for pyramid web frame work to provide a basic server part for the oereb project
+Provides: python-pyramid-oereb
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pyramid-oereb
+
+
+%package help
+Summary: Development documents and examples for pyramid-oereb
+Provides: python3-pyramid-oereb-doc
+%description help
+
+
+%prep
+%autosetup -n pyramid-oereb-2.4.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-pyramid-oereb -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.4.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7fdf3cb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7de61b4aa3db7118ae2c3eec3eb36df9 pyramid_oereb-2.4.2.tar.gz