%global _empty_manifest_terminate_build 0 Name: python-techlib-nr-datasets Version: 1.1.20 Release: 1 Summary: Czech National Repository datasets data model. License: MIT URL: https://pypi.org/project/techlib-nr-datasets/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/b5/945f392147798f3333d261dd755fc7447beea5b376d824ef6356d6bb311c/techlib-nr-datasets-1.1.20.tar.gz BuildArch: noarch Requires: python3-oarepo Requires: python3-oarepo-doi-generator Requires: python3-oarepo-tokens Requires: python3-techlib-nr-datasets-metadata %description # NR-Datasets [![Build Status](https://travis-ci.org/Narodni-repozitar/nr-datasets.svg?branch=master)](https://travis-ci.org/Narodni-repozitar/nr-datasets) [![Coverage Status](https://coveralls.io/repos/github/Narodni-repozitar/nr-datasets/badge.svg?branch=master)](https://coveralls.io/github/Narodni-repozitar/nr-datasets?branch=master) Disclaimer: The library is part of the Czech National Repository, and therefore the README is written in Czech. General libraries extending [Invenio](https://github.com/inveniosoftware) are concentrated under the [Oarepo namespace](https://github.com/oarepo). ## Instalace Nejedná se o samostatně funkční knihovnu, proto potřebuje běžící Invenio a závislosti Oarepo. Knihovna se instaluje ze zdroje. ```bash git clone git@github.com:Narodni-repozitar/nr-datasets.git cd nr-datasets pip install poetry poetry install ``` Pro testování a/nebo samostané fungování knihovny je nutné instalovat tests z extras. ```bash poetry install --extras tests ``` :warning: Pro instalaci se používá Manažer závilostí **Poetry** více infromací lze naleznout v [dokumentaci](https://python-poetry.org/docs/) %package -n python3-techlib-nr-datasets Summary: Czech National Repository datasets data model. Provides: python-techlib-nr-datasets BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-techlib-nr-datasets # NR-Datasets [![Build Status](https://travis-ci.org/Narodni-repozitar/nr-datasets.svg?branch=master)](https://travis-ci.org/Narodni-repozitar/nr-datasets) [![Coverage Status](https://coveralls.io/repos/github/Narodni-repozitar/nr-datasets/badge.svg?branch=master)](https://coveralls.io/github/Narodni-repozitar/nr-datasets?branch=master) Disclaimer: The library is part of the Czech National Repository, and therefore the README is written in Czech. General libraries extending [Invenio](https://github.com/inveniosoftware) are concentrated under the [Oarepo namespace](https://github.com/oarepo). ## Instalace Nejedná se o samostatně funkční knihovnu, proto potřebuje běžící Invenio a závislosti Oarepo. Knihovna se instaluje ze zdroje. ```bash git clone git@github.com:Narodni-repozitar/nr-datasets.git cd nr-datasets pip install poetry poetry install ``` Pro testování a/nebo samostané fungování knihovny je nutné instalovat tests z extras. ```bash poetry install --extras tests ``` :warning: Pro instalaci se používá Manažer závilostí **Poetry** více infromací lze naleznout v [dokumentaci](https://python-poetry.org/docs/) %package help Summary: Development documents and examples for techlib-nr-datasets Provides: python3-techlib-nr-datasets-doc %description help # NR-Datasets [![Build Status](https://travis-ci.org/Narodni-repozitar/nr-datasets.svg?branch=master)](https://travis-ci.org/Narodni-repozitar/nr-datasets) [![Coverage Status](https://coveralls.io/repos/github/Narodni-repozitar/nr-datasets/badge.svg?branch=master)](https://coveralls.io/github/Narodni-repozitar/nr-datasets?branch=master) Disclaimer: The library is part of the Czech National Repository, and therefore the README is written in Czech. General libraries extending [Invenio](https://github.com/inveniosoftware) are concentrated under the [Oarepo namespace](https://github.com/oarepo). ## Instalace Nejedná se o samostatně funkční knihovnu, proto potřebuje běžící Invenio a závislosti Oarepo. Knihovna se instaluje ze zdroje. ```bash git clone git@github.com:Narodni-repozitar/nr-datasets.git cd nr-datasets pip install poetry poetry install ``` Pro testování a/nebo samostané fungování knihovny je nutné instalovat tests z extras. ```bash poetry install --extras tests ``` :warning: Pro instalaci se používá Manažer závilostí **Poetry** více infromací lze naleznout v [dokumentaci](https://python-poetry.org/docs/) %prep %autosetup -n techlib-nr-datasets-1.1.20 %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-techlib-nr-datasets -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 1.1.20-1 - Package Spec generated