From ea5a8c24ed40b1fd6d0f167a591189db0c28c463 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 09:17:09 +0000 Subject: automatic import of python-nornir-nautobot --- python-nornir-nautobot.spec | 176 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 python-nornir-nautobot.spec (limited to 'python-nornir-nautobot.spec') diff --git a/python-nornir-nautobot.spec b/python-nornir-nautobot.spec new file mode 100644 index 0000000..c71ff83 --- /dev/null +++ b/python-nornir-nautobot.spec @@ -0,0 +1,176 @@ +%global _empty_manifest_terminate_build 0 +Name: python-nornir-nautobot +Version: 2.3.0 +Release: 1 +Summary: Nornir Nautobot +License: Apache-2.0 +URL: https://nautobot.com +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/20/75/2a653fbb472047d67eb42f3cb8583daf07a423c62d61b1e2ee0070d4a206/nornir_nautobot-2.3.0.tar.gz +BuildArch: noarch + +Requires: python3-netutils +Requires: python3-nornir +Requires: python3-nornir-jinja2 +Requires: python3-nornir-napalm +Requires: python3-nornir-netmiko +Requires: python3-nornir-utils +Requires: python3-pynautobot +Requires: python3-requests + +%description +# nornir_nautobot + +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) + +## Build Status + +| Branch | Status | +| ------- | ------------------------------------------------------------------------------------------------------------------------------------ | +| develop | [![CI](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg)](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml) | +## Overview + +The nornir_nautobot project intends to solve two primary use cases. + +* Providing a Nornir inventory that leverages Nautobot's API. +* A set of opinionated Nornir plugins. + +The set of plugins intend to provide mechanisms to include common networking workflows that will help enable network automation. As an example, there are method to get configurations or test network connectivity. Over time this will include functions to perform actions such as get vlans, neighbors, protocols, etc. + +## Getting Started + +```shell +pip install nornir-nautobot +``` + +## Documentation Link + +The documentation can be found on [Read the Docs](https://nornir-nautobot.readthedocs.io/en/latest/) + +## Nautobot + +Nautobot documentation is available at [Nautobot Read the Docs](https://nautobot.readthedocs.io/en/latest/) + + + +%package -n python3-nornir-nautobot +Summary: Nornir Nautobot +Provides: python-nornir-nautobot +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-nornir-nautobot +# nornir_nautobot + +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) + +## Build Status + +| Branch | Status | +| ------- | ------------------------------------------------------------------------------------------------------------------------------------ | +| develop | [![CI](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg)](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml) | +## Overview + +The nornir_nautobot project intends to solve two primary use cases. + +* Providing a Nornir inventory that leverages Nautobot's API. +* A set of opinionated Nornir plugins. + +The set of plugins intend to provide mechanisms to include common networking workflows that will help enable network automation. As an example, there are method to get configurations or test network connectivity. Over time this will include functions to perform actions such as get vlans, neighbors, protocols, etc. + +## Getting Started + +```shell +pip install nornir-nautobot +``` + +## Documentation Link + +The documentation can be found on [Read the Docs](https://nornir-nautobot.readthedocs.io/en/latest/) + +## Nautobot + +Nautobot documentation is available at [Nautobot Read the Docs](https://nautobot.readthedocs.io/en/latest/) + + + +%package help +Summary: Development documents and examples for nornir-nautobot +Provides: python3-nornir-nautobot-doc +%description help +# nornir_nautobot + +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) + +## Build Status + +| Branch | Status | +| ------- | ------------------------------------------------------------------------------------------------------------------------------------ | +| develop | [![CI](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg)](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml) | +## Overview + +The nornir_nautobot project intends to solve two primary use cases. + +* Providing a Nornir inventory that leverages Nautobot's API. +* A set of opinionated Nornir plugins. + +The set of plugins intend to provide mechanisms to include common networking workflows that will help enable network automation. As an example, there are method to get configurations or test network connectivity. Over time this will include functions to perform actions such as get vlans, neighbors, protocols, etc. + +## Getting Started + +```shell +pip install nornir-nautobot +``` + +## Documentation Link + +The documentation can be found on [Read the Docs](https://nornir-nautobot.readthedocs.io/en/latest/) + +## Nautobot + +Nautobot documentation is available at [Nautobot Read the Docs](https://nautobot.readthedocs.io/en/latest/) + + + +%prep +%autosetup -n nornir-nautobot-2.3.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-nornir-nautobot -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 2.3.0-1 +- Package Spec generated -- cgit v1.2.3