summaryrefslogtreecommitdiff
path: root/python-invenio-app-rdm.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 05:42:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 05:42:55 +0000
commita5d201f9c1958dcec2edb2be5c643c0323bad75d (patch)
treea4ef00f7bc04a78f424c4cba759e75a75ea76a2c /python-invenio-app-rdm.spec
parent33b7b6a290244830ef89e35aa1ed285a54cb0fa0 (diff)
automatic import of python-invenio-app-rdmopeneuler20.03
Diffstat (limited to 'python-invenio-app-rdm.spec')
-rw-r--r--python-invenio-app-rdm.spec116
1 files changed, 116 insertions, 0 deletions
diff --git a/python-invenio-app-rdm.spec b/python-invenio-app-rdm.spec
new file mode 100644
index 0000000..0ad322f
--- /dev/null
+++ b/python-invenio-app-rdm.spec
@@ -0,0 +1,116 @@
+%global _empty_manifest_terminate_build 0
+Name: python-invenio-app-rdm
+Version: 11.0.2
+Release: 1
+Summary: Invenio Research Data Management.
+License: MIT
+URL: https://github.com/inveniosoftware/invenio-app-rdm
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dc/4e/435cba68bf036019a04380f0d0162b34cdbcd22c37e93cb40779ca65a928/invenio-app-rdm-11.0.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-babel
+Requires: python3-flask-babel
+Requires: python3-flask-security-invenio
+Requires: python3-invenio-app
+Requires: python3-invenio-base
+Requires: python3-invenio-cache
+Requires: python3-invenio-celery
+Requires: python3-invenio-config
+Requires: python3-invenio-i18n
+Requires: python3-invenio-db[mysql,postgresql]
+Requires: python3-invenio-admin
+Requires: python3-invenio-assets
+Requires: python3-invenio-formatter
+Requires: python3-invenio-logging[sentry-sdk]
+Requires: python3-invenio-mail
+Requires: python3-invenio-rest
+Requires: python3-invenio-theme
+Requires: python3-invenio-access
+Requires: python3-invenio-accounts
+Requires: python3-invenio-oauth2server
+Requires: python3-invenio-oauthclient
+Requires: python3-invenio-userprofiles
+Requires: python3-invenio-indexer
+Requires: python3-invenio-jsonschemas
+Requires: python3-invenio-oaiserver
+Requires: python3-invenio-pidstore
+Requires: python3-invenio-records-rest
+Requires: python3-invenio-records-ui
+Requires: python3-invenio-records
+Requires: python3-invenio-search-ui
+Requires: python3-invenio-files-rest
+Requires: python3-invenio-previewer
+Requires: python3-invenio-records-files
+Requires: python3-invenio-rdm-records
+Requires: python3-CairoSVG
+Requires: python3-invenio-pages
+Requires: python3-Flask
+Requires: python3-invenio-search[elasticsearch7]
+Requires: python3-invenio-search[opensearch1]
+Requires: python3-invenio-search[opensearch2]
+Requires: python3-invenio-s3
+Requires: python3-pytest-black
+Requires: python3-pytest-invenio
+Requires: python3-Sphinx
+
+%description
+
+
+%package -n python3-invenio-app-rdm
+Summary: Invenio Research Data Management.
+Provides: python-invenio-app-rdm
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-invenio-app-rdm
+
+
+%package help
+Summary: Development documents and examples for invenio-app-rdm
+Provides: python3-invenio-app-rdm-doc
+%description help
+
+
+%prep
+%autosetup -n invenio-app-rdm-11.0.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-invenio-app-rdm -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 11.0.2-1
+- Package Spec generated