summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 05:01:18 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 05:01:18 +0000
commit54d38a3c969a427d090cfdbae7e2149849231b68 (patch)
tree4ec33e6b2d957fb6e05d2ce8dce758317ca6e6fe
parent597d7d5fe432bf0baf11728a4b1b24d8383ecada (diff)
automatic import of python-invenio-pidrelations
-rw-r--r--.gitignore1
-rw-r--r--python-invenio-pidrelations.spec91
-rw-r--r--sources1
3 files changed, 93 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..fdd80cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/invenio-pidrelations-0.1.0.tar.gz
diff --git a/python-invenio-pidrelations.spec b/python-invenio-pidrelations.spec
new file mode 100644
index 0000000..f01a65c
--- /dev/null
+++ b/python-invenio-pidrelations.spec
@@ -0,0 +1,91 @@
+%global _empty_manifest_terminate_build 0
+Name: python-invenio-pidrelations
+Version: 0.1.0
+Release: 1
+Summary: Invenio module that adds PID relations to the Invenio-PIDStore module.
+License: MIT
+URL: https://github.com/inveniosoftware/invenio-pidrelations
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/75/9f/d7a40814cf33550b5e1b10220b0696c95e935e5d5d6c3018877e090954d9/invenio-pidrelations-0.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-invenio-base
+Requires: python3-invenio-i18n
+Requires: python3-invenio-pidstore
+Requires: python3-marshmallow
+Requires: python3-Sphinx
+Requires: python3-pytest-invenio
+Requires: python3-invenio-records
+Requires: python3-invenio-records-ui
+Requires: python3-invenio-indexer
+Requires: python3-Sphinx
+Requires: python3-invenio-search[elasticsearch6]
+Requires: python3-invenio-search[elasticsearch7]
+Requires: python3-invenio-indexer
+Requires: python3-invenio-db[mysql,versioning]
+Requires: python3-invenio-db[postgresql,versioning]
+Requires: python3-invenio-records
+Requires: python3-invenio-records-ui
+Requires: python3-invenio-db[versioning]
+Requires: python3-pytest-invenio
+
+%description
+
+
+%package -n python3-invenio-pidrelations
+Summary: Invenio module that adds PID relations to the Invenio-PIDStore module.
+Provides: python-invenio-pidrelations
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-invenio-pidrelations
+
+
+%package help
+Summary: Development documents and examples for invenio-pidrelations
+Provides: python3-invenio-pidrelations-doc
+%description help
+
+
+%prep
+%autosetup -n invenio-pidrelations-0.1.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-pidrelations -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..dc83df7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+4eb352e2c4472b4dee9942edaef6134d invenio-pidrelations-0.1.0.tar.gz