summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 04:42:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 04:42:28 +0000
commit489f5c28499ce05daf74990bbe3d754d185f5a19 (patch)
tree0b48ee827cb10edfed2db6f71336fbec6256679f
parent2c9ecc8d7adc0930ac696d4034dde25d3e9eb3c0 (diff)
automatic import of python-invenio-oaiserveropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-invenio-oaiserver.spec92
-rw-r--r--sources1
3 files changed, 94 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ae891a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/invenio-oaiserver-2.2.0.tar.gz
diff --git a/python-invenio-oaiserver.spec b/python-invenio-oaiserver.spec
new file mode 100644
index 0000000..7710eb2
--- /dev/null
+++ b/python-invenio-oaiserver.spec
@@ -0,0 +1,92 @@
+%global _empty_manifest_terminate_build 0
+Name: python-invenio-oaiserver
+Version: 2.2.0
+Release: 1
+Summary: "Invenio module that implements OAI-PMH server."
+License: MIT
+URL: https://github.com/inveniosoftware/invenio-oaiserver
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8f/6e/a238506002a4f3c3f2f642c5f713f23190ea5c900ee35116f7e8b7b79144/invenio-oaiserver-2.2.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-arrow
+Requires: python3-dojson
+Requires: python3-invenio-base
+Requires: python3-invenio-i18n
+Requires: python3-invenio-pidstore
+Requires: python3-invenio-records
+Requires: python3-invenio-rest
+Requires: python3-lxml
+Requires: python3-invenio-search[elasticsearch7]
+Requires: python3-invenio-search[opensearch1]
+Requires: python3-invenio-search[opensearch2]
+Requires: python3-pytest-black
+Requires: python3-invenio-indexer
+Requires: python3-invenio-jsonschemas
+Requires: python3-mock
+Requires: python3-pytest-invenio
+Requires: python3-invenio-admin
+Requires: python3-invenio-celery
+Requires: python3-Sphinx
+Requires: python3-invenio-db[mysql,postgresql,versioning]
+
+%description
+
+
+%package -n python3-invenio-oaiserver
+Summary: "Invenio module that implements OAI-PMH server."
+Provides: python-invenio-oaiserver
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-invenio-oaiserver
+
+
+%package help
+Summary: Development documents and examples for invenio-oaiserver
+Provides: python3-invenio-oaiserver-doc
+%description help
+
+
+%prep
+%autosetup -n invenio-oaiserver-2.2.0
+
+%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-invenio-oaiserver -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6e4dd4d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+70659fd60cc90e1ffd69ef8af369286d invenio-oaiserver-2.2.0.tar.gz