import nmstate-0.0.7-1.el8
This commit is contained in:
commit
961a8f8275
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
SOURCES/gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg
|
||||
SOURCES/nmstate-0.0.7.tar.gz
|
2
.nmstate.metadata
Normal file
2
.nmstate.metadata
Normal file
@ -0,0 +1,2 @@
|
||||
7bcc63976a8d449b3adc57f40d7a476106889042 SOURCES/gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg
|
||||
9fc5fde43a699703dbe062ed6ee817ddadc7d460 SOURCES/nmstate-0.0.7.tar.gz
|
17
SOURCES/nmstate-0.0.7.tar.gz.asc
Normal file
17
SOURCES/nmstate-0.0.7.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAABAgAGBQJdAoq0AAoJEImQFMBGPBK7XOIP/0QpmcjN28iE9hamIc4S54dy
|
||||
Vas/YBkHnWIWiYyuGN3Dwo3lb83a1QlPj3rbLkFcxUcNTQ253NQq9Vj1slRhXZ8U
|
||||
9qc+TXKgXHQfT4HOb3chBJAoR8lC7kEK94eP2KsTeEUAvdF++jUyPX39FGnGeptp
|
||||
05Y47ZHcNyCzbVECsAe3qq39MMBhjrvSKRL97wSW9kjNKntXQFrKxz5rqK3P+SMj
|
||||
UsQALi/eLLvgih8j9cb6B45onTikRHEiV0ZOoa8NlSb91poHF+0jymEWcEBOjxIh
|
||||
C10TtyxQl/JJxCAGHJtCj2s7zlYc0jZWmQWJeB88CyhRPLopQcND7o2+WSXBX9ul
|
||||
UMFeQn0IA496nTQPh5iauaXEFjpviYVrvO5wVft0QhB9769DMGPTe3r+CRr1Zmud
|
||||
0Nc48yV5d/HPYVF6f3us7AptElrabMT6K/juRS30ep8CBjcqOg/KWkJHRv4ei23V
|
||||
Ya4BRwqnoMPZH4Lx2+9BFbjFked2cOgjcNj6zZqgIO76XBff2QloOfC2BEdV3hL/
|
||||
XILEhK509dBUUM2V7cANNt36QTrQSqOWu0AiXmuO+LPG0kChBziwSrCg3L2O0bJ0
|
||||
46Db2ViZrjEzq0fwxGQm1zZQ6ba2MlE6wS2MZLEs+9a1eBIzeywguuGv/spbpBx+
|
||||
EUmWy89h0bRtnrIuJobZ
|
||||
=MO9p
|
||||
-----END PGP SIGNATURE-----
|
73
SPECS/nmstate.spec
Normal file
73
SPECS/nmstate.spec
Normal file
@ -0,0 +1,73 @@
|
||||
%?python_enable_dependency_generator
|
||||
%define srcname nmstate
|
||||
%define libname libnmstate
|
||||
|
||||
Name: nmstate
|
||||
Version: 0.0.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Declarative network manager API
|
||||
License: GPLv2+
|
||||
URL: https://github.com/%{srcname}/%{srcname}
|
||||
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||
Source1: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz.asc
|
||||
Source2: gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: gnupg2
|
||||
Requires: python3-setuptools
|
||||
Requires: python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
NMState is a library with an accompanying command line tool that manages host
|
||||
networking settings in a declarative manner and aimed to satisfy enterprise
|
||||
needs to manage host networking through a northbound declarative API and multi
|
||||
provider support on the southbound.
|
||||
|
||||
|
||||
%package -n python3-%{libname}
|
||||
Summary: nmstate Python 3 API library
|
||||
Requires: NetworkManager-libnm
|
||||
# Use Recommends for NetworkManager because only access to NM DBus is required,
|
||||
# but NM could be running on a different host
|
||||
Recommends: NetworkManager
|
||||
# Use Suggests for NetworkManager-ovs since it is only required for OVS support
|
||||
Suggests: NetworkManager-ovs
|
||||
|
||||
|
||||
%description -n python3-%{libname}
|
||||
This package contains the Python 3 library for nmstate.
|
||||
|
||||
%prep
|
||||
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%doc examples/
|
||||
%{python3_sitelib}/nmstatectl
|
||||
%{_bindir}/nmstatectl
|
||||
|
||||
%files -n python3-%{libname}
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/%{libname}
|
||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Fri Jun 14 2019 Gris Ge <fge@redhat.com> - 0.0.7-1
|
||||
- Upgrade to 0.0.7.
|
||||
|
||||
* Mon Apr 22 2019 Gris Ge <fge@redhat.com> - 0.0.5-3
|
||||
- Add missing runtime dependency.
|
||||
|
||||
* Thu Mar 21 2019 Gris Ge <fge@redhat.com> - 0.0.5-2
|
||||
- Rebuild to enable CI testing.
|
||||
|
||||
* Mon Mar 18 2019 Gris Ge <fge@redhat.com> - 0.0.5-1
|
||||
- Initial release
|
Loading…
Reference in New Issue
Block a user