summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 02:30:09 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 02:30:09 +0000
commit33c23fe3c1fb73a2bdb57aae79c90bb6569d470e (patch)
treecf121b88bf9ec788496cae01e09a9dfb3325c492
parentf7692d749433f0fa6a5e242f5b3f901ff82df209 (diff)
automatic import of python-invenio-pidstore
-rw-r--r--.gitignore1
-rw-r--r--python-invenio-pidstore.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..58d6ea2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/invenio-pidstore-1.3.1.tar.gz
diff --git a/python-invenio-pidstore.spec b/python-invenio-pidstore.spec
new file mode 100644
index 0000000..79c68c6
--- /dev/null
+++ b/python-invenio-pidstore.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-invenio-pidstore
+Version: 1.3.1
+Release: 1
+Summary: "Invenio module that stores and registers persistent identifiers."
+License: MIT
+URL: https://github.com/inveniosoftware/invenio-pidstore
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/39/0f/39c0dcb09935165238b75ea9b072bcf9da3d2190df8f34708781964e2f24/invenio-pidstore-1.3.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-base32-lib
+Requires: python3-importlib-metadata
+Requires: python3-importlib-resources
+Requires: python3-invenio-base
+Requires: python3-invenio-i18n
+Requires: python3-pytest-black
+Requires: python3-Flask-Menu
+Requires: python3-invenio-admin
+Requires: python3-invenio-access
+Requires: python3-invenio-accounts
+Requires: python3-mock
+Requires: python3-pytest-invenio
+Requires: python3-SQLAlchemy-Continuum
+Requires: python3-datacite
+Requires: python3-Sphinx
+Requires: python3-invenio-db[mysql,postgresql,versioning]
+
+%description
+
+
+%package -n python3-invenio-pidstore
+Summary: "Invenio module that stores and registers persistent identifiers."
+Provides: python-invenio-pidstore
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-invenio-pidstore
+
+
+%package help
+Summary: Development documents and examples for invenio-pidstore
+Provides: python3-invenio-pidstore-doc
+%description help
+
+
+%prep
+%autosetup -n invenio-pidstore-1.3.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-invenio-pidstore -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..86fbde7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+67cd4ea32a6a118ef6522748d3500f84 invenio-pidstore-1.3.1.tar.gz