summaryrefslogtreecommitdiff
path: root/python-invenio.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-invenio.spec')
-rw-r--r--python-invenio.spec136
1 files changed, 136 insertions, 0 deletions
diff --git a/python-invenio.spec b/python-invenio.spec
new file mode 100644
index 0000000..91d9a19
--- /dev/null
+++ b/python-invenio.spec
@@ -0,0 +1,136 @@
+%global _empty_manifest_terminate_build 0
+Name: python-invenio
+Version: 3.4.1
+Release: 1
+Summary: Invenio Digital Library Framework.
+License: MIT
+URL: https://github.com/inveniosoftware/invenio
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/e9/bf37c72c3e231ba5dafefb134b0f2cb6fbfc26d7a504047d7277097b6bb8/invenio-3.4.1.tar.gz
+BuildArch: noarch
+
+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-admin
+Requires: python3-invenio-assets
+Requires: python3-invenio-formatter
+Requires: python3-invenio-logging
+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-iiif
+Requires: python3-invenio-previewer
+Requires: python3-invenio-records-files
+Requires: python3-Sphinx
+Requires: python3-pytest-invenio
+Requires: python3-invenio-access
+Requires: python3-invenio-accounts
+Requires: python3-invenio-oauth2server
+Requires: python3-invenio-oauthclient
+Requires: python3-invenio-userprofiles
+Requires: python3-invenio-admin
+Requires: python3-invenio-assets
+Requires: python3-invenio-formatter
+Requires: python3-invenio-logging
+Requires: python3-invenio-mail
+Requires: python3-invenio-rest
+Requires: python3-invenio-theme
+Requires: python3-Sphinx
+Requires: python3-invenio-search[elasticsearch5]
+Requires: python3-invenio-search[elasticsearch6]
+Requires: python3-invenio-search[elasticsearch7]
+Requires: python3-invenio-files-rest
+Requires: python3-invenio-iiif
+Requires: python3-invenio-previewer
+Requires: python3-invenio-records-files
+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-db[mysql,versioning]
+Requires: python3-invenio-db[postgresql,versioning]
+Requires: python3-invenio-db[versioning]
+Requires: python3-pytest-invenio
+
+%description
+
+
+%package -n python3-invenio
+Summary: Invenio Digital Library Framework.
+Provides: python-invenio
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-invenio
+
+
+%package help
+Summary: Development documents and examples for invenio
+Provides: python3-invenio-doc
+%description help
+
+
+%prep
+%autosetup -n invenio-3.4.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 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.4.1-1
+- Package Spec generated