Blame SPECS/nmstate.spec

9b6c93
%?python_enable_dependency_generator
9b6c93
%define srcname nmstate
9b6c93
%define libname libnmstate
9b6c93
9b6c93
Name:           nmstate
1380ab
Version:        0.2.0
1380ab
Release:        2%{?dist}
9b6c93
Summary:        Declarative network manager API
1380ab
License:        LGPLv2+
9b6c93
URL:            https://github.com/%{srcname}/%{srcname}
1380ab
Source0:        %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
1380ab
Source1:        %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
9b6c93
Source2:        gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg
9b6c93
BuildArch:      noarch
9b6c93
BuildRequires:  python3-devel
9b6c93
BuildRequires:  python3-setuptools
9b6c93
BuildRequires:  gnupg2
9b6c93
Requires:       python3-setuptools
9b6c93
Requires:       python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release}
9b6c93
9b6c93
%description
1380ab
Nmstate is a library with an accompanying command line tool that manages host
9b6c93
networking settings in a declarative manner and aimed to satisfy enterprise
9b6c93
needs to manage host networking through a northbound declarative API and multi
9b6c93
provider support on the southbound.
9b6c93
9b6c93
9b6c93
%package -n python3-%{libname}
9b6c93
Summary:        nmstate Python 3 API library
9b6c93
Requires:       NetworkManager-libnm
9b6c93
# Use Recommends for NetworkManager because only access to NM DBus is required,
9b6c93
# but NM could be running on a different host
9b6c93
Recommends:     NetworkManager
1380ab
# Avoid automatically generated profiles
1380ab
Recommends:     NetworkManager-config-server
9b6c93
# Use Suggests for NetworkManager-ovs since it is only required for OVS support
9b6c93
Suggests:       NetworkManager-ovs
9b6c93
9b6c93
9b6c93
%description -n python3-%{libname}
9b6c93
This package contains the Python 3 library for nmstate.
9b6c93
9b6c93
%prep
9b6c93
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
1380ab
%autosetup -p1
9b6c93
9b6c93
%build
9b6c93
%py3_build
9b6c93
9b6c93
%install
9b6c93
%py3_install
9b6c93
9b6c93
%files
9b6c93
%doc README.md
9b6c93
%doc examples/
1380ab
%{_mandir}/man8/nmstatectl.8*
9b6c93
%{python3_sitelib}/nmstatectl
9b6c93
%{_bindir}/nmstatectl
9b6c93
9b6c93
%files -n python3-%{libname}
9b6c93
%license LICENSE
9b6c93
%{python3_sitelib}/%{libname}
9b6c93
%{python3_sitelib}/%{srcname}-*.egg-info/
9b6c93
9b6c93
%changelog
1380ab
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.2.0-2
1380ab
- Fix the incorrect source tarbal.
1380ab
1380ab
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.2.0-1
1380ab
- Upgrade to nmstate 0.2.0
1380ab
1380ab
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.1.1-4
1380ab
- Fix the problem found by CI gating.
1380ab
1380ab
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.1.1-3
1380ab
- Bump dist number as RHEL 8.1.1 took 0.1.1-2.
1380ab
1380ab
* Mon Dec 02 2019 Gris Ge <fge@redhat.com> - 0.1.1-2
1380ab
- Upgrade to nmstate 0.1.1.
1380ab
1380ab
* Tue Sep 10 2019 Gris Ge <fge@redhat.com> - 0.0.8-15
1380ab
- Detach slaves without deleting them: RHBZ #1749632
1380ab
1380ab
* Fri Sep 06 2019 Gris Ge <fge@redhat.com> - 0.0.8-14
1380ab
- Preserve (dynamic) IPv6 address base on MAC address: RHBZ #1748825
1380ab
1380ab
* Fri Sep 06 2019 Gris Ge <fge@redhat.com> - 0.0.8-13
1380ab
- Prioritize master interfaces activaction: RHBZ #1749314
1380ab
1380ab
* Mon Sep 02 2019 Gris Ge <fge@redhat.com> - 0.0.8-12
1380ab
- Fix slave activatoin race: RHBZ #1741440
1380ab
1380ab
* Mon Sep 02 2019 Gris Ge 
1380ab
- Add NetworkManager-config-server dependency: Fix RHBZ #1740085
1380ab
1380ab
* Thu Aug 15 2019 Gris Ge <fge@redhat.com> - 0.0.8-10
1380ab
- Fix RHBZ #1740125
1380ab
1380ab
* Wed Aug 14 2019 Gris Ge <fge@redhat.com> - 0.0.8-9
1380ab
- Fix RHBZ #1741049
1380ab
1380ab
* Wed Aug 14 2019 Gris Ge <fge@redhat.com> - 0.0.8-8
1380ab
- Fix RHBZ #1740584
1380ab
1380ab
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-7
1380ab
- Fix RHBZ #1740554
1380ab
1380ab
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-6
1380ab
- Bump release tag as CNV took the -5.
1380ab
1380ab
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-5
1380ab
- Bump release tag as CNV took the -4.
1380ab
1380ab
* Tue Aug 13 2019 Gris Ge <fge@redhat.com> - 0.0.8-4
1380ab
- Disable reapply on ipv6 to fix bug 1738101.
1380ab
1380ab
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-3
1380ab
- Fix the license to meet Fedora/RHEL guideline.
1380ab
1380ab
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-2
1380ab
- Relicense to LGPL2.1+.
1380ab
1380ab
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-1
1380ab
- Upgrade to 0.0.8.
1380ab
9b6c93
* Fri Jun 14 2019 Gris Ge <fge@redhat.com> - 0.0.7-1
9b6c93
- Upgrade to 0.0.7.
9b6c93
9b6c93
* Mon Apr 22 2019 Gris Ge <fge@redhat.com> - 0.0.5-3
9b6c93
- Add missing runtime dependency.
9b6c93
9b6c93
* Thu Mar 21 2019 Gris Ge <fge@redhat.com> - 0.0.5-2
9b6c93
- Rebuild to enable CI testing.
9b6c93
9b6c93
* Mon Mar 18 2019 Gris Ge <fge@redhat.com> - 0.0.5-1
9b6c93
- Initial release